| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | GuardUtils.cpp | 75 CheckBI->setCondition(B.CreateAnd(CheckBI->getCondition(), WC, in makeGuardControlFlowExplicit() 96 WidenableBR->setCondition(B.CreateAnd(NewCond, WC->get())); in widenWidenableBranch() 117 WidenableBR->setCondition(B.CreateAnd(NewCond, WC->get())); in setWidenableBranchCond()
|
| H A D | LoopSimplify.cpp | 533 BI->setCondition(ConstantInt::get(Cond->getType(), in simplifyOneLoop()
|
| H A D | LoopUnrollRuntime.cpp | 927 LatchBR->setCondition(IdxCmp); in UnrollRuntimeLoopRemainder()
|
| H A D | SimplifyCFG.cpp | 3447 PBI->setCondition(NewCond); in performBranchToCommonDestFolding() 3517 PBI->setCondition( in performBranchToCommonDestFolding() 4062 BI->setCondition( in SimplifyCondBranchToCondBranch() 4170 PBI->setCondition(Cond); in SimplifyCondBranchToCondBranch() 6865 BI->setCondition(TorF); in simplifyCondBranch()
|
| H A D | CodeExtractor.cpp | 1423 TheSwitch->setCondition(call); in emitCallAndSwitchStatement()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | SIAnnotateControlFlow.cpp | 210 Term->setCondition(ExtractValueInst::Create(Ret, 0, "", Term)); in openIf() 221 Term->setCondition(ExtractValueInst::Create(Ret, 0, "", Term)); in insertElse() 274 Term->setCondition(BoolTrue); in handleLoop() 289 Term->setCondition(CallInst::Create(Loop, Arg, "", Term)); in handleLoop()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | HardwareLoops.cpp | 462 LoopGuard->setCondition(SetCount); in InsertIterationSetup() 482 ExitBranch->setCondition(NewCond); in InsertLoopDec() 525 ExitBranch->setCondition(NewCond); in UpdateBranch()
|
| H A D | TypePromotion.cpp | 548 Switch->setCondition(Trunc); in TruncateSinks()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | GuardWidening.cpp | 97 static void setCondition(Instruction *I, Value *NewCond) { in setCondition() function 104 cast<BranchInst>(I)->setCondition(NewCond); in setCondition() 271 setCondition(ToWiden, Result); in widenGuard() 399 setCondition(Instr, NewGuardCondition); in eliminateInstrViaWidening()
|
| H A D | LowerExpectIntrinsic.cpp | 105 SI.setCondition(ArgValue); in handleSwitchExpect() 334 BSI.setCondition(ArgValue); in handleBrSelExpect()
|
| H A D | LoopBoundSplit.cpp | 419 SplitCandidateCond.BI->setCondition(ConstantInt::getTrue(Context)); in splitLoopBound() 424 ClonedSplitCandidateBI->setCondition(ConstantInt::getFalse(Context)); in splitLoopBound()
|
| H A D | PartiallyInlineLibCalls.cpp | 94 CurrBBTerm->setCondition(FCmp); in optimizeSQRT()
|
| H A D | StructurizeCFG.cpp | 577 Term->setCondition(ParentValue); in insertConditions() 582 Term->setCondition(PhiInserter.GetValueInMiddleOfBlock(Parent)); in insertConditions()
|
| H A D | LoopPredication.cpp | 845 BI->setCondition(AllChecks); in widenWidenableBranchGuardConditions() 1239 BI->setCondition(ConstantInt::get(OldCond->getType(), !ExitIfTrue)); in predicateLoopExits()
|
| H A D | IndVarSimplify.cpp | 1191 BI->setCondition(Cond); in linearFunctionTestReplace() 1294 BI->setCondition(NewCond); in replaceExitCond() 1875 BI->setCondition(NewCond); in predicateLoopExits()
|
| H A D | SimpleLoopUnswitch.cpp | 567 BI.setCondition(Cond); in unswitchTrivialBranch() 2239 BI->setCondition(Cond); in unswitchNontrivialInvariants() 2257 SI->setCondition(new FreezeInst(Cond, Cond->getName() + ".fr", SI)); in unswitchNontrivialInvariants()
|
| H A D | CorrelatedValuePropagation.cpp | 421 SI->setCondition(Case); in processSwitch()
|
| H A D | LoopRerollPass.cpp | 1487 BI->setCondition(Cond); in replace()
|
| H A D | InductiveRangeCheckElimination.cpp | 1308 LS.LatchBr->setCondition(CondForBranch); in changeIterationSpaceEnd()
|
| H A D | LoopIdiomRecognize.cpp | 2185 PreCondBr->setCondition(NewPreCond); in transformLoopToPopcount()
|
| /llvm-project-15.0.7/polly/lib/CodeGen/ |
| H A D | IslExprBuilder.cpp | 632 BR->setCondition(Builder.CreateNeg(LHS)); in createOpBooleanConditional() 634 BR->setCondition(LHS); in createOpBooleanConditional()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/ |
| H A D | ControlHeightReduction.cpp | 1841 MergedBR->setCondition(MergedCondition); in fixupBranchesAndSelects() 1893 BI->setCondition(NewCondition); in fixupBranch() 1918 SI->setCondition(NewCondition); in fixupSelect()
|
| /llvm-project-15.0.7/llvm/tools/bugpoint/ |
| H A D | CrashDebugger.cpp | 600 BR->setCondition(ConstantInt::getTrue(BR->getContext())); in TestBlocks() 602 BR->setCondition(ConstantInt::getFalse(BR->getContext())); in TestBlocks()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | Instructions.h | 1791 void setCondition(Value *V) { Op<0>() = V; } 3185 void setCondition(Value *V) { 3448 void setCondition(Value *V) { setOperand(0, V); }
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | OpenMPClause.h | 524 void setCondition(Expr *Cond) { Condition = Cond; } in setCondition() function 616 void setCondition(Expr *Cond) { Condition = Cond; } in setCondition() function 8013 void setCondition(Expr *Cond) { Condition = Cond; } in setCondition() function 8083 void setCondition(Expr *Cond) { Condition = Cond; } in setCondition() function
|