Home
last modified time | relevance | path

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

12

/freebsd/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.cpp529 BI->setCondition(ConstantInt::get(Cond->getType(), in simplifyOneLoop()
H A DLoopUnrollRuntime.cpp952 LatchBR->setCondition(IdxCmp); in UnrollRuntimeLoopRemainder()
H A DLoopConstrainer.cpp634 LS.LatchBr->setCondition(CondForBranch); in changeIterationSpaceEnd()
H A DSimplifyCFG.cpp4012 PBI->setCondition( in performBranchToCommonDestFolding()
4557 BI->setCondition( in SimplifyCondBranchToCondBranch()
4680 PBI->setCondition(Cond); in SimplifyCondBranchToCondBranch()
7284 SI->setCondition(ConditionTrailingZeros); in simplifySwitchOfPowersOfTwo()
7882 BI->setCondition( in mergeNestedCondBranch()
7967 BI->setCondition(TorF); in simplifyCondBranch()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIAnnotateControlFlow.cpp194 Term->setCondition(Cond); in openIf()
210 Term->setCondition(Cond); in insertElse()
272 Term->setCondition(BoolTrue); in handleLoop()
289 Term->setCondition(LoopCall); in handleLoop()
/freebsd/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.cpp97 static void setCondition(Instruction *I, Value *NewCond) { in setCondition() function
104 cast<BranchInst>(I)->setCondition(NewCond); in setCondition()
317 setCondition(ToWiden, Result); in widenGuard()
453 setCondition(Instr, NewGuardCondition); in eliminateInstrViaWidening()
H A DLoopBoundSplit.cpp418 SplitCandidateCond.BI->setCondition(ConstantInt::getTrue(Context)); in splitLoopBound()
423 ClonedSplitCandidateBI->setCondition(ConstantInt::getFalse(Context)); in splitLoopBound()
H A DPartiallyInlineLibCalls.cpp96 CurrBBTerm->setCondition(FCmp); in optimizeSQRT()
H A DLoopTermFold.cpp294 BI->setCondition(NewTermCond); in RunTermFold()
H A DLoopPredication.cpp781 BI->setCondition(AllChecks); in widenWidenableBranchGuardConditions()
1170 BI->setCondition(ConstantInt::get(OldCond->getType(), !ExitIfTrue)); in predicateLoopExits()
H A DIndVarSimplify.cpp1071 BI->setCondition(Cond); in linearFunctionTestReplace()
1162 BI->setCondition(NewCond); in replaceExitCond()
1863 BI->setCondition(NewCond); in predicateLoopExits()
H A DStructurizeCFG.cpp628 Term->setCondition(ParentInfo.Pred); in insertConditions()
634 Term->setCondition(PhiInserter.GetValueInMiddleOfBlock(Parent)); in insertConditions()
H A DLoopFlatten.cpp987 Br->setCondition(Overflow); in FlattenLoopPair()
H A DSimpleLoopUnswitch.cpp633 BI.setCondition(Cond); in unswitchTrivialBranch()
2376 BI->setCondition(Cond); in unswitchNontrivialInvariants()
2392 SI->setCondition(new FreezeInst(SI->getCondition(), in unswitchNontrivialInvariants()
H A DLoopIdiomRecognize.cpp1823 LoopTerm->setCondition(NewLoopCond); in recognizeAndInsertStrLen()
2625 PreCondBr->setCondition(NewPreCond); in transformLoopToPopcount()
H A DCorrelatedValuePropagation.cpp417 SI->setCondition(Case); in processSwitch()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DHardwareLoops.cpp525 LoopGuard->setCondition(SetCount); in InsertIterationSetup()
546 ExitBranch->setCondition(NewCond); in InsertLoopDec()
590 ExitBranch->setCondition(NewCond); in UpdateBranch()
H A DTypePromotion.cpp567 Switch->setCondition(Trunc); in TruncateSinks()
/freebsd/contrib/llvm-project/llvm/tools/bugpoint/
H A DCrashDebugger.cpp606 BR->setCondition(ConstantInt::getTrue(BR->getContext())); in TestBlocks()
608 BR->setCondition(ConstantInt::getFalse(BR->getContext())); in TestBlocks()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DControlHeightReduction.cpp1868 MergedBR->setCondition(MergedCondition); in fixupBranchesAndSelects()
1918 BI->setCondition(NewCondition); in fixupBranch()
1942 SI->setCondition(NewCondition); in fixupSelect()
/freebsd/contrib/llvm-project/llvm/lib/SandboxIR/
H A DInstruction.cpp1105 void SwitchInst::setCondition(Value *V) { in setCondition() function in llvm::sandboxir::SwitchInst
1108 GenericSetter<&SwitchInst::getCondition, &SwitchInst::setCondition>>( in setCondition()
1110 cast<llvm::SwitchInst>(Val)->setCondition(V->Val); in setCondition()
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DInstruction.h458 void setCondition(Value *New) { setOperand(0, New); } in setCondition() function
1043 void setCondition(Value *V) { setOperand(0, V); } in setCondition() function
1877 LLVM_ABI void setCondition(Value *V);
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstructions.h1732 void setCondition(Value *V) { Op<0>() = V; }
3138 void setCondition(Value *V) {
3390 void setCondition(Value *V) { setOperand(0, V); }

12