/external/llvm-project/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/swiftshader/third_party/llvm-10.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/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-10.0/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 122 static Constant *getTrue(Type *Ty) { in getTrue() function 123 return ConstantInt::getTrue(Ty); in getTrue() 167 getTrue(Cond->getType())); in simplifyCmpSelTrueCase() 1439 return ConstantInt::getTrue(UnsignedICmp->getType()); in simplifyUnsignedRangeCheck() 1518 return getTrue(UnsignedICmp->getType()); in simplifyUnsignedRangeCheck() 1569 return getTrue(Op0->getType()); in simplifyOrOfICmpsWithSameOperands() 1599 return getTrue(Cmp0->getType()); in simplifyAndOrOfICmpsWithConstants() 1748 return getTrue(ITy); in simplifyOrOfICmpsWithAdd() 1750 return getTrue(ITy); in simplifyOrOfICmpsWithAdd() 1754 return getTrue(ITy); in simplifyOrOfICmpsWithAdd() [all …]
|
D | GuardUtils.cpp | 53 Condition = ConstantInt::getTrue(IfTrueBB->getContext()); in parseWidenableBranch()
|
/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/llvm-project/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 122 static Constant *getTrue(Type *Ty) { in getTrue() function 123 return ConstantInt::getTrue(Ty); in getTrue() 167 getTrue(Cond->getType())); in simplifyCmpSelTrueCase() 1431 return ConstantInt::getTrue(UnsignedICmp->getType()); in simplifyUnsignedRangeCheck() 1512 return getTrue(UnsignedICmp->getType()); in simplifyUnsignedRangeCheck() 1563 return getTrue(Op0->getType()); in simplifyOrOfICmpsWithSameOperands() 1593 return getTrue(Cmp0->getType()); in simplifyAndOrOfICmpsWithConstants() 1805 return getTrue(ITy); in simplifyOrOfICmpsWithAdd() 1807 return getTrue(ITy); in simplifyOrOfICmpsWithAdd() 1811 return getTrue(ITy); in simplifyOrOfICmpsWithAdd() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUUnifyDivergentExitNodes.cpp | 159 B.getTrue(), // done in unifyReturnBlockSet() 160 B.getTrue(), // valid mask in unifyReturnBlockSet() 222 ConstantInt *BoolTrue = ConstantInt::getTrue(F.getContext()); in runOnFunction()
|
/external/llvm-project/llvm/unittests/Transforms/Utils/ |
D | SSAUpdaterBulkTest.cpp | 53 B.CreateCondBr(B.getTrue(), TrueBB, FalseBB); in TEST() 141 B.CreateCondBr(B.getTrue(), LoopMainBB, LoopStartBB); in TEST() 149 B.CreateCondBr(B.getTrue(), LoopStartBB, AfterLoopBB); in TEST()
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | AMDGPUUnifyDivergentExitNodes.cpp | 160 B.getTrue(), // done in unifyReturnBlockSet() 161 B.getTrue(), // valid mask in unifyReturnBlockSet() 231 ConstantInt *BoolTrue = ConstantInt::getTrue(F.getContext()); in runOnFunction()
|
/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/llvm-project/llvm/unittests/Analysis/ |
D | MemorySSATest.cpp | 85 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F() 123 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F() 213 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F() 257 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F() 309 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F() 345 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F() 391 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F() 435 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F() 488 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F() 533 B.CreateCondBr(B.getTrue(), Left, Right); in TEST_F() [all …]
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | LoopUnswitch.cpp | 580 Cond == ConstantInt::getTrue(Cond->getContext()) in isUnreachableDueToPreviousUnswitching() 708 unswitchIfProfitable(LoopCond, ConstantInt::getTrue(Context))) { in processCurrentLoop() 751 unswitchIfProfitable(LoopCond, ConstantInt::getTrue(Context), TI)) { in processCurrentLoop() 825 unswitchIfProfitable(LoopCond, ConstantInt::getTrue(Context))) { in processCurrentLoop() 929 else if (Val != ConstantInt::getTrue(Val->getContext())) { in emitPreheaderBranchOnCondition() 1078 } else if (BI->getCondition() == ConstantInt::getTrue(Context)) { in tryTrivialLoopUnswitch() 1127 CondVal = ConstantInt::getTrue(Context); in tryTrivialLoopUnswitch() 1539 ConstantInt::getTrue(Context), NewSISucc); in rewriteLoopBodyWithConditionConstant() 1643 return ConstantInt::getTrue(Ctx); in simplifyInstructionWithNotEqual()
|
D | LowerWidenableCondition.cpp | 61 CI->replaceAllUsesWith(ConstantInt::getTrue(CI->getContext())); in lowerWidenableCondition()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | LoopUnswitch.cpp | 577 Cond == ConstantInt::getTrue(Cond->getContext()) in isUnreachableDueToPreviousUnswitching() 703 UnswitchIfProfitable(LoopCond, ConstantInt::getTrue(Context))) { in processCurrentLoop() 745 UnswitchIfProfitable(LoopCond, ConstantInt::getTrue(Context), TI)) { in processCurrentLoop() 819 ConstantInt::getTrue(Context))) { in processCurrentLoop() 947 else if (Val != ConstantInt::getTrue(Val->getContext())) { in EmitPreheaderBranchOnCondition() 1097 } else if (BI->getCondition() == ConstantInt::getTrue(Context)) { in TryTrivialLoopUnswitch() 1146 CondVal = ConstantInt::getTrue(Context); in TryTrivialLoopUnswitch() 1560 ConstantInt::getTrue(Context), NewSISucc); in RewriteLoopBodyWithConditionConstant() 1668 return ConstantInt::getTrue(Ctx); in SimplifyInstructionWithNotEqual()
|
D | LowerWidenableCondition.cpp | 61 CI->replaceAllUsesWith(ConstantInt::getTrue(CI->getContext())); in lowerWidenableCondition()
|
/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/jackson-databind/src/test/java/com/fasterxml/jackson/databind/node/ |
D | TestJsonNode.java | 32 BooleanNode t = BooleanNode.getTrue(); in testBoolean() 57 assertEquals(result, BooleanNode.getTrue()); in testBoolean()
|
/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()
|
/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()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/node/ |
D | BooleanNode.java | 37 public static BooleanNode getTrue() { return TRUE; } in getTrue() method in BooleanNode
|
/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/llvm-project/llvm/include/llvm/Analysis/ |
D | ValueLattice.h | 467 ? ConstantInt::getTrue(Ty) : ConstantInt::getFalse(Ty); in getCompare() 478 return ConstantInt::getTrue(Ty); in getCompare()
|