Home
last modified time | relevance | path

Searched refs:isExact (Results 1 – 25 of 60) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DConstantFolder.h63 bool isExact = false) const {
64 return ConstantExpr::getUDiv(LHS, RHS, isExact);
68 bool isExact = false) const {
69 return ConstantExpr::getSDiv(LHS, RHS, isExact);
94 bool isExact = false) const {
95 return ConstantExpr::getLShr(LHS, RHS, isExact);
99 bool isExact = false) const {
100 return ConstantExpr::getAShr(LHS, RHS, isExact);
DNoFolder.h102 bool isExact = false) const {
103 if (!isExact)
113 bool isExact = false) const {
114 if (!isExact)
148 bool isExact = false) const {
149 if (!isExact)
155 bool isExact = false) const {
156 if (!isExact)
DIRBuilder.h1263 bool isExact = false) {
1266 return Insert(Folder.CreateUDiv(LC, RC, isExact), Name);
1267 if (!isExact)
1277 bool isExact = false) {
1280 return Insert(Folder.CreateSDiv(LC, RC, isExact), Name);
1281 if (!isExact)
1322 bool isExact = false) {
1325 return Insert(Folder.CreateLShr(LC, RC, isExact), Name);
1326 if (!isExact)
1332 bool isExact = false) {
[all …]
DConstants.h941 static Constant *getUDiv(Constant *C1, Constant *C2, bool isExact = false);
942 static Constant *getSDiv(Constant *C1, Constant *C2, bool isExact = false);
952 static Constant *getLShr(Constant *C1, Constant *C2, bool isExact = false);
953 static Constant *getAShr(Constant *C1, Constant *C2, bool isExact = false);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DTargetFolder.h69 Constant *CreateUDiv(Constant *LHS, Constant *RHS, bool isExact = false)const{
70 return Fold(ConstantExpr::getUDiv(LHS, RHS, isExact));
72 Constant *CreateSDiv(Constant *LHS, Constant *RHS, bool isExact = false)const{
73 return Fold(ConstantExpr::getSDiv(LHS, RHS, isExact));
91 Constant *CreateLShr(Constant *LHS, Constant *RHS, bool isExact = false)const{
92 return Fold(ConstantExpr::getLShr(LHS, RHS, isExact));
94 Constant *CreateAShr(Constant *LHS, Constant *RHS, bool isExact = false)const{
95 return Fold(ConstantExpr::getAShr(LHS, RHS, isExact));
DInstructionSimplify.h83 bool isExact(const BinaryOperator *Op) const { in isExact() function
85 return cast<PossiblyExactOperator>(Op)->isExact(); in isExact()
180 Value *SimplifyLShrInst(Value *Op0, Value *Op1, bool isExact,
184 Value *SimplifyAShrInst(Value *Op0, Value *Op1, bool isExact,
/third_party/flutter/skia/tests/
DDetermineDomainModeTest.cpp125 bool isExact, in create_proxy() argument
131 SkBackingFit fit = isExact ? SkBackingFit::kExact : SkBackingFit::kApprox; in create_proxy()
147 (isPowerOfTwo || isExact) ? RectInfo::kHard : RectInfo::kBad, in create_proxy()
148 (isPowerOfTwo || isExact) ? RectInfo::kHard : RectInfo::kBad, in create_proxy()
341 for (auto isExact : { true, false }) { in proxy_test()
345 isExact, &outermost); in proxy_test()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp79 if (I->getOpcode() == Instruction::LShr && !I->isExact()) { in simplifyValueKnownNonZero()
316 if (Div->isExact()) { in visitMul()
718 NewDiv->setIsExact(I.isExact()); in commonIDivTransforms()
744 BO->setIsExact(I.isExact()); in commonIDivTransforms()
852 if (I.isExact()) in foldUDivPow2Cst()
876 if (I.isExact()) in foldUDivShl()
974 bool IsExact = I.isExact() && match(Op0, m_Exact(m_Value())); in visitUDiv()
1075 if (I.isExact() && Op1C->isNonNegative() && Op1C->isPowerOf2()) { in visitSDiv()
1104 BO->setIsExact(I.isExact()); in visitSDiv()
1113 Builder.CreateSDiv(X, Y, I.getName(), I.isExact())); in visitSDiv()
[all …]
DInstCombineShifts.cpp148 NewShift->setIsExact(Sh0->isExact() && Sh1->isExact()); in reassociateShiftAmtsOfTwoSameDirectionShifts()
1048 if (Value *V = SimplifyLShrInst(I.getOperand(0), I.getOperand(1), I.isExact(), in visitLShr()
1087 NewLShr->setIsExact(I.isExact()); in visitLShr()
1091 Value *NewLShr = Builder.CreateLShr(X, ShiftDiff, "", I.isExact()); in visitLShr()
1158 if (!I.isExact() && in visitLShr()
1246 if (Value *V = SimplifyAShrInst(I.getOperand(0), I.getOperand(1), I.isExact(), in visitAShr()
1281 NewAShr->setIsExact(I.isExact()); in visitAShr()
1312 if (!I.isExact() && in visitAShr()
DInstCombineSimplifyDemanded.cpp536 if (cast<LShrOperator>(I)->isExact()) in SimplifyDemandedUseBits()
579 if (cast<AShrOperator>(I)->isExact()) in SimplifyDemandedUseBits()
601 LShr->setIsExact(cast<BinaryOperator>(I)->isExact()); in SimplifyDemandedUseBits()
614 if (cast<UDivOperator>(I)->isExact()) in SimplifyDemandedUseBits()
987 if (cast<BinaryOperator>(Shr)->isExact()) in simplifyShrShlDemandedBits()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DInstruction.cpp145 bool Instruction::isExact() const { in isExact() function in Instruction
146 return cast<PossiblyExactOperator>(this)->isExact(); in isExact()
255 setIsExact(PE->isExact()); in copyIRFlags()
277 setIsExact(isExact() & PE->isExact()); in andIRFlags()
/third_party/skia/src/gpu/
DGrSurfaceProxyPriv.h34 bool isExact() const { return SkBackingFit::kExact == fProxy->fFit; } in isExact() function
DGrRenderTargetProxy.cpp139 colorSamplesPerPixel, GrMipmapped::kNo, !this->priv().isExact()); in onUninstantiatedGpuMemorySize()
DGrTextureRenderTargetProxy.cpp115 !this->priv().isExact()); in onUninstantiatedGpuMemorySize()
DGrTextureProxy.cpp158 !this->priv().isExact()); in onUninstantiatedGpuMemorySize()
/third_party/flutter/skia/src/gpu/
DGrSurfaceProxyPriv.h34 bool isExact() const { return SkBackingFit::kExact == fProxy->fFit; } in isExact() function
DGrRenderTargetProxy.cpp105 colorSamplesPerPixel, GrMipMapped::kNo, !this->priv().isExact()); in onUninstantiatedGpuMemorySize()
DGrTextureRenderTargetProxy.cpp91 !this->priv().isExact()); in onUninstantiatedGpuMemorySize()
DGrTextureProxy.cpp136 this->proxyMipMapped(), !this->priv().isExact()); in onUninstantiatedGpuMemorySize()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DPoisonChecking.cpp156 if (I.isExact()) { in generatePoisonChecksForBinOp()
165 if (I.isExact()) { in generatePoisonChecksForBinOp()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DDemandedBits.cpp209 if (cast<LShrOperator>(UserI)->isExact()) in determineLiveOperandBits()
229 if (cast<AShrOperator>(UserI)->isExact()) in determineLiveOperandBits()
DInstructionSimplify.cpp1287 Value *Op1, bool isExact, const SimplifyQuery &Q, in SimplifyRightShift() argument
1299 return isExact ? Op0 : Constant::getNullValue(Op0->getType()); in SimplifyRightShift()
1302 if (isExact) { in SimplifyRightShift()
1345 static Value *SimplifyLShrInst(Value *Op0, Value *Op1, bool isExact, in SimplifyLShrInst() argument
1347 if (Value *V = SimplifyRightShift(Instruction::LShr, Op0, Op1, isExact, Q, in SimplifyLShrInst()
1376 Value *llvm::SimplifyLShrInst(Value *Op0, Value *Op1, bool isExact, in SimplifyLShrInst() argument
1378 return ::SimplifyLShrInst(Op0, Op1, isExact, Q, RecursionLimit); in SimplifyLShrInst()
1383 static Value *SimplifyAShrInst(Value *Op0, Value *Op1, bool isExact, in SimplifyAShrInst() argument
1385 if (Value *V = SimplifyRightShift(Instruction::AShr, Op0, Op1, isExact, Q, in SimplifyAShrInst()
1407 Value *llvm::SimplifyAShrInst(Value *Op0, Value *Op1, bool isExact, in SimplifyAShrInst() argument
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DCorrelatedValuePropagation.cpp653 BinOp->setIsExact(Instr->isExact()); in processUDivOrURem()
690 BO->setIsExact(SDI->isExact()); in processSDiv()
713 BO->setIsExact(SDI->isExact()); in processAShr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp147 if (UseInst->isExact() && in foldIVUser()
307 UDiv->setIsExact(SDiv->isExact()); in eliminateSDiv()
778 if (!Shr->isExact() && IVRange.getUnsignedMin().uge(*C)) { in strengthenRightShift()
/third_party/skia/src/image/
DSkSurface_Gpu.cpp36 SkASSERT(fDevice->targetProxy()->priv().isExact()); in SkSurface_Gpu()
144 SkASSERT(srcView.proxy()->priv().isExact()); in onNewImageSnapshot()

123