Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DInstruction.cpp199 bool Instruction::hasAllowReassoc() const { in hasAllowReassoc() function in Instruction
201 return cast<FPMathOperator>(this)->hasAllowReassoc(); in hasAllowReassoc()
638 return cast<FPMathOperator>(this)->hasAllowReassoc() && in isAssociative()
DAsmWriter.cpp1259 if (FPO->hasAllowReassoc()) in WriteOptimizationInfo()
/external/llvm-project/llvm/lib/IR/
DInstruction.cpp223 bool Instruction::hasAllowReassoc() const { in hasAllowReassoc() function in Instruction
225 return cast<FPMathOperator>(this)->hasAllowReassoc(); in hasAllowReassoc()
668 return cast<FPMathOperator>(this)->hasAllowReassoc() && in isAssociative()
DAsmWriter.cpp1303 if (FPO->hasAllowReassoc()) in WriteOptimizationInfo()
/external/llvm-project/llvm/unittests/IR/
DIRBuilderTest.cpp461 EXPECT_FALSE(IFMF->hasAllowReassoc()); in TEST_F()
490 EXPECT_FALSE(FAdd->hasAllowReassoc()); in TEST_F()
500 EXPECT_TRUE(FAdd->hasAllowReassoc()); in TEST_F()
594 EXPECT_FALSE(FAdd->hasAllowReassoc()); in TEST_F()
604 EXPECT_TRUE(FAdd->hasAllowReassoc()); in TEST_F()
DInstructionsTest.cpp1271 EXPECT_FALSE(FNeg->hasAllowReassoc()); in TEST()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp434 if (I.hasAllowReassoc()) { in visitFMul()
1180 if (!I.hasAllowReassoc() || !I.hasAllowReciprocal()) in foldFDivConstantDividend()
1228 if (I.hasAllowReassoc() && I.hasAllowReciprocal()) { in visitFDiv()
1252 if (I.hasAllowReassoc() && Op0->hasOneUse() && Op1->hasOneUse()) { in visitFDiv()
1288 if (I.hasNoNaNs() && I.hasAllowReassoc() && in visitFDiv()
DInstCombineAddSub.cpp427 assert(I->hasAllowReassoc() && I->hasNoSignedZeros() && in simplify()
1435 assert(I.hasAllowReassoc() && I.hasNoSignedZeros() && in factorizeFAddFSub()
1574 if (I.hasAllowReassoc() && I.hasNoSignedZeros()) { in visitFAdd()
2258 if (I.hasAllowReassoc() && I.hasNoSignedZeros()) { in visitFSub()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp449 if (I.hasAllowReassoc()) { in visitFMul()
1241 if (!I.hasAllowReassoc() || !I.hasAllowReciprocal()) in foldFDivConstantDividend()
1292 if (I.hasAllowReassoc() && I.hasAllowReciprocal()) { in visitFDiv()
1316 if (I.hasAllowReassoc() && Op0->hasOneUse() && Op1->hasOneUse()) { in visitFDiv()
1345 if (I.hasNoNaNs() && I.hasAllowReassoc() && in visitFDiv()
DInstCombineAddSub.cpp427 assert(I->hasAllowReassoc() && I->hasNoSignedZeros() && in simplify()
1468 assert(I.hasAllowReassoc() && I.hasNoSignedZeros() && in factorizeFAddFSub()
1607 if (I.hasAllowReassoc() && I.hasNoSignedZeros()) { in visitFAdd()
2236 if (I.hasAllowReassoc() && I.hasNoSignedZeros()) { in visitFSub()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DInstruction.h407 bool hasAllowReassoc() const;
DOperator.h328 bool hasAllowReassoc() const { in hasAllowReassoc() function
/external/llvm-project/llvm/include/llvm/IR/
DOperator.h328 bool hasAllowReassoc() const { in hasAllowReassoc() function
DInstruction.h446 bool hasAllowReassoc() const;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DIVDescriptors.cpp559 if (!UAI && isa<FPMathOperator>(I) && !I->hasAllowReassoc()) in isRecurrenceInstr()
DInstructionSimplify.cpp5030 if (Q.CxtI->hasAllowReassoc() && in simplifyUnaryIntrinsic()
5035 if (Q.CxtI->hasAllowReassoc() && in simplifyUnaryIntrinsic()
5040 if (Q.CxtI->hasAllowReassoc() && in simplifyUnaryIntrinsic()
5045 if (Q.CxtI->hasAllowReassoc() && in simplifyUnaryIntrinsic()
5052 if (Q.CxtI->hasAllowReassoc() && in simplifyUnaryIntrinsic()
/external/llvm-project/llvm/lib/Analysis/
DIVDescriptors.cpp561 if (!UAI && isa<FPMathOperator>(I) && !I->hasAllowReassoc()) in isRecurrenceInstr()
DInstructionSimplify.cpp5217 if (Q.CxtI->hasAllowReassoc() && in simplifyUnaryIntrinsic()
5222 if (Q.CxtI->hasAllowReassoc() && in simplifyUnaryIntrinsic()
5227 if (Q.CxtI->hasAllowReassoc() && in simplifyUnaryIntrinsic()
5232 if (Q.CxtI->hasAllowReassoc() && in simplifyUnaryIntrinsic()
5239 if (Q.CxtI->hasAllowReassoc() && in simplifyUnaryIntrinsic()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h400 setAllowReassociation(FPMO.hasAllowReassoc());
/external/llvm-project/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h393 setAllowReassociation(FPMO.hasAllowReassoc());
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DIRTranslator.cpp2171 if (!CI.hasAllowReassoc()) { in translateKnownIntrinsic()
/external/llvm-project/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp1636 if (ExpoF->isNegative() && (!Pow->hasApproxFunc() && !Pow->hasAllowReassoc())) in replacePowWithSqrt()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp1649 if (ExpoF->isNegative() && (!Pow->hasApproxFunc() && !Pow->hasAllowReassoc())) in replacePowWithSqrt()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp1403 if (FPMO->hasAllowReassoc()) in getOptimizationFlags()
/external/llvm-project/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp1437 if (FPMO->hasAllowReassoc()) in getOptimizationFlags()