Home
last modified time | relevance | path

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

1234

/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DInstructionSimplify.cpp2670 return getTrue(ITy); in simplifyICmpOfBools()
2687 return getTrue(ITy); in simplifyICmpOfBools()
2698 return getTrue(ITy); in simplifyICmpOfBools()
2709 return getTrue(ITy); in simplifyICmpOfBools()
2713 return getTrue(ITy); in simplifyICmpOfBools()
2733 return getTrue(ITy); in simplifyICmpWithZero()
2742 return getTrue(ITy); in simplifyICmpWithZero()
2747 return getTrue(ITy); in simplifyICmpWithZero()
2755 return getTrue(ITy); in simplifyICmpWithZero()
2766 return getTrue(ITy); in simplifyICmpWithZero()
[all …]
H A DGuardUtils.cpp53 Condition = ConstantInt::getTrue(IfTrueBB->getContext()); in parseWidenableBranch()
/freebsd-13.1/contrib/llvm-project/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 DLoopBoundSplit.cpp388 SplitCandidateCond.BI->setCondition(ConstantInt::getTrue(Context)); in splitLoopBound()
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.cpp756 InterestingVal = ConstantInt::getTrue(I->getContext()); in computeValueKnownInPredecessorsImpl()
919 ResC = ConstantInt::getTrue(CmpType); in computeValueKnownInPredecessorsImpl()
1180 ConstantInt::getTrue(CondCmp->getType()) : in processBlock()
1906 SplitVal = ConstantInt::getTrue(BB->getContext()); in processBranchOnXOR()
H A DConstraintElimination.cpp399 ConstantInt::getTrue(F.getParent()->getContext())); in eliminateConstraints()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DValueLattice.h467 ? ConstantInt::getTrue(Ty) : ConstantInt::getFalse(Ty); in getCompare()
478 return ConstantInt::getTrue(Ty); in getCompare()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSampleProfileLoaderBaseUtil.cpp172 ConstantInt::getTrue(Context), in createFSDiscriminatorVariable()
H A DIntegerDivision.cpp178 ConstantInt *True = Builder.getTrue(); in generateUnsignedDivisionCode()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp327 return replaceInstUsesWith(ICI, Builder.getTrue()); in foldCmpLoadFromIndexedGlobal()
1514 return replaceInstUsesWith(Cmp, Builder.getTrue()); in foldICmpWithDominatingICmp()
2543 return replaceInstUsesWith(Cmp, Builder.getTrue()); in foldICmpDivConstant()
4694 Overflow = ConstantInt::getTrue(OverflowTy); in OptimizeOverflowCheck()
5949 return replaceInstUsesWith(I, Builder.getTrue()); in foldFCmpIntToFPConst()
6015 return replaceInstUsesWith(I, Builder.getTrue()); in foldFCmpIntToFPConst()
6035 return replaceInstUsesWith(I, Builder.getTrue()); in foldFCmpIntToFPConst()
6047 return replaceInstUsesWith(I, Builder.getTrue()); in foldFCmpIntToFPConst()
6060 return replaceInstUsesWith(I, Builder.getTrue()); in foldFCmpIntToFPConst()
6071 return replaceInstUsesWith(I, Builder.getTrue()); in foldFCmpIntToFPConst()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroCleanup.cpp72 II->replaceAllUsesWith(ConstantInt::getTrue(Context)); in lowerRemainingCoroIntrinsics()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUUnifyDivergentExitNodes.cpp218 ConstantInt *BoolTrue = ConstantInt::getTrue(F.getContext()); in runOnFunction()
H A DSIAnnotateControlFlow.cpp132 BoolTrue = ConstantInt::getTrue(Context); in initialize()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCoroutine.cpp404 CoroEndFn, {NullPtr, CGF.Builder.getTrue()}, Bundles); in Emit()
529 Builder.CreateStore(Builder.getTrue(), GroActiveFlag); in EmitGroInit()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DControlHeightReduction.cpp1831 ConstantInt::getTrue(F.getContext())); in createMergedBranch()
1844 Value *MergedCondition = ConstantInt::getTrue(F.getContext()); in fixupBranchesAndSelects()
1919 ConstantInt::getTrue(F.getContext()) : in fixupBranch()
1944 ConstantInt::getTrue(F.getContext()) : in fixupSelect()
1970 ConstantInt::getTrue(F.getContext()), Cond); in addToMergedCondition()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/InstCombine/
H A DInstCombiner.h361 new StoreInst(ConstantInt::getTrue(Ctx), in CreateNonTerminatorUnreachable()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstants.h91 static ConstantInt *getTrue(LLVMContext &Context);
94 static Constant *getTrue(Type *Ty);
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DSjLjEHPrepare.cpp256 Value *TrueValue = ConstantInt::getTrue(F.getContext()); in lowerIncomingArguments()

1234