Home
last modified time | relevance | path

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

1234

/openbsd-src/gnu/llvm/llvm/lib/Target/NVPTX/
H A DNVPTXImageOptimizer.cpp96 replaceWith(&I, ConstantInt::getTrue(I.getContext())); in replaceIsTypePSampler()
113 replaceWith(&I, ConstantInt::getTrue(I.getContext())); in replaceIsTypePSurface()
131 replaceWith(&I, ConstantInt::getTrue(I.getContext())); in replaceIsTypePTexture()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DValueLattice.cpp36 return Pred == ICmpInst::ICMP_NE ? ConstantInt::getTrue(Ty) in getCompare()
48 return ConstantInt::getTrue(Ty); in getCompare()
H A DInstructionSimplify.cpp126 static Constant *getTrue(Type *Ty) { return ConstantInt::getTrue(Ty); } in getTrue() function
169 getTrue(Cond->getType())); in simplifyCmpSelTrueCase()
1567 return ConstantInt::getTrue(UnsignedICmp->getType()); in simplifyUnsignedRangeCheck()
1648 return getTrue(UnsignedICmp->getType()); in simplifyUnsignedRangeCheck()
1678 return getTrue(Cmp0->getType()); in simplifyAndOrOfICmpsWithConstants()
1911 return getTrue(ITy); in simplifyOrOfICmpsWithAdd()
1913 return getTrue(ITy); in simplifyOrOfICmpsWithAdd()
1917 return getTrue(ITy); in simplifyOrOfICmpsWithAdd()
1919 return getTrue(ITy); in simplifyOrOfICmpsWithAdd()
1925 return getTrue(ITy); in simplifyOrOfICmpsWithAdd()
[all …]
H A DGuardUtils.cpp53 Condition = ConstantInt::getTrue(IfTrueBB->getContext()); in parseWidenableBranch()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DLowerWidenableCondition.cpp62 CI->replaceAllUsesWith(ConstantInt::getTrue(CI->getContext())); in lowerWidenableCondition()
H A DLowerConstantIntrinsics.cpp49 return ConstantInt::getTrue(II->getType()); in lowerIsConstantIntrinsic()
H A DPartiallyInlineLibCalls.cpp63 Builder.getTrue(), Call->getNextNode(), /*Unreachable=*/false, in optimizeSQRT()
H A DEarlyCSE.cpp1094 ? ConstantInt::getTrue(BB->getContext()) in handleBranchCondition()
1291 AvailableValues.insert(CondI, ConstantInt::getTrue(BB->getContext())); in processNode()
1364 AvailableValues.insert(CondI, ConstantInt::getTrue(BB->getContext())); in processNode()
H A DLoopBoundSplit.cpp419 SplitCandidateCond.BI->setCondition(ConstantInt::getTrue(Context)); in splitLoopBound()
H A DLoopPredication.cpp425 return Builder.getTrue(); in expandCheck()
1157 WC->set(ConstantInt::getTrue(IfTrueBB->getContext())); in predicateLoopExits()
H A DJumpThreading.cpp769 InterestingVal = ConstantInt::getTrue(I->getContext()); in computeValueKnownInPredecessorsImpl()
935 ResC = ConstantInt::getTrue(CmpType); in computeValueKnownInPredecessorsImpl()
1182 ConstantInt::getTrue(CondCmp->getType()) : in processBlock()
1912 SplitVal = ConstantInt::getTrue(BB->getContext()); in processBranchOnXOR()
H A DCorrelatedValuePropagation.cpp536 II->setArgOperand(1, ConstantInt::getTrue(II->getContext())); in processAbsIntrinsic()
1138 ConstantInt::getTrue(C->getContext()) : in getConstantAt()
/openbsd-src/gnu/llvm/llvm/tools/llvm-reduce/deltas/
H A DReduceUsingSimplifyCFG.cpp49 BR->setCondition(ConstantInt::getTrue(BR->getContext())); in reduceConditionals()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DSampleProfileLoaderBaseUtil.cpp180 ConstantInt::getTrue(Context), in createFSDiscriminatorVariable()
H A DIntegerDivision.cpp156 ConstantInt *True = Builder.getTrue(); in generateUnsignedDivisionCode()
H A DAssumeBundleBuilder.cpp249 FnAssume, ArrayRef<Value *>({ConstantInt::getTrue(C)}), OpBundle)); in build()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Coroutines/
H A DCoroCleanup.cpp63 II->replaceAllUsesWith(ConstantInt::getTrue(Context)); in lower()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp334 return replaceInstUsesWith(ICI, Builder.getTrue()); in foldCmpLoadFromIndexedGlobal()
1401 return replaceInstUsesWith(Cmp, Builder.getTrue()); in foldICmpWithDominatingICmp()
1664 return replaceInstUsesWith(Cmp, ConstantInt::getTrue(Cmp.getType())); in foldICmpAndShift()
2596 return replaceInstUsesWith(Cmp, Builder.getTrue()); in foldICmpDivConstant()
2608 return replaceInstUsesWith(Cmp, Builder.getTrue()); in foldICmpDivConstant()
2617 return replaceInstUsesWith(Cmp, Builder.getTrue()); in foldICmpDivConstant()
4349 return replaceInstUsesWith(I, ConstantInt::getTrue(I.getType())); in foldICmpBinOp()
5061 Overflow = ConstantInt::getTrue(OverflowTy); in OptimizeOverflowCheck()
5656 return replaceInstUsesWith(I, ConstantInt::getTrue(I.getType())); in foldICmpUsingKnownBits()
5663 return replaceInstUsesWith(I, ConstantInt::getTrue(I.getType())); in foldICmpUsingKnownBits()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerKernelAttributes.cpp231 ICmp->replaceAllUsesWith(llvm::ConstantInt::getTrue(ICmp->getType())); in processUse()
H A DAMDGPUUnifyDivergentExitNodes.cpp227 ConstantInt *BoolTrue = ConstantInt::getTrue(F.getContext()); in runOnFunction()
H A DSIAnnotateControlFlow.cpp132 BoolTrue = ConstantInt::getTrue(Context); in initialize()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DControlHeightReduction.cpp1832 ConstantInt::getTrue(F.getContext())); in createMergedBranch()
1845 Value *MergedCondition = ConstantInt::getTrue(F.getContext()); in fixupBranchesAndSelects()
1920 ConstantInt::getTrue(F.getContext()) : in fixupBranch()
1945 ConstantInt::getTrue(F.getContext()) : in fixupSelect()
1962 Cond = IRB.CreateXor(ConstantInt::getTrue(F.getContext()), Cond); in addToMergedCondition()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DConstants.h90 static ConstantInt *getTrue(LLVMContext &Context);
93 static Constant *getTrue(Type *Ty);
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DSjLjEHPrepare.cpp256 Value *TrueValue = ConstantInt::getTrue(F.getContext()); in lowerIncomingArguments()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Vectorize/
H A DVPlanTransforms.cpp527 {Plan.getOrAddExternalDef(ConstantInt::getTrue(Ctx))}); in optimizeForVFAndUF()

1234