/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/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/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 | PythonLanguage.java | 46 protected String getTrue() { in getTrue() method in PythonLanguage
|
D | SquirrelLanguage.java | 48 protected String getTrue() { in getTrue() method in SquirrelLanguage
|
/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()
|
D | InstCombineAndOrXor.cpp | 177 if (!isordered) return ConstantInt::getTrue(LHS->getContext()); in getFCmpValue() 363 return ConstantInt::getTrue(V->getContext()); in InsertRangeTest() 1587 return ConstantInt::getTrue(LHS->getContext()); in FoldOrOfICmps() 1640 return ConstantInt::getTrue(LHS->getContext()); in FoldOrOfICmps() 1655 return ConstantInt::getTrue(LHS->getContext()); in FoldOrOfICmps() 1676 return ConstantInt::getTrue(LHS->getContext()); in FoldOrOfFCmps() 2136 ConstantInt::getTrue(I.getContext()), in visitXor()
|
/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()
|
D | Utils.java | 150 return (Boolean) value ? runtime.getTrue() : runtime.getFalse(); in wrapPrimaryValue()
|
D | RubyMessage.java | 198 return runtime.getTrue(); in eq() 342 opts.fastASet(runtime.newSymbol("symbolize_names"), runtime.getTrue()); in decodeJson()
|
/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/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()
|
D | EarlyCSE.cpp | 519 ConstantInt::getTrue(BB->getContext()) : in processNode() 571 AvailableValues.insert(CondI, ConstantInt::getTrue(BB->getContext())); in processNode()
|
/external/swiftshader/third_party/LLVM/unittests/Transforms/Utils/ |
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/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()
|
D | CorrelatedValuePropagation.cpp | 167 C->replaceAllUsesWith(ConstantInt::getTrue(C->getContext())); in processCmp()
|
/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 | 191 BranchInst::Create(BB4, BB3, ConstantInt::getTrue(F.getContext()), BB1); in runOnFunction()
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | Constants.h | 58 static ConstantInt *getTrue(LLVMContext &Context); 60 static Constant *getTrue(Type *Ty);
|
/external/swiftshader/third_party/LLVM/unittests/ExecutionEngine/JIT/ |
D | JITTest.cpp | 347 Builder.CreateCall(Func2, ConstantInt::getTrue(Context)); in TEST_F() 348 Builder.CreateCall(Func3, ConstantInt::getTrue(Context)); in TEST_F()
|