Searched refs:getCondition (Results 26 - 50 of 121) sorted by relevance

12345

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCloneFunction.cpp385 ConstantInt *Cond = dyn_cast<ConstantInt>(BI->getCondition());
388 Value *V = VMap.lookup(BI->getCondition());
402 ConstantInt *Cond = dyn_cast<ConstantInt>(SI->getCondition());
404 Value *V = VMap.lookup(SI->getCondition());
H A DEvaluator.cpp614 dyn_cast<ConstantInt>(getVal(BI->getCondition()));
621 dyn_cast<ConstantInt>(getVal(SI->getCondition()));
H A DLoopRotationUtils.cpp517 if (!isa<ConstantInt>(PHBI->getCondition()) ||
518 PHBI->getSuccessor(cast<ConstantInt>(PHBI->getCondition())->isZero()) !=
H A DLowerSwitch.cpp439 Value *Val = SI->getCondition(); // The value we are switching on...
585 Val = SI->getCondition();
H A DBasicBlockUtils.cpp1106 return Pred1Br->getCondition();
1128 return BI->getCondition();
1186 auto Condition = Branch->isConditional() ? Branch->getCondition() : nullptr;
H A DLoopSimplify.cpp544 if (UndefValue *Cond = dyn_cast<UndefValue>(BI->getCondition())) {
656 CmpInst *CI = dyn_cast<CmpInst>(BI->getCondition());
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-diff/
H A DDifferenceEngine.cpp296 if (!equivalentAsOperands(LI->getCondition(), RI->getCondition())) {
328 if (!equivalentAsOperands(LI->getCondition(), RI->getCondition())) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DBranchProbabilityInfo.cpp484 Value *Cond = BI->getCondition();
578 CmpInst *CI = dyn_cast<CmpInst>(BI->getCondition());
749 Value *Cond = BI->getCondition();
867 Value *Cond = BI->getCondition();
H A DMustExecute.cpp129 if (auto *Cond = dyn_cast<ConstantInt>(BI->getCondition()))
131 auto *Cond = dyn_cast<CmpInst>(BI->getCondition());
H A DInlineCost.cpp1728 return BI.isUnconditional() || isa<ConstantInt>(BI.getCondition()) ||
1730 SimplifiedValues.lookup(BI.getCondition()));
1745 dyn_cast_or_null<Constant>(SimplifiedValues.lookup(SI.getCondition()));
1813 if (isa<ConstantInt>(SI.getCondition()))
1815 if (Value *V = SimplifiedValues.lookup(SI.getCondition()))
2170 Value *Cond = BI->getCondition();
2181 Value *Cond = SI->getCondition();
H A DLoopInfo.cpp176 return dyn_cast<ICmpInst>(BI->getCondition());
237 ICmpInst *LatchCmpInst = dyn_cast<ICmpInst>(BI->getCondition());
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp915 ComputeValueKnownInPredecessorsImpl(SI->getCondition(), BB, Conds,
1018 Condition = BI->getCondition();
1020 Condition = SI->getCondition();
1195 Value *Cond = BI->getCondition();
1211 isImpliedCondition(PBI->getCondition(), Cond, DL, CondIsTrue);
2657 BranchInst::Create(NewBB, BB, SI->getCondition(), Pred);
2674 PHINode *CondPHI = dyn_cast<PHINode>(SI->getCondition());
2799 Value *Cond = SI->getCondition();
2828 SplitBlockAndInsertIfThen(SI->getCondition(), SI, false);
2911 Value *BranchCond = BI->getCondition();
[all...]
H A DLoopSimplifyCFG.cpp67 ConstantInt *Cond = dyn_cast<ConstantInt>(BI->getCondition());
74 auto *CI = dyn_cast<ConstantInt>(SI->getCondition());
H A DLoopFuse.cpp1074 dyn_cast<Instruction>(FC0.GuardBranch->getCondition()))
1076 dyn_cast<Instruction>(FC1.GuardBranch->getCondition()))
1098 llvm::ConstantInt::getTrue(FCLatchBranch->getCondition()->getType()));
H A DCallSiteSplitting.cpp138 Value *Cond = BI->getCondition();
H A DLoopIdiomRecognize.cpp1220 ICmpInst *Cond = dyn_cast<ICmpInst>(BI->getCondition());
1746 ICmpInst *LbCond = cast<ICmpInst>(LbBr->getCondition());
1816 ICmpInst *PreCond = cast<ICmpInst>(PreCondBr->getCondition());
1853 ICmpInst *LbCond = cast<ICmpInst>(LbBr->getCondition());
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DSwitchLoweringUtils.cpp254 Clusters[Last].High->getValue(), SI->getCondition(),
453 SI->getCondition(), -1U, MVT::Other, false,
H A DTypePromotion.cpp268 return LessThanTypeSize(Switch->getCondition());
594 if (Instruction *Trunc = InsertTrunc(Switch->getCondition(), Ty)) {
688 TruncTysMap[I].push_back(Switch->getCondition()->getType());
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DSafepointIRVerifier.cpp144 if (!BI || !BI->isConditional() || !isa<Constant>(BI->getCondition()))
151 ConstantInt *Cond = dyn_cast<ConstantInt>(BI->getCondition());
/freebsd-13-stable/contrib/llvm-project/clang/utils/TableGen/
H A DASTTableGen.h406 llvm::StringRef getCondition() const { function in class:clang::tblgen::Property
H A DClangASTPropertiesEmitter.cpp508 property.getCondition());
562 property.getReadCode(), property.getCondition());
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp676 Value *CondV = SelI->getCondition();
791 Value *CondV = SelI->getCondition();
1639 return B.CreateSelect(Sel->getCondition(),
1647 return B.CreateSelect(Sel->getCondition(),
1661 Value *C = Sel->getCondition();
1663 if (Sel0->getCondition() == C)
1667 if (Sel1->getCondition() == C)
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp536 return SelectA->getCondition() == SelectB->getCondition() &&
774 return Sel->getCondition();
H A DLoopVectorizationLegality.cpp325 auto *LatchCmp = dyn_cast<CmpInst>(LatchBr->getCondition());
454 !TheLoop->isLoopInvariant(Br->getCondition()) &&
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp922 if (auto *CI = dyn_cast<CmpInst>(SI->getCondition())) {
956 return SelectInst::Create(SI->getCondition(), NewTV, NewFV, "", nullptr, SI);
2781 if (!isa<ConstantInt>(BI.getCondition()) &&
2784 BI, 0, ConstantInt::getFalse(BI.getCondition()->getType()));
2792 CmpInst *Cond = cast<CmpInst>(BI.getCondition());
2803 Value *Cond = SI.getCondition();
3661 if (BI->isConditional() && isa<ConstantInt>(BI->getCondition())) {
3662 bool CondVal = cast<ConstantInt>(BI->getCondition())->getZExtValue();
3668 if (ConstantInt *Cond = dyn_cast<ConstantInt>(SI->getCondition())) {

Completed in 222 milliseconds

12345