/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 118 static Constant *getTrue(Type *Ty) { in getTrue() function 119 return ConstantInt::getTrue(Ty); in getTrue() 421 TCmp = getTrue(Cond->getType()); in ThreadCmpOverSelect() 427 TCmp = getTrue(Cond->getType()); in ThreadCmpOverSelect() 1415 return getTrue(UnsignedICmp->getType()); in simplifyUnsignedRangeCheck() 1473 return getTrue(Op0->getType()); in simplifyOrOfICmpsWithSameOperands() 1503 return getTrue(Cmp0->getType()); in simplifyAndOrOfICmpsWithConstants() 1649 return getTrue(ITy); in simplifyOrOfICmpsWithAdd() 1651 return getTrue(ITy); in simplifyOrOfICmpsWithAdd() 1655 return getTrue(ITy); in simplifyOrOfICmpsWithAdd() [all …]
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXImageOptimizer.cpp | 97 replaceWith(&I, ConstantInt::getTrue(I.getContext())); in replaceIsTypePSampler() 116 replaceWith(&I, ConstantInt::getTrue(I.getContext())); in replaceIsTypePSurface() 134 replaceWith(&I, ConstantInt::getTrue(I.getContext())); in replaceIsTypePTexture()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/ |
D | NVPTXImageOptimizer.cpp | 97 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()
|
/external/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 84 static Constant *getTrue(Type *Ty) { in getTrue() function 393 TCmp = getTrue(Cond->getType()); in ThreadCmpOverSelect() 399 TCmp = getTrue(Cond->getType()); in ThreadCmpOverSelect() 1488 return getTrue(UnsignedICmp->getType()); in simplifyUnsignedRangeCheck() 1712 return getTrue(ITy); in SimplifyOrOfICmps() 1714 return getTrue(ITy); in SimplifyOrOfICmps() 1718 return getTrue(ITy); in SimplifyOrOfICmps() 1720 return getTrue(ITy); in SimplifyOrOfICmps() 1726 return getTrue(ITy); in SimplifyOrOfICmps() 1729 return getTrue(ITy); in SimplifyOrOfICmps() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | InstructionSimplify.cpp | 63 static Constant *getTrue(Type *Ty) { in getTrue() function 1503 return getTrue(ITy); in SimplifyICmpInst() 1512 return getTrue(ITy); in SimplifyICmpInst() 1517 return getTrue(ITy); in SimplifyICmpInst() 1524 return getTrue(ITy); in SimplifyICmpInst() 1533 return getTrue(ITy); in SimplifyICmpInst() 1540 return getTrue(ITy); in SimplifyICmpInst() 1552 return ConstantInt::getTrue(CI->getContext()); in SimplifyICmpInst() 1604 return ConstantInt::getTrue(RHS->getContext()); in SimplifyICmpInst() 1677 return ConstantInt::getTrue(CI->getContext()); in SimplifyICmpInst() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Utils/ |
D | SSAUpdaterBulk.cpp | 54 B.CreateCondBr(B.getTrue(), TrueBB, FalseBB); in TEST() 142 B.CreateCondBr(B.getTrue(), LoopMainBB, LoopStartBB); in TEST() 150 B.CreateCondBr(B.getTrue(), LoopStartBB, AfterLoopBB); in TEST()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/language/ |
D | Language.java | 130 protected String getTrue() { in getTrue() method in Language 166 return getTrue(); in getBooleanValueText()
|
D | SquirrelLanguage.java | 48 protected String getTrue() { in getTrue() method in SquirrelLanguage
|
D | PythonLanguage.java | 46 protected String getTrue() { in getTrue() method in PythonLanguage
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 394 return ReplaceInstUsesWith(ICI, ConstantInt::getTrue(GEP->getContext())); in FoldCmpLoadFromIndexedGlobal() 697 return ReplaceInstUsesWith(ICI, ConstantInt::getTrue(X->getContext())); in FoldICmpAddOpCst() 873 return ReplaceInstUsesWith(ICI, ConstantInt::getTrue(ICI.getContext())); in FoldICmpDivCst() 885 return ReplaceInstUsesWith(ICI, ConstantInt::getTrue(ICI.getContext())); in FoldICmpDivCst() 894 return ReplaceInstUsesWith(ICI, ConstantInt::getTrue(ICI.getContext())); in FoldICmpDivCst() 1164 ConstantInt::getTrue(ICI.getContext())); in visitICmpInstWithInstAndIntCst() 1988 return ReplaceInstUsesWith(I, ConstantInt::getTrue(I.getType())); in visitICmpInst() 2025 return ReplaceInstUsesWith(I, ConstantInt::getTrue(I.getType())); in visitICmpInst() 2043 return ReplaceInstUsesWith(I, ConstantInt::getTrue(I.getType())); in visitICmpInst() 2062 return ReplaceInstUsesWith(I, ConstantInt::getTrue(I.getType())); in visitICmpInst() [all …]
|
D | InstCombineCalls.cpp | 253 uint64_t DontKnow = II->getArgOperand(1) == Builder->getTrue() ? 0 : -1ULL; in visitCallInst() 415 ConstantInt::getTrue(II->getContext()) in visitCallInst() 918 new StoreInst(ConstantInt::getTrue(Callee->getContext()), in visitCallSite() 939 new StoreInst(ConstantInt::getTrue(Callee->getContext()), in visitCallSite() 952 ConstantInt::getTrue(Callee->getContext()), II); in visitCallSite()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/ |
D | DeferredDominanceTest.cpp | 84 BranchInst::Create(BB1, BB2, ConstantInt::getTrue(F->getContext()), BB0); in TEST() 154 BranchInst::Create(BB1, BB2, ConstantInt::getTrue(F->getContext()), BB0); in TEST() 299 BranchInst::Create(BB1, BB3, ConstantInt::getTrue(F->getContext()), BB0); in TEST()
|
D | DomTreeUpdaterTest.cpp | 273 BranchInst::Create(BB1, BB2, ConstantInt::getTrue(F->getContext()), BB0); in TEST() 369 BranchInst::Create(BB1, BB3, ConstantInt::getTrue(F->getContext()), BB0); in TEST() 488 BranchInst::Create(BB1, BB2, ConstantInt::getTrue(F->getContext()), BB0); in TEST()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | LoopUnswitch.cpp | 554 Cond == ConstantInt::getTrue(Cond->getContext()) in isUnreachableDueToPreviousUnswitching() 679 UnswitchIfProfitable(LoopCond, ConstantInt::getTrue(Context))) { in processCurrentLoop() 720 UnswitchIfProfitable(LoopCond, ConstantInt::getTrue(Context), TI)) { in processCurrentLoop() 793 ConstantInt::getTrue(Context))) { in processCurrentLoop() 921 else if (Val != ConstantInt::getTrue(Val->getContext())) { in EmitPreheaderBranchOnCondition() 1066 } else if (BI->getCondition() == ConstantInt::getTrue(Context)) { in TryTrivialLoopUnswitch() 1114 CondVal = ConstantInt::getTrue(Context); in TryTrivialLoopUnswitch() 1503 ConstantInt::getTrue(Context), NewSISucc); in RewriteLoopBodyWithConditionConstant() 1613 return ConstantInt::getTrue(Ctx); in SimplifyInstructionWithNotEqual()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/ |
D | MemorySSA.cpp | 84 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F() 122 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F() 212 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F() 256 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F() 308 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F() 344 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F() 390 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F() 434 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F() 487 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F() 532 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F() [all …]
|
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/ |
D | RubyMap.java | 195 if (this == other) return context.runtime.getTrue(); in eq() 204 return context.runtime.getTrue(); in eq() 311 return this.table.containsKey(key) ? context.runtime.getTrue() : context.runtime.getFalse(); in hasKey()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopUnswitch.cpp | 569 UnswitchIfProfitable(LoopCond, ConstantInt::getTrue(Context))) { in processCurrentLoop() 604 UnswitchIfProfitable(LoopCond, ConstantInt::getTrue(Context), TI)) { in processCurrentLoop() 648 ConstantInt::getTrue(Context))) { in processCurrentLoop() 795 else if (Val != ConstantInt::getTrue(Val->getContext())) { in EmitPreheaderBranchOnCondition() 905 } else if (BI->getCondition() == ConstantInt::getTrue(Context)) { in TryTrivialLoopUnswitch() 944 CondVal = ConstantInt::getTrue(Context); in TryTrivialLoopUnswitch() 1303 ConstantInt::getTrue(Context), NewSISucc); in RewriteLoopBodyWithConditionConstant()
|
D | CorrelatedValuePropagation.cpp | 203 C->replaceAllUsesWith(ConstantInt::getTrue(C->getContext())); in processCmp() 403 ConstantInt::getTrue(C->getContext()) : in getConstantAt()
|
/external/llvm/unittests/Transforms/Utils/ |
D | MemorySSA.cpp | 80 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F() 121 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F() 164 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F()
|
D | Local.cpp | 30 BranchInst *br0 = builder.CreateCondBr(builder.getTrue(), bb0, bb1); in TEST()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 431 return replaceInstUsesWith(ICI, Builder->getTrue()); in FoldCmpLoadFromIndexedGlobal() 1313 return replaceInstUsesWith(ICI, Builder->getTrue()); in FoldICmpDivCst() 1325 return replaceInstUsesWith(ICI, Builder->getTrue()); in FoldICmpDivCst() 1334 return replaceInstUsesWith(ICI, Builder->getTrue()); in FoldICmpDivCst() 1742 return replaceInstUsesWith(ICI, Builder->getTrue()); in visitICmpInstWithInstAndIntCst() 2605 return SetResult(Builder->CreateAdd(LHS, RHS), Builder->getTrue(), true); in OptimizeOverflowCheck() 2646 return SetResult(Builder->CreateMul(LHS, RHS), Builder->getTrue(), true); in OptimizeOverflowCheck() 3353 return replaceInstUsesWith(I, Builder->getTrue()); in visitICmpInst() 3460 return replaceInstUsesWith(I, ConstantInt::getTrue(I.getType())); in visitICmpInst() 3504 return replaceInstUsesWith(I, ConstantInt::getTrue(I.getType())); in visitICmpInst() [all …]
|
/external/swiftshader/third_party/LLVM/unittests/Transforms/Utils/ |
D | Local.cpp | 30 BranchInst *br0 = builder.CreateCondBr(builder.getTrue(), bb0, bb1); in TEST()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 374 return replaceInstUsesWith(ICI, Builder.getTrue()); in foldCmpLoadFromIndexedGlobal() 1394 return replaceInstUsesWith(Cmp, Builder.getTrue()); in foldICmpWithConstant() 1566 return replaceInstUsesWith(Cmp, ConstantInt::getTrue(Cmp.getType())); in foldICmpAndShift() 2242 return replaceInstUsesWith(Cmp, Builder.getTrue()); in foldICmpDivConstant() 2257 return replaceInstUsesWith(Cmp, Builder.getTrue()); in foldICmpDivConstant() 2266 return replaceInstUsesWith(Cmp, Builder.getTrue()); in foldICmpDivConstant() 3263 return replaceInstUsesWith(I, ConstantInt::getTrue(I.getType())); in foldICmpBinOp() 3770 return SetResult(Builder.CreateAdd(LHS, RHS), Builder.getTrue(), true); in OptimizeOverflowCheck() 3813 return SetResult(Builder.CreateMul(LHS, RHS), Builder.getTrue(), true); in OptimizeOverflowCheck() 4307 : replaceInstUsesWith(I, ConstantInt::getTrue(I.getType())); in foldICmpUsingKnownBits() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | LoopUnswitch.cpp | 250 ConstantInt::getTrue(Context))) { in processCurrentLoop() 281 ConstantInt::getTrue(Context))) { in processCurrentLoop() 369 if (Val) *Val = ConstantInt::getTrue(Context); in IsTrivialUnswitchCondition() 496 else if (Val != ConstantInt::getTrue(Val->getContext())) in EmitPreheaderBranchOnCondition() 971 ConstantInt::getTrue(Context), NewSISucc); in RewriteLoopBodyWithConditionConstant()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Coroutines/ |
D | CoroCleanup.cpp | 74 II->replaceAllUsesWith(ConstantInt::getTrue(Context)); in lowerRemainingCoroIntrinsics()
|