/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | GuardUtils.cpp | 75 CheckBI->setCondition(B.CreateAnd(CheckBI->getCondition(), WC, 101 Instruction *WCAnd = cast<Instruction>(WidenableBR->getCondition()); 120 Instruction *WCAnd = cast<Instruction>(WidenableBR->getCondition());
|
H A D | FlattenCFG.cpp | 177 Value *PC = PBI->getCondition(); 255 auto *CI = dyn_cast<CmpInst>(BI->getCondition()); 284 Value *PC = PBI->getCondition(); 293 Value *CC = PBI->getCondition(); 482 assert(PBI->getCondition() == IfCond2);
|
H A D | SimplifyCFG.cpp | 291 // 3> SI2->getCondition() and Cond have same operands. 292 CmpInst *Ci2 = dyn_cast<CmpInst>(SI2->getCondition()); 703 Cond = dyn_cast<Instruction>(SI->getCondition()); 706 Cond = dyn_cast<Instruction>(BI->getCondition()); 724 CV = SI->getCondition(); 726 if (BI->isConditional() && BI->getCondition()->hasOneUse()) 727 if (ICmpInst *ICI = dyn_cast<ICmpInst>(BI->getCondition())) { 756 ICmpInst *ICI = cast<ICmpInst>(BI->getCondition()); 1001 ICmpInst *ICI = cast<ICmpInst>(BI->getCondition()); 1440 Builder.CreateSelect(BI->getCondition(), BB1 [all...] |
H A D | CodeMoverUtils.cpp | 141 << *BI->getCondition() << "\" is true from " 144 ControlCondition(BI->getCondition(), true)); 147 << *BI->getCondition() << "\" is false from " 150 ControlCondition(BI->getCondition(), false));
|
H A D | PredicateInfo.cpp | 475 if (match(BI->getCondition(), m_And(m_Cmp(Pred, m_Value(), m_Value()), 477 match(BI->getCondition(), m_Or(m_Cmp(Pred, m_Value(), m_Value()), 479 auto *BinOp = cast<BinaryOperator>(BI->getCondition()); 486 ConditionsToProcess.push_back(BI->getCondition()); 487 } else if (isa<CmpInst>(BI->getCondition())) { 488 ConditionsToProcess.push_back(BI->getCondition()); 515 Value *Op = SI->getCondition();
|
H A D | MisExpect.cpp | 57 Ret = dyn_cast<Instruction>(B->getCondition());
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | SparsePropagation.h | 302 getValueState(KeyInfo::getLatticeKeyFromValue(BI->getCondition())); 305 KeyInfo::getLatticeKeyFromValue(BI->getCondition())); 320 std::move(BCValue), BI->getCondition()->getType())); 341 SCValue = getValueState(KeyInfo::getLatticeKeyFromValue(SI.getCondition())); 344 KeyInfo::getLatticeKeyFromValue(SI.getCondition())); 358 std::move(SCValue), SI.getCondition()->getType()));
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/ |
H A D | ProvenanceAnalysis.cpp | 47 if (A->getCondition() == SB->getCondition())
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | GuardWidening.cpp | 81 static Value *getCondition(Instruction *I) { function in namespace:__anon4632 92 return cast<BranchInst>(I)->getCondition(); 262 widenCondCommon(getCondition(ToWiden), NewCondition, ToWiden, Result, 314 assert(isa<ConstantInt>(getCondition(I)) && "Should be!"); 334 if (isa<ConstantInt>(getCondition(Instr))) 372 LLVM_DEBUG(dbgs() << "Score between " << *getCondition(Instr) 373 << " and " << *getCondition(Candidate) << " is " 393 widenGuard(BestSoFar, getCondition(Instr), InvertCondition); 421 if (!isAvailableAt(getCondition(DominatedInstr), DominatingGuard)) 432 if (isWideningCondProfitable(getCondition(DominatedInst [all...] |
H A D | SimpleLoopUnswitch.cpp | 378 if (L.isLoopInvariant(BI.getCondition())) { 379 Invariants.push_back(BI.getCondition()); 382 if (auto *CondInst = dyn_cast<Instruction>(BI.getCondition())) 412 if (cast<Instruction>(BI.getCondition())->getOpcode() != Instruction::Or) 415 if (cast<Instruction>(BI.getCondition())->getOpcode() != Instruction::And) 493 assert(cast<Instruction>(BI.getCondition())->getOpcode() == 497 assert(cast<Instruction>(BI.getCondition())->getOpcode() == 593 Value *LoopCond = SI.getCondition(); 922 if (isa<Constant>(SI->getCondition())) 952 if (!BI->isConditional() || isa<Constant>(BI->getCondition())) [all...] |
H A D | LowerExpectIntrinsic.cpp | 80 CallInst *CI = dyn_cast<CallInst>(SI.getCondition()); 281 ICmpInst *CmpI = dyn_cast<ICmpInst>(BSI.getCondition()); 285 CI = dyn_cast<CallInst>(BSI.getCondition());
|
H A D | LoopUnswitch.cpp | 570 Value *Cond = BInst->getCondition(); 742 Value *LoopCond = findLIVLoopCondition(BI->getCondition(), CurrentLoop, 752 Value *SC = SI->getCondition(); 816 Value *LoopCond = findLIVLoopCondition(SI->getCondition(), CurrentLoop, 1073 } else if (BI->getCondition() == ConstantInt::getTrue(Context)) { 1075 } else if (BI->getCondition() == ConstantInt::getFalse(Context)) { 1084 ConstantInt *Cond = dyn_cast<ConstantInt>(SI->getCondition()); 1107 Value *LoopCond = findLIVLoopCondition(BI->getCondition(), CurrentLoop, 1113 if (!LoopCond || LoopCond != BI->getCondition()) 1142 Value *LoopCond = findLIVLoopCondition(SI->getCondition(), CurrentLoo [all...] |
H A D | LoopPredication.cpp | 825 unsigned NumWidened = collectChecks(Checks, BI->getCondition(), 835 auto *OldCond = BI->getCondition(); 864 auto *ICI = dyn_cast<ICmpInst>(BI->getCondition()); 1112 auto *IP = cast<Instruction>(WidenableBR->getCondition()); 1132 if (isa<Constant>(BI->getCondition())) 1172 Value *OldCond = BI->getCondition();
|
H A D | IndVarSimplify.cpp | 515 Cond = BI->getCondition(); 517 Cond = SI->getCondition(); 1560 UpdateRangeFromCondition(BI->getCondition(), /*TrueDest=*/true); 1563 UpdateRangeFromCondition(BI->getCondition(), /*TrueDest=*/false); 1729 ICmpInst *ICmp = dyn_cast<ICmpInst>(BI->getCondition()); 1748 if (L->isLoopInvariant(BI->getCondition())) 1752 ICmpInst *Cond = dyn_cast<ICmpInst>(BI->getCondition()); 1921 Value *Cond = cast<BranchInst>(ExitingBB->getTerminator())->getCondition(); 2159 if (auto *Cond = dyn_cast<Instruction>(BI->getCondition())) 2212 << " was: " << *BI->getCondition() << "\ [all...] |
H A D | SCCP.cpp | 625 ValueLatticeElement BCValue = getValueState(BI->getCondition()); 651 ValueLatticeElement SCValue = getValueState(SI->getCondition()); 914 ValueLatticeElement CondValue = getValueState(I.getCondition()); 1521 if (!getValueState(BI->getCondition()).isUnknownOrUndef()) 1526 if (isa<UndefValue>(BI->getCondition())) { 1574 !getValueState(SI->getCondition()).isUnknownOrUndef()) 1579 if (isa<UndefValue>(SI->getCondition())) { 1848 if (!isa<ConstantInt>(SI->getCondition())) { 1854 if (!isa<ConstantInt>(BI->getCondition())) {
|
H A D | CorrelatedValuePropagation.cpp | 127 if (isa<Constant>(S->getCondition())) return false; 129 Constant *C = LVI->getConstant(S->getCondition(), S->getParent(), S); 226 Value *Condition = SI->getCondition(); 336 Value *Cond = I->getCondition(); 399 Cond = SI->getCondition();
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | SIAnnotateControlFlow.cpp | 214 Value *Ret = CallInst::Create(If, Term->getCondition(), "", Term); 270 Value *Cond = Term->getCondition(); 352 PHINode *Phi = dyn_cast<PHINode>(Term->getCondition());
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | GuardUtils.cpp | 66 auto *Cond = BI->getCondition();
|
H A D | LoopNestAnalysis.cpp | 88 const CmpInst *OuterLoopLatchCmp = dyn_cast<CmpInst>(BI->getCondition()); 98 (InnerGuard) ? dyn_cast<CmpInst>(InnerGuard->getCondition()) : nullptr;
|
H A D | DivergenceAnalysis.cpp | 115 return isDivergent(*BranchTerm->getCondition()); 118 return isDivergent(*SwitchTerm->getCondition());
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineSelect.cpp | 65 if (!match(Sel.getCondition(), m_Cmp(Pred, m_Value(X), m_Constant(C)))) 295 Value *Cond = SI.getCondition(); 444 Value *NewSel = Builder.CreateSelect(SI.getCondition(), OOp, C); 475 Value *NewSel = Builder.CreateSelect(SI.getCondition(), C, OOp); 678 Value *Cond = Sel.getCondition(); 1574 const PHINode *CondPHI = cast<PHINode>(SI.getCondition()); 1665 Builder.CreateSelect(SI->getCondition(), SI->getFalseValue(), 1724 Value *CondVal = SI.getCondition(); 1799 Value *CondVal = SI.getCondition(); 1933 Value *Cond = Sel.getCondition(); [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | VPlanHCFGBuilder.cpp | 207 getOrCreateVPOperand(Br->getCondition()); 291 Value *BrCond = Br->getCondition();
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | PredicateInfo.h | 164 SI->getCondition()),
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | HardwareLoops.cpp | 354 if (BI->isUnconditional() || !isa<ICmpInst>(BI->getCondition())) 359 auto ICmp = cast<ICmpInst>(BI->getCondition()); 463 Value *OldCond = ExitBranch->getCondition(); 506 Value *OldCond = ExitBranch->getCondition();
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | ControlHeightReduction.cpp | 913 bool IsHoistable = checkHoistValue(SI->getCondition(), InsertPoint, 934 bool IsHoistable = checkHoistValue(Branch->getCondition(), InsertPoint, 967 assert(checkHoistValue(Branch->getCondition(), InsertPoint, 975 assert(checkHoistValue(SI->getCondition(), InsertPoint, DT, 1044 ConditionValues.insert(BI->getCondition()); 1047 ConditionValues.insert(SI->getCondition()); 1408 bool IsHoistable = checkHoistValue(BI->getCondition(), InsertPoint, DT, 1420 bool IsHoistable = checkHoistValue(SI->getCondition(), InsertPoint, DT, 1506 hoistValue(BI->getCondition(), HoistPoint, R, Scope->HoistStopMap, 1514 hoistValue(SI->getCondition(), HoistPoin [all...] |