Home
last modified time | relevance | path

Searched refs:setCondition (Results 1 – 25 of 31) sorted by relevance

12

/src/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DGuardUtils.cpp75 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 DLoopSimplify.cpp532 BI->setCondition(ConstantInt::get(Cond->getType(), in simplifyOneLoop()
H A DLoopUnrollRuntime.cpp948 LatchBR->setCondition(IdxCmp); in UnrollRuntimeLoopRemainder()
H A DLoopConstrainer.cpp634 LS.LatchBr->setCondition(CondForBranch); in changeIterationSpaceEnd()
H A DSimplifyCFG.cpp3860 PBI->setCondition( in performBranchToCommonDestFolding()
4407 BI->setCondition( in SimplifyCondBranchToCondBranch()
4530 PBI->setCondition(Cond); in SimplifyCondBranchToCondBranch()
7104 SI->setCondition(ConditionTrailingZeros); in simplifySwitchOfPowersOfTwo()
7417 BI->setCondition( in mergeNestedCondBranch()
7502 BI->setCondition(TorF); in simplifyCondBranch()
H A DCodeExtractor.cpp1445 TheSwitch->setCondition(call); in emitCallAndSwitchStatement()
H A DBasicBlockUtils.cpp2211 PBI->setCondition(NewCond); in InvertBranch()
/src/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIAnnotateControlFlow.cpp213 Term->setCondition(Cond); in openIf()
228 Term->setCondition(Cond); in insertElse()
284 Term->setCondition(BoolTrue); in handleLoop()
300 Term->setCondition(LoopCall); in handleLoop()
/src/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerExpectIntrinsic.cpp104 SI.setCondition(ArgValue); in handleSwitchExpect()
348 BSI.setCondition(ArgValue); in handleBrSelExpect()
H A DGuardWidening.cpp98 static void setCondition(Instruction *I, Value *NewCond) { in setCondition() function
105 cast<BranchInst>(I)->setCondition(NewCond); in setCondition()
318 setCondition(ToWiden, Result); in widenGuard()
454 setCondition(Instr, NewGuardCondition); in eliminateInstrViaWidening()
H A DLoopBoundSplit.cpp419 SplitCandidateCond.BI->setCondition(ConstantInt::getTrue(Context)); in splitLoopBound()
424 ClonedSplitCandidateBI->setCondition(ConstantInt::getFalse(Context)); in splitLoopBound()
H A DPartiallyInlineLibCalls.cpp94 CurrBBTerm->setCondition(FCmp); in optimizeSQRT()
H A DLoopPredication.cpp782 BI->setCondition(AllChecks); in widenWidenableBranchGuardConditions()
1171 BI->setCondition(ConstantInt::get(OldCond->getType(), !ExitIfTrue)); in predicateLoopExits()
H A DStructurizeCFG.cpp594 Term->setCondition(ParentValue); in insertConditions()
599 Term->setCondition(PhiInserter.GetValueInMiddleOfBlock(Parent)); in insertConditions()
H A DIndVarSimplify.cpp1080 BI->setCondition(Cond); in linearFunctionTestReplace()
1186 BI->setCondition(NewCond); in replaceExitCond()
1884 BI->setCondition(NewCond); in predicateLoopExits()
H A DLoopFlatten.cpp987 Br->setCondition(Overflow); in FlattenLoopPair()
H A DSimpleLoopUnswitch.cpp627 BI.setCondition(Cond); in unswitchTrivialBranch()
2370 BI->setCondition(Cond); in unswitchNontrivialInvariants()
2386 SI->setCondition(new FreezeInst(SI->getCondition(), in unswitchNontrivialInvariants()
H A DCorrelatedValuePropagation.cpp392 SI->setCondition(Case); in processSwitch()
/src/contrib/llvm-project/llvm/lib/CodeGen/
H A DHardwareLoops.cpp527 LoopGuard->setCondition(SetCount); in InsertIterationSetup()
550 ExitBranch->setCondition(NewCond); in InsertLoopDec()
596 ExitBranch->setCondition(NewCond); in UpdateBranch()
H A DTypePromotion.cpp567 Switch->setCondition(Trunc); in TruncateSinks()
/src/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DControlHeightReduction.cpp1877 MergedBR->setCondition(MergedCondition); in fixupBranchesAndSelects()
1927 BI->setCondition(NewCondition); in fixupBranch()
1951 SI->setCondition(NewCondition); in fixupSelect()
/src/contrib/llvm-project/llvm/tools/bugpoint/
H A DCrashDebugger.cpp609 BR->setCondition(ConstantInt::getTrue(BR->getContext())); in TestBlocks()
611 BR->setCondition(ConstantInt::getFalse(BR->getContext())); in TestBlocks()
/src/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DSandboxIR.h605 void setCondition(Value *New) { setOperand(0, New); } in setCondition() function
/src/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstructions.h1613 void setCondition(Value *V) { Op<0>() = V; }
2996 void setCondition(Value *V) {
3247 void setCondition(Value *V) { setOperand(0, V); }
/src/contrib/llvm-project/clang/include/clang/AST/
H A DOpenMPClause.h546 void setCondition(Expr *Cond) { Condition = Cond; } in setCondition() function
634 void setCondition(Expr *Cond) { setStmt(Cond); } in setCondition() function
8244 void setCondition(Expr *Cond) { setStmt(Cond); } in setCondition() function
8291 void setCondition(Expr *Cond) { setStmt(Cond); } in setCondition() function

12