Home
last modified time | relevance | path

Searched refs:getTrue (Results 1 – 25 of 77) sorted by relevance

1234

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
H A DNVPTXImageOptimizer.cpp97 replaceWith(&I, ConstantInt::getTrue(I.getContext())); in replaceIsTypePSampler()
114 replaceWith(&I, ConstantInt::getTrue(I.getContext())); in replaceIsTypePSurface()
132 replaceWith(&I, ConstantInt::getTrue(I.getContext())); in replaceIsTypePTexture()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DInstructionSimplify.cpp125 static Constant *getTrue(Type *Ty) { in getTrue() function
126 return ConstantInt::getTrue(Ty); in getTrue()
170 getTrue(Cond->getType())); in simplifyCmpSelTrueCase()
1451 return ConstantInt::getTrue(UnsignedICmp->getType()); in simplifyUnsignedRangeCheck()
1532 return getTrue(UnsignedICmp->getType()); in simplifyUnsignedRangeCheck()
1583 return getTrue(Op0->getType()); in simplifyOrOfICmpsWithSameOperands()
1613 return getTrue(Cmp0->getType()); in simplifyAndOrOfICmpsWithConstants()
1825 return getTrue(ITy); in simplifyOrOfICmpsWithAdd()
1827 return getTrue(ITy); in simplifyOrOfICmpsWithAdd()
1831 return getTrue(ITy); in simplifyOrOfICmpsWithAdd()
[all …]
H A DGuardUtils.cpp53 Condition = ConstantInt::getTrue(IfTrueBB->getContext()); in parseWidenableBranch()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUUnifyDivergentExitNodes.cpp172 B.getTrue(), // done in unifyReturnBlockSet()
173 B.getTrue(), // valid mask in unifyReturnBlockSet()
258 ConstantInt *BoolTrue = ConstantInt::getTrue(F.getContext()); in runOnFunction()
H A DSIAnnotateControlFlow.cpp131 BoolTrue = ConstantInt::getTrue(Context); in initialize()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DLoopUnswitch.cpp591 Cond == ConstantInt::getTrue(Cond->getContext()) in isUnreachableDueToPreviousUnswitching()
719 unswitchIfProfitable(LoopCond, ConstantInt::getTrue(Context))) { in processCurrentLoop()
762 unswitchIfProfitable(LoopCond, ConstantInt::getTrue(Context), TI)) { in processCurrentLoop()
836 unswitchIfProfitable(LoopCond, ConstantInt::getTrue(Context))) { in processCurrentLoop()
1040 else if (Val != ConstantInt::getTrue(Val->getContext())) { in emitPreheaderBranchOnCondition()
1191 } else if (BI->getCondition() == ConstantInt::getTrue(Context)) { in tryTrivialLoopUnswitch()
1240 CondVal = ConstantInt::getTrue(Context); in tryTrivialLoopUnswitch()
1669 ConstantInt::getTrue(Context), NewSISucc); in rewriteLoopBodyWithConditionConstant()
1773 return ConstantInt::getTrue(Ctx); in simplifyInstructionWithNotEqual()
H A DLowerWidenableCondition.cpp61 CI->replaceAllUsesWith(ConstantInt::getTrue(CI->getContext())); in lowerWidenableCondition()
H A DLowerConstantIntrinsics.cpp50 return ConstantInt::getTrue(II->getType()); in lowerIsConstantIntrinsic()
H A DPartiallyInlineLibCalls.cpp62 Builder.getTrue(), Call->getNextNode(), /*Unreachable=*/false, in optimizeSQRT()
H A DEarlyCSE.cpp1054 ? ConstantInt::getTrue(BB->getContext()) in handleBranchCondition()
1248 AvailableValues.insert(CondI, ConstantInt::getTrue(BB->getContext())); in processNode()
1315 AvailableValues.insert(CondI, ConstantInt::getTrue(BB->getContext())); in processNode()
H A DLoopPredication.cpp410 return Builder.getTrue(); in expandCheck()
1089 WC->set(ConstantInt::getTrue(IfTrueBB->getContext())); in predicateLoopExits()
H A DCorrelatedValuePropagation.cpp486 II->setArgOperand(1, ConstantInt::getTrue(II->getContext())); in processAbsIntrinsic()
1012 ConstantInt::getTrue(C->getContext()) : in getConstantAt()
H A DJumpThreading.cpp757 InterestingVal = ConstantInt::getTrue(I->getContext()); in computeValueKnownInPredecessorsImpl()
920 ResC = ConstantInt::getTrue(CmpType); in computeValueKnownInPredecessorsImpl()
1181 ConstantInt::getTrue(CondCmp->getType()) : in processBlock()
1907 SplitVal = ConstantInt::getTrue(BB->getContext()); in processBranchOnXOR()
H A DConstraintElimination.cpp399 ConstantInt::getTrue(F.getParent()->getContext())); in eliminateConstraints()
H A DSimpleLoopUnswitch.cpp555 : ConstantInt::getTrue(BI.getContext()); in unswitchTrivialBranch()
2296 Direction ? ConstantInt::getTrue(BI->getContext()) in unswitchNontrivialInvariants()
2300 : ConstantInt::getTrue(BI->getContext()); in unswitchNontrivialInvariants()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DValueLattice.h467 ? ConstantInt::getTrue(Ty) : ConstantInt::getFalse(Ty); in getCompare()
478 return ConstantInt::getTrue(Ty); in getCompare()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp307 return replaceInstUsesWith(ICI, Builder.getTrue()); in foldCmpLoadFromIndexedGlobal()
1491 return replaceInstUsesWith(Cmp, Builder.getTrue()); in foldICmpWithDominatingICmp()
1693 return replaceInstUsesWith(Cmp, ConstantInt::getTrue(Cmp.getType())); in foldICmpAndShift()
2507 return replaceInstUsesWith(Cmp, Builder.getTrue()); in foldICmpDivConstant()
2522 return replaceInstUsesWith(Cmp, Builder.getTrue()); in foldICmpDivConstant()
2531 return replaceInstUsesWith(Cmp, Builder.getTrue()); in foldICmpDivConstant()
4036 return replaceInstUsesWith(I, ConstantInt::getTrue(I.getType())); in foldICmpBinOp()
4616 Overflow = ConstantInt::getTrue(OverflowTy); in OptimizeOverflowCheck()
5141 return replaceInstUsesWith(I, ConstantInt::getTrue(I.getType())); in foldICmpUsingKnownBits()
5163 return replaceInstUsesWith(I, ConstantInt::getTrue(I.getType())); in foldICmpUsingKnownBits()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DMIRFSDiscriminator.cpp137 ConstantInt::getTrue(Context), FSDiscriminatorVar); in runOnMachineFunction()
H A DSjLjEHPrepare.cpp256 Value *TrueValue = ConstantInt::getTrue(F.getContext()); in lowerIncomingArguments()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Coroutines/
H A DCoroCleanup.cpp72 II->replaceAllUsesWith(ConstantInt::getTrue(Context)); in lowerRemainingCoroIntrinsics()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGCoroutine.cpp404 CoroEndFn, {NullPtr, CGF.Builder.getTrue()}, Bundles); in Emit()
529 Builder.CreateStore(Builder.getTrue(), GroActiveFlag); in EmitGroInit()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DControlHeightReduction.cpp1826 ConstantInt::getTrue(F.getContext())); in createMergedBranch()
1839 Value *MergedCondition = ConstantInt::getTrue(F.getContext()); in fixupBranchesAndSelects()
1914 ConstantInt::getTrue(F.getContext()) : in fixupBranch()
1939 ConstantInt::getTrue(F.getContext()) : in fixupSelect()
1965 ConstantInt::getTrue(F.getContext()), Cond); in addToMergedCondition()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/InstCombine/
H A DInstCombiner.h361 new StoreInst(ConstantInt::getTrue(Ctx), in CreateNonTerminatorUnreachable()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DConstants.h89 static ConstantInt *getTrue(LLVMContext &Context);
92 static Constant *getTrue(Type *Ty);
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DIntegerDivision.cpp178 ConstantInt *True = Builder.getTrue(); in generateUnsignedDivisionCode()

1234