/external/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 83 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/ |
D | NVPTXImageOptimizer.cpp | 94 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/ |
D | Language.java | 131 protected String getTrue() { in getTrue() method in Language 167 return getTrue(); in getBooleanValueText()
|
D | PythonLanguage.java | 47 protected String getTrue() { in getTrue() method in PythonLanguage
|
D | SquirrelLanguage.java | 49 protected String getTrue() { in getTrue() method in SquirrelLanguage
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 424 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 …]
|
D | InstCombineAndOrXor.cpp | 325 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/ |
D | LoopUnswitch.cpp | 547 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()
|
D | CorrelatedValuePropagation.cpp | 213 C->replaceAllUsesWith(ConstantInt::getTrue(C->getContext())); in processCmp() 356 ConstantInt::getTrue(C->getContext()) : in getConstantAt()
|
D | JumpThreading.cpp | 480 InterestingVal = ConstantInt::getTrue(I->getContext()); in ComputeValueKnownInPredecessors() 831 ConstantInt::getTrue(CondCmp->getType()) : in ProcessBlock() 1376 SplitVal = ConstantInt::getTrue(BB->getContext()); in ProcessBranchOnXOR()
|
D | EarlyCSE.cpp | 527 ConstantInt::getTrue(BB->getContext()) : in processNode()
|
D | StructurizeCFG.cpp | 278 BoolTrue = ConstantInt::getTrue(Context); in INITIALIZE_PASS_DEPENDENCY()
|
/external/llvm/unittests/Transforms/Utils/ |
D | Local.cpp | 30 BranchInst *br0 = builder.CreateCondBr(builder.getTrue(), bb0, bb1); in TEST()
|
/external/llvm/unittests/IR/ |
D | IRBuilderTest.cpp | 87 BranchInst *BI = Builder.CreateCondBr(Builder.getTrue(), TBB, FBB); in TEST_F() 96 BI = Builder.CreateCondBr(Builder.getTrue(), TBB, FBB, Weights); in TEST_F()
|
D | DominatorTreeTest.cpp | 190 BranchInst::Create(BB4, BB3, ConstantInt::getTrue(F.getContext()), BB1); in runOnFunction()
|
/external/llvm/lib/Target/AMDGPU/ |
D | SIAnnotateControlFlow.cpp | 126 BoolTrue = ConstantInt::getTrue(Context); in doInitialization()
|
/external/llvm/include/llvm/IR/ |
D | Constants.h | 64 static ConstantInt *getTrue(LLVMContext &Context); 66 static Constant *getTrue(Type *Ty);
|
/external/llvm/lib/CodeGen/ |
D | SjLjEHPrepare.cpp | 261 Value *TrueValue = ConstantInt::getTrue(F.getContext()); in lowerIncomingArguments()
|
D | AtomicExpandPass.cpp | 555 Success->addIncoming(ConstantInt::getTrue(Ctx), SuccessBB); in expandAtomicCmpXchg()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyIndVar.cpp | 178 ICmp->replaceAllUsesWith(ConstantInt::getTrue(ICmp->getContext())); in eliminateIVComparison()
|
D | IntegerDivision.cpp | 179 ConstantInt *True = Builder.getTrue(); in generateUnsignedDivisionCode()
|
D | SimplifyCFG.cpp | 2719 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/ |
D | Constants.cpp | 529 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/ |
D | CGExprScalar.cpp | 1657 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()
|
D | CGCleanup.cpp | 278 Builder.CreateStore(Builder.getTrue(), active); in initFullExprCleanup()
|