Home
last modified time | relevance | path

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

123456

/external/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)
/external/llvm/include/llvm/IR/
DConstantFolder.h56 bool isExact = false) const {
57 return ConstantExpr::getUDiv(LHS, RHS, isExact);
60 bool isExact = false) const {
61 return ConstantExpr::getSDiv(LHS, RHS, isExact);
80 bool isExact = false) const {
81 return ConstantExpr::getLShr(LHS, RHS, isExact);
84 bool isExact = false) const {
85 return ConstantExpr::getAShr(LHS, RHS, isExact);
DNoFolder.h89 bool isExact = false) const {
90 if (!isExact)
98 bool isExact = false) const {
99 if (!isExact)
126 bool isExact = false) const {
127 if (!isExact)
132 bool isExact = false) const {
133 if (!isExact)
DIRBuilder.h845 bool isExact = false) {
848 return Insert(Folder.CreateUDiv(LC, RC, isExact), Name);
849 if (!isExact)
857 bool isExact = false) {
860 return Insert(Folder.CreateSDiv(LC, RC, isExact), Name);
861 if (!isExact)
917 bool isExact = false) {
920 return Insert(Folder.CreateLShr(LC, RC, isExact), Name);
921 if (!isExact)
926 bool isExact = false) {
[all …]
/external/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,
/external/llvm-project/llvm/include/llvm/IR/
DConstantFolder.h66 bool isExact = false) const override {
67 return ConstantExpr::getUDiv(LHS, RHS, isExact);
71 bool isExact = false) const override {
72 return ConstantExpr::getSDiv(LHS, RHS, isExact);
97 bool isExact = false) const override {
98 return ConstantExpr::getLShr(LHS, RHS, isExact);
102 bool isExact = false) const override {
103 return ConstantExpr::getAShr(LHS, RHS, isExact);
DNoFolder.h84 bool isExact = false) const override {
85 if (!isExact)
91 bool isExact = false) const override {
92 if (!isExact)
122 bool isExact = false) const override {
123 if (!isExact)
129 bool isExact = false) const override {
130 if (!isExact)
DIRBuilderFolder.h42 bool isExact = false) const = 0;
44 bool isExact = false) const = 0;
52 bool isExact = false) const = 0;
54 bool isExact = false) const = 0;
/external/llvm/include/llvm/Analysis/
DTargetFolder.h71 Constant *CreateUDiv(Constant *LHS, Constant *RHS, bool isExact = false)const{
72 return Fold(ConstantExpr::getUDiv(LHS, RHS, isExact));
74 Constant *CreateSDiv(Constant *LHS, Constant *RHS, bool isExact = false)const{
75 return Fold(ConstantExpr::getSDiv(LHS, RHS, isExact));
93 Constant *CreateLShr(Constant *LHS, Constant *RHS, bool isExact = false)const{
94 return Fold(ConstantExpr::getLShr(LHS, RHS, isExact));
96 Constant *CreateAShr(Constant *LHS, Constant *RHS, bool isExact = false)const{
97 return Fold(ConstantExpr::getAShr(LHS, RHS, isExact));
/external/llvm-project/llvm/include/llvm/Analysis/
DTargetFolder.h71 bool isExact = false) const override {
72 return Fold(ConstantExpr::getUDiv(LHS, RHS, isExact));
75 bool isExact = false) const override {
76 return Fold(ConstantExpr::getSDiv(LHS, RHS, isExact));
95 bool isExact = false) const override {
96 return Fold(ConstantExpr::getLShr(LHS, RHS, isExact));
99 bool isExact = false) const override {
100 return Fold(ConstantExpr::getAShr(LHS, RHS, isExact));
DInstructionSimplify.h86 bool isExact(const BinaryOperator *Op) const { in isExact() function
88 return cast<PossiblyExactOperator>(Op)->isExact(); in isExact()
203 Value *SimplifyLShrInst(Value *Op0, Value *Op1, bool isExact,
207 Value *SimplifyAShrInst(Value *Op0, Value *Op1, bool isExact,
/external/skqp/tests/
DDetermineDomainModeTest.cpp123 bool isExact, in create_proxy() argument
127 SkBackingFit fit = isExact ? SkBackingFit::kExact : SkBackingFit::kApprox; in create_proxy()
143 (isPowerOfTwo || isExact) ? RectInfo::kHard : RectInfo::kBad, in create_proxy()
144 (isPowerOfTwo || isExact) ? RectInfo::kHard : RectInfo::kBad, in create_proxy()
337 for (auto isExact : { true, false }) { in proxy_test()
341 isExact, &outermost); in proxy_test()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp601 ShiftOp->isExact()) { in FoldShiftByConstant()
620 NewLShr->setIsExact(I.isExact()); in FoldShiftByConstant()
639 NewAShr->setIsExact(I.isExact()); in FoldShiftByConstant()
652 ShiftOp->isExact()) { in FoldShiftByConstant()
742 if (Value *V = SimplifyLShrInst(I.getOperand(0), I.getOperand(1), I.isExact(), in visitLShr()
771 if (!I.isExact() && in visitLShr()
786 if (Value *V = SimplifyAShrInst(I.getOperand(0), I.getOperand(1), I.isExact(), in visitAShr()
816 if (!I.isExact() && in visitAShr()
DInstCombineMulDivRem.cpp60 if (I->getOpcode() == Instruction::LShr && !I->isExact()) { in simplifyValueKnownNonZero()
324 if (SDiv->isExact()) { in visitMul()
841 BO->setIsExact(I.isExact()); in commonIDivTransforms()
869 BO->setIsExact(I.isExact()); in commonIDivTransforms()
979 if (I.isExact()) in foldUDivPow2Cst()
1008 if (I.isExact()) in foldUDivShl()
1078 bool IsExact = I.isExact() && match(Op0, m_Exact(m_Value())); in visitUDiv()
1092 Builder->CreateUDiv(ZOp0->getOperand(0), ZOp1, "div", I.isExact()), in visitUDiv()
1149 if (I.isExact() && Op1C->isNonNegative() && Op1C->isPowerOf2()) { in visitSDiv()
1181 BO->setIsExact(I.isExact()); in visitSDiv()
[all …]
/external/llvm/lib/IR/
DInstruction.cpp119 bool Instruction::isExact() const { in isExact() function in Instruction
120 return cast<PossiblyExactOperator>(this)->isExact(); in isExact()
229 setIsExact(PE->isExact()); in copyIRFlags()
247 setIsExact(isExact() & PE->isExact()); in andIRFlags()
/external/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()
/external/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()
/external/llvm-project/llvm/lib/IR/
DInstruction.cpp164 bool Instruction::isExact() const { in isExact() function in Instruction
165 return cast<PossiblyExactOperator>(this)->isExact(); in isExact()
279 setIsExact(PE->isExact()); in copyIRFlags()
301 setIsExact(isExact() & PE->isExact()); in andIRFlags()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp149 NewShift->setIsExact(Sh0->isExact() && Sh1->isExact()); in reassociateShiftAmtsOfTwoSameDirectionShifts()
966 NewShr->setIsExact(OldShr->isExact()); in visitShl()
1033 if (Value *V = SimplifyLShrInst(I.getOperand(0), I.getOperand(1), I.isExact(), in visitLShr()
1072 NewLShr->setIsExact(I.isExact()); in visitLShr()
1076 Value *NewLShr = Builder.CreateLShr(X, ShiftDiff, "", I.isExact()); in visitLShr()
1149 if (!I.isExact() && in visitLShr()
1237 if (Value *V = SimplifyAShrInst(I.getOperand(0), I.getOperand(1), I.isExact(), in visitAShr()
1272 NewAShr->setIsExact(I.isExact()); in visitAShr()
1309 if (!I.isExact() && in visitAShr()
DInstCombineMulDivRem.cpp80 if (I->getOpcode() == Instruction::LShr && !I->isExact()) { in simplifyValueKnownNonZero()
282 if (Div->isExact()) { in visitMul()
745 NewDiv->setIsExact(I.isExact()); in commonIDivTransforms()
771 BO->setIsExact(I.isExact()); in commonIDivTransforms()
880 if (I.isExact()) in foldUDivPow2Cst()
904 if (I.isExact()) in foldUDivShl()
1007 bool IsExact = I.isExact() && match(Op0, m_Exact(m_Value())); in visitUDiv()
1108 if (I.isExact() && ((match(Op1, m_Power2()) && match(Op1, m_NonNegative())) || in visitSDiv()
1148 BO->setIsExact(I.isExact()); in visitSDiv()
1157 Builder.CreateSDiv(X, Y, I.getName(), I.isExact())); in visitSDiv()
[all …]
/external/skia/src/gpu/
DGrSurfaceProxyPriv.h34 bool isExact() const { return SkBackingFit::kExact == fProxy->fFit; } in isExact() function
/external/skqp/src/gpu/
DGrSurfaceProxyPriv.h52 bool isExact() const { return SkBackingFit::kExact == fProxy->fFit; } in isExact() function

123456