reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/IR/PatternMatch.h
 1449     Value *TrueVal = SI->getTrueValue();
lib/Analysis/CFLGraph.h
  338       auto *TrueVal = Inst.getTrueValue();
lib/Analysis/IVDescriptors.cpp
  530   Value *TrueVal = SI->getTrueValue();
lib/Analysis/InlineCost.cpp
 1355   Value *TrueVal = SI.getTrueValue();
lib/Analysis/InstructionSimplify.cpp
  348     TV = SimplifyBinOp(Opcode, SI->getTrueValue(), RHS, Q, MaxRecurse);
  351     TV = SimplifyBinOp(Opcode, LHS, SI->getTrueValue(), Q, MaxRecurse);
  368   if (TV == SI->getTrueValue() && FV == SI->getFalseValue())
  382       Value *UnsimplifiedBranch = FV ? SI->getTrueValue() : SI->getFalseValue();
  416   Value *TV = SI->getTrueValue();
lib/Analysis/LazyValueInfo.cpp
  858   if (!hasBlockValue(SI->getTrueValue(), BB)) {
  859     if (pushBlockValue(std::make_pair(BB, SI->getTrueValue())))
  864   ValueLatticeElement TrueVal = getBlockValue(SI->getTrueValue(), BB);
  895         LHS == SI->getTrueValue() && RHS == SI->getFalseValue()) {
  915       if (LHS == SI->getTrueValue()) {
  927       if (LHS == SI->getTrueValue()) {
  943                       getValueFromCondition(SI->getTrueValue(), Cond, true));
  978         if (match(SI->getTrueValue(), m_Add(m_Specific(A),
lib/Analysis/MemoryBuiltins.cpp
  786   SizeOffsetType TrueSide  = compute(I.getTrueValue());
 1032   SizeOffsetEvalType TrueSide  = compute_(I.getTrueValue());
lib/Analysis/ScalarEvolution.cpp
 4356           Result = SE.getSCEV(IsOne ? SI->getTrueValue() : SI->getFalseValue());
lib/Analysis/ValueTracking.cpp
 5063   Value *TrueVal = SI->getTrueValue();
lib/CodeGen/CodeGenPrepare.cpp
 3391         auto *TrueValue = CurrentSelect->getTrueValue();
 3442         Worklist.push_back(CurrentSelect->getTrueValue());
 4704       worklist.push_back(SI->getTrueValue());
 5871   if (sinkSelectOperand(TTI, SI->getTrueValue()) ||
 5891     V = (isTrue ? DefSI->getTrueValue() : DefSI->getFalseValue());
 6021     if (sinkSelectOperand(TTI, SI->getTrueValue())) {
 6028       auto *TrueInst = cast<Instruction>(SI->getTrueValue());
lib/IR/Verifier.cpp
 2526   Assert(SI.getTrueValue()->getType() == SI.getType(),
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
  675   Value *TrueV = SelI->getTrueValue();
  790   Value *TrueV = SelI->getTrueValue();
 1635         Value *X = Sel->getTrueValue(), *Y = Sel->getFalseValue();
 1644         Value *Y = Sel->getTrueValue(), *Z = Sel->getFalseValue();
 1660       if (SelectInst *Sel0 = dyn_cast<SelectInst>(Sel->getTrueValue())) {
 1662           return B.CreateSelect(C, Sel0->getTrueValue(), Sel->getFalseValue());
 1666           return B.CreateSelect(C, Sel->getTrueValue(), Sel1->getFalseValue());
lib/Transforms/IPO/Attributor.cpp
  210       Worklist.push_back(SI->getTrueValue());
lib/Transforms/IPO/CalledValuePropagation.cpp
  305     auto RegT = CVPLatticeKey(I.getTrueValue(), IPOGrouping::Register);
lib/Transforms/IPO/FunctionAttrs.cpp
  890         FlowsToReturn.insert(SI->getTrueValue());
 1003       FlowsToReturn.insert(SI->getTrueValue());
lib/Transforms/InstCombine/InstCombineAddSub.cpp
 1356       Value *TV = SI->getTrueValue();
lib/Transforms/InstCombine/InstCombineCasts.cpp
  429     return canEvaluateTruncated(SI->getTrueValue(), Ty, IC, CxtI) &&
lib/Transforms/InstCombine/InstCombineCompares.cpp
 2637   Value *EqualVal = SI->getTrueValue();
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
  770       Worklist.push_back(SI->getTrueValue());
lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
  585   if (match(SI->getTrueValue(), m_Zero()))
lib/Transforms/InstCombine/InstCombineSelect.cpp
  126   if (!match(Sel.getTrueValue(), m_APInt(SelTC)) ||
  898   Value *TrueVal = Sel.getTrueValue();
 1012   if (Sel.getTrueValue() == LHS && Sel.getFalseValue() == RHS)
 1016   assert(Sel.getTrueValue() == RHS && Sel.getFalseValue() == LHS &&
 1043   Value *TVal = Sel.getTrueValue();
 1143   Value *TrueVal = Sel.getTrueValue(), *FalseVal = Sel.getFalseValue();
 1180   Value *X = Sel0.getTrueValue();
 1407   Value *TrueVal = SI.getTrueValue();
 1609                              SI->getTrueValue(), SI->getName(), SI);
 1668   Value *TrueVal = SI.getTrueValue();
 1737   if (!match(Sel.getTrueValue(), m_Constant(C)) &&
 1742   if (!match(Sel.getTrueValue(), m_Instruction(ExtInst)) &&
 1779     if (ExtInst == Sel.getTrueValue()) {
 1830   return new ShuffleVectorInst(SI.getTrueValue(), SI.getFalseValue(),
 1864   Value *TVal = Sel.getTrueValue();
 1947         if (Select->getFalseValue() == SI.getTrueValue() ||
 1948             Select->getTrueValue() == SI.getFalseValue())
 1959   if (auto *X = isExtractFromCmpXchg(SI.getTrueValue(), 0))
 1969     if (X == CmpXchg && X->getCompareOperand() == SI.getTrueValue()) {
 2146   Value *TVal = Sel.getTrueValue();
 2192   Value *TrueVal = SI.getTrueValue();
 2485             if (X == SI.getFalseValue() && Y == SI.getTrueValue())
 2535         if (SI.getTrueValue() == TrueSI->getTrueValue())
 2535         if (SI.getTrueValue() == TrueSI->getTrueValue())
 2537         SI.setOperand(1, TrueSI->getTrueValue());
 2546         SI.setOperand(1, TrueSI->getTrueValue());
 2561       if (FalseSI->getTrueValue() == TrueVal && FalseSI->hasOneUse()) {
 2591         TrueBO->setOperand(0, TrueBOSI->getTrueValue());
 2598         TrueBO->setOperand(1, TrueBOSI->getTrueValue());
lib/Transforms/InstCombine/InstCombineShifts.cpp
  448     Value *TrueVal = SI->getTrueValue();
lib/Transforms/InstCombine/InstructionCombining.cpp
  862   Value *TV = SI->getTrueValue();
  999     Value *TrueV = SI->getTrueValue();
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
 1461   Value *TrueShadow = DFSF.getShadow(I.getTrueValue());
lib/Transforms/Instrumentation/MemorySanitizer.cpp
 3509     Value *C = I.getTrueValue();
 3552                                IRB.CreateSelect(B, getOrigin(I.getTrueValue()),
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
  135   Value *ReplaceWith = S->getTrueValue();
  235             V = SI->getTrueValue();
  256         V = SI->getTrueValue();
lib/Transforms/Scalar/JumpThreading.cpp
  914     Constant *TrueVal = getKnownConstant(SI->getTrueValue(), Preference);
 2445   SIUse->addIncoming(SI->getTrueValue(), NewBB);
 2612     NewPN->addIncoming(SI->getTrueValue(), Term->getParent());
lib/Transforms/Scalar/LoopUnswitch.cpp
  616     if (isa<UndefValue>(SI.getTrueValue()) ||
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
  829         visitIncomingValue(SI->getTrueValue());
  886         NewState = meetBDVState(NewState, getStateForInput(SI->getTrueValue()));
 1084       BaseSI->setTrueValue(getBaseForInput(SI->getTrueValue(), BaseSI));
lib/Transforms/Scalar/SCCP.cpp
  952     Value *OpVal = CondCB->isZero() ? I.getFalseValue() : I.getTrueValue();
  960   LatticeVal TVal = getValueState(I.getTrueValue());
lib/Transforms/Scalar/SROA.cpp
 1331   Value *TValue = SI.getTrueValue();
 1358   Value *TV = SI.getTrueValue();
 3180     assert((SI.getTrueValue() == OldPtr || SI.getFalseValue() == OldPtr) &&
lib/Transforms/Utils/SimplifyCFG.cpp
 3523   ConstantInt *TrueVal = dyn_cast<ConstantInt>(Select->getTrueValue());
 3559   BlockAddress *TBA = dyn_cast<BlockAddress>(SI->getTrueValue());
 4651       return LookupConstant(Select->getTrueValue(), ConstantPool);
lib/Transforms/Utils/SimplifyLibCalls.cpp
  714     uint64_t LenTrue = GetStringLength(SI->getTrueValue(), CharSize);
lib/Transforms/Vectorize/LoadStoreVectorizer.cpp
  495              areConsecutivePointers(SelectA->getTrueValue(),
  496                                     SelectB->getTrueValue(), PtrDelta, Depth) &&
lib/Transforms/Vectorize/LoopVectorize.cpp
 3337                               ShrinkOperand(SI->getTrueValue()),
lib/Transforms/Vectorize/SLPVectorizer.cpp
 5027     if (!collectValuesToDemote(SI->getTrueValue(), Expr, ToDemote, Roots) ||
 6180         LHS = Select->getTrueValue();