Home
last modified time | relevance | path

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

123

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXImageOptimizer.cpp97 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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DInstructionSimplify.cpp122 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 …]
DGuardUtils.cpp53 Condition = ConstantInt::getTrue(IfTrueBB->getContext()); in parseWidenableBranch()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUUnifyDivergentExitNodes.cpp159 B.getTrue(), // done in unifyReturnBlockSet()
160 B.getTrue(), // valid mask in unifyReturnBlockSet()
222 ConstantInt *BoolTrue = ConstantInt::getTrue(F.getContext()); in runOnFunction()
DSIAnnotateControlFlow.cpp147 BoolTrue = ConstantInt::getTrue(Context); in initialize()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopUnswitch.cpp577 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()
DLowerWidenableCondition.cpp61 CI->replaceAllUsesWith(ConstantInt::getTrue(CI->getContext())); in lowerWidenableCondition()
DLowerConstantIntrinsics.cpp46 return isa<Constant>(Op) ? ConstantInt::getTrue(II->getType()) in lowerIsConstantIntrinsic()
DEarlyCSE.cpp856 ? ConstantInt::getTrue(BB->getContext()) in handleBranchCondition()
966 AvailableValues.insert(CondI, ConstantInt::getTrue(BB->getContext())); in processNode()
1024 AvailableValues.insert(CondI, ConstantInt::getTrue(BB->getContext())); in processNode()
DLoopPredication.cpp409 return Builder.getTrue(); in expandCheck()
1098 WC->set(ConstantInt::getTrue(IfTrueBB->getContext())); in predicateLoopExits()
DJumpThreading.cpp705 InterestingVal = ConstantInt::getTrue(I->getContext()); in ComputeValueKnownInPredecessorsImpl()
880 ResC = ConstantInt::getTrue(CmpType); in ComputeValueKnownInPredecessorsImpl()
1136 ConstantInt::getTrue(CondCmp->getType()) : in ProcessBlock()
1821 SplitVal = ConstantInt::getTrue(BB->getContext()); in ProcessBranchOnXOR()
DNewGVN.cpp1554 return createConstantExpression(ConstantInt::getTrue(Cond->getType())); in performSymbolicPredicateInfoEvaluation()
1557 return createConstantExpression(ConstantInt::getTrue(Cond->getType())); in performSymbolicPredicateInfoEvaluation()
1855 return createConstantExpression(ConstantInt::getTrue(CI->getType())); in performSymbolicCmpEvaluation()
1860 return createConstantExpression(ConstantInt::getTrue(CI->getType())); in performSymbolicCmpEvaluation()
1923 ConstantInt::getTrue(CI->getType())); in performSymbolicCmpEvaluation()
1945 ConstantInt::getTrue(CI->getType())); in performSymbolicCmpEvaluation()
DSimpleLoopUnswitch.cpp542 : ConstantInt::getTrue(BI.getContext()); in unswitchTrivialBranch()
2232 Direction ? ConstantInt::getTrue(BI->getContext()) in unswitchNontrivialInvariants()
2236 : ConstantInt::getTrue(BI->getContext()); in unswitchNontrivialInvariants()
DLoopIdiomRecognize.cpp1506 {InitX, ZeroCheck ? ConstantInt::getTrue(InitX->getContext()) in recognizeAndInsertFFS()
1591 Value *Ops[] = {Val, ZeroCheck ? IRBuilder.getTrue() : IRBuilder.getFalse()}; in createFFSIntrinsic()
DGuardWidening.cpp396 : ConstantInt::getTrue(Instr->getContext()); in eliminateInstrViaWidening()
/third_party/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyMap.java195 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()
DUtils.java151 return (Boolean) value ? runtime.getTrue() : runtime.getFalse(); in wrapPrimaryValue()
DRubyMessage.java221 return runtime.getTrue(); in eq()
365 opts.fastASet(runtime.newSymbol("symbolize_names"), runtime.getTrue()); in decodeJson()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/
DCoroCleanup.cpp73 II->replaceAllUsesWith(ConstantInt::getTrue(Context)); in lowerRemainingCoroIntrinsics()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp345 return replaceInstUsesWith(ICI, Builder.getTrue()); in foldCmpLoadFromIndexedGlobal()
1506 return replaceInstUsesWith(Cmp, Builder.getTrue()); in foldICmpWithDominatingICmp()
1684 return replaceInstUsesWith(Cmp, ConstantInt::getTrue(Cmp.getType())); in foldICmpAndShift()
2458 return replaceInstUsesWith(Cmp, Builder.getTrue()); in foldICmpDivConstant()
2473 return replaceInstUsesWith(Cmp, Builder.getTrue()); in foldICmpDivConstant()
2482 return replaceInstUsesWith(Cmp, Builder.getTrue()); in foldICmpDivConstant()
3949 return replaceInstUsesWith(I, ConstantInt::getTrue(I.getType())); in foldICmpBinOp()
4530 Overflow = Builder.getTrue(); in OptimizeOverflowCheck()
5016 : replaceInstUsesWith(I, ConstantInt::getTrue(I.getType())); in foldICmpUsingKnownBits()
5066 return replaceInstUsesWith(I, ConstantInt::getTrue(I.getType())); in foldICmpUsingKnownBits()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DValueLattice.h309 return ConstantInt::getTrue(Ty); in getCompare()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DControlHeightReduction.cpp1838 ConstantInt::getTrue(F.getContext())); in createMergedBranch()
1851 Value *MergedCondition = ConstantInt::getTrue(F.getContext()); in fixupBranchesAndSelects()
1925 ConstantInt::getTrue(F.getContext()) : in fixupBranch()
1950 ConstantInt::getTrue(F.getContext()) : in fixupSelect()
1976 ConstantInt::getTrue(F.getContext()), Cond); in addToMergedCondition()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DConstants.h95 static ConstantInt *getTrue(LLVMContext &Context);
97 static Constant *getTrue(Type *Ty);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DSjLjEHPrepare.cpp247 Value *TrueValue = ConstantInt::getTrue(F.getContext()); in lowerIncomingArguments()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DIntegerDivision.cpp178 ConstantInt *True = Builder.getTrue(); in generateUnsignedDivisionCode()

123