Home
last modified time | relevance | path

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

12

/external/llvm/lib/Analysis/
DInstructionSimplify.cpp83 static Constant *getTrue(Type *Ty) { in getTrue() function
393 TCmp = getTrue(Cond->getType()); in ThreadCmpOverSelect()
399 TCmp = getTrue(Cond->getType()); in ThreadCmpOverSelect()
1493 return getTrue(UnsignedICmp->getType()); in simplifyUnsignedRangeCheck()
1693 return getTrue(ITy); in SimplifyOrOfICmps()
1695 return getTrue(ITy); in SimplifyOrOfICmps()
1699 return getTrue(ITy); in SimplifyOrOfICmps()
1701 return getTrue(ITy); in SimplifyOrOfICmps()
1707 return getTrue(ITy); in SimplifyOrOfICmps()
1710 return getTrue(ITy); in SimplifyOrOfICmps()
[all …]
/external/llvm/lib/Target/NVPTX/
DNVPTXImageOptimizer.cpp94 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()
/external/sl4a/Common/src/com/googlecode/android_scripting/language/
DLanguage.java131 protected String getTrue() { in getTrue() method in Language
167 return getTrue(); in getBooleanValueText()
DPythonLanguage.java47 protected String getTrue() { in getTrue() method in PythonLanguage
DSquirrelLanguage.java49 protected String getTrue() { in getTrue() method in SquirrelLanguage
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp424 return ReplaceInstUsesWith(ICI, Builder->getTrue()); in FoldCmpLoadFromIndexedGlobal()
987 return ReplaceInstUsesWith(ICI, Builder->getTrue()); in FoldICmpDivCst()
999 return ReplaceInstUsesWith(ICI, Builder->getTrue()); in FoldICmpDivCst()
1008 return ReplaceInstUsesWith(ICI, Builder->getTrue()); in FoldICmpDivCst()
1417 return ReplaceInstUsesWith(ICI, Builder->getTrue()); in visitICmpInstWithInstAndIntCst()
2247 return SetResult(Builder->CreateAdd(LHS, RHS), Builder->getTrue(), true); in OptimizeOverflowCheck()
2288 return SetResult(Builder->CreateMul(LHS, RHS), Builder->getTrue(), true); in OptimizeOverflowCheck()
3022 return ReplaceInstUsesWith(I, ConstantInt::getTrue(I.getType())); in visitICmpInst()
3066 return ReplaceInstUsesWith(I, ConstantInt::getTrue(I.getType())); in visitICmpInst()
3084 return ReplaceInstUsesWith(I, ConstantInt::getTrue(I.getType())); in visitICmpInst()
[all …]
DInstCombineAndOrXor.cpp325 return Builder->getTrue(); in InsertRangeTest()
2035 return Builder->getTrue(); in FoldOrOfICmps()
2087 return Builder->getTrue(); in FoldOrOfICmps()
2102 return Builder->getTrue(); in FoldOrOfICmps()
2122 return Builder->getTrue(); in FoldOrOfFCmps()
2695 (RHS == ConstantExpr::getCast(Opcode, Builder->getTrue(), in visitXor()
/external/llvm/lib/Transforms/Scalar/
DLoopUnswitch.cpp547 UnswitchIfProfitable(LoopCond, ConstantInt::getTrue(Context), TI)) { in processCurrentLoop()
591 ConstantInt::getTrue(Context))) { in processCurrentLoop()
738 else if (Val != ConstantInt::getTrue(Val->getContext())) { in EmitPreheaderBranchOnCondition()
848 } else if (BI->getCondition() == ConstantInt::getTrue(Context)) { in TryTrivialLoopUnswitch()
887 CondVal = ConstantInt::getTrue(Context); in TryTrivialLoopUnswitch()
1248 ConstantInt::getTrue(Context), NewSISucc); in RewriteLoopBodyWithConditionConstant()
DCorrelatedValuePropagation.cpp213 C->replaceAllUsesWith(ConstantInt::getTrue(C->getContext())); in processCmp()
356 ConstantInt::getTrue(C->getContext()) : in getConstantAt()
DJumpThreading.cpp480 InterestingVal = ConstantInt::getTrue(I->getContext()); in ComputeValueKnownInPredecessors()
831 ConstantInt::getTrue(CondCmp->getType()) : in ProcessBlock()
1376 SplitVal = ConstantInt::getTrue(BB->getContext()); in ProcessBranchOnXOR()
DEarlyCSE.cpp527 ConstantInt::getTrue(BB->getContext()) : in processNode()
DStructurizeCFG.cpp278 BoolTrue = ConstantInt::getTrue(Context); in INITIALIZE_PASS_DEPENDENCY()
/external/llvm/unittests/Transforms/Utils/
DLocal.cpp30 BranchInst *br0 = builder.CreateCondBr(builder.getTrue(), bb0, bb1); in TEST()
/external/llvm/unittests/IR/
DIRBuilderTest.cpp87 BranchInst *BI = Builder.CreateCondBr(Builder.getTrue(), TBB, FBB); in TEST_F()
96 BI = Builder.CreateCondBr(Builder.getTrue(), TBB, FBB, Weights); in TEST_F()
DDominatorTreeTest.cpp190 BranchInst::Create(BB4, BB3, ConstantInt::getTrue(F.getContext()), BB1); in runOnFunction()
/external/llvm/lib/Target/AMDGPU/
DSIAnnotateControlFlow.cpp126 BoolTrue = ConstantInt::getTrue(Context); in doInitialization()
/external/llvm/include/llvm/IR/
DConstants.h64 static ConstantInt *getTrue(LLVMContext &Context);
66 static Constant *getTrue(Type *Ty);
/external/llvm/lib/CodeGen/
DSjLjEHPrepare.cpp261 Value *TrueValue = ConstantInt::getTrue(F.getContext()); in lowerIncomingArguments()
DAtomicExpandPass.cpp555 Success->addIncoming(ConstantInt::getTrue(Ctx), SuccessBB); in expandAtomicCmpXchg()
/external/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp178 ICmp->replaceAllUsesWith(ConstantInt::getTrue(ICmp->getContext())); in eliminateIVComparison()
DIntegerDivision.cpp179 ConstantInt *True = Builder.getTrue(); in generateUnsignedDivisionCode()
DSimplifyCFG.cpp2719 BI->setCondition(ConstantInt::getTrue(BB->getContext())); in SimplifyCondBranchToCondBranch()
3073 V = ConstantInt::getTrue(BB->getContext()); in TryToSimplifyUncondBranchWithICmpInIt()
3091 Constant *DefaultCst = ConstantInt::getTrue(BB->getContext()); in TryToSimplifyUncondBranchWithICmpInIt()
3612 Cmp = ConstantInt::getTrue(SI->getContext()); in TurnSwitchRangeIntoICmp()
4427 Constant *TrueConst = ConstantInt::getTrue(RangeCmp->getType()); in reuseTableCompare()
/external/llvm/lib/IR/
DConstants.cpp529 ConstantInt *ConstantInt::getTrue(LLVMContext &Context) { in getTrue() function in ConstantInt
543 Constant *ConstantInt::getTrue(Type *Ty) { in getTrue() function in ConstantInt
547 return ConstantInt::getTrue(Ty->getContext()); in getTrue()
552 ConstantInt::getTrue(Ty->getContext())); in getTrue()
/external/clang/lib/CodeGen/
DCGExprScalar.cpp1657 llvm::Value *True = CGF.EmitToMemory(Builder.getTrue(), type); in EmitScalarPrePostIncDec()
1661 return Builder.getTrue(); in EmitScalarPrePostIncDec()
1710 value = Builder.getTrue(); in EmitScalarPrePostIncDec()
2766 BaseCheck->addIncoming(Builder.getTrue(), Orig); in EmitShl()
3172 PN->addIncoming(llvm::ConstantInt::getTrue(VMContext), *PI); in VisitBinLOr()
DCGCleanup.cpp278 Builder.CreateStore(Builder.getTrue(), active); in initFullExprCleanup()

12