Home
last modified time | relevance | path

Searched refs:setIsExact (Results 1 – 18 of 18) sorted by relevance

/llvm-project-15.0.7/llvm/lib/IR/
H A DInstruction.cpp131 void Instruction::setIsExact(bool b) { in setIsExact() function in Instruction
132 cast<PossiblyExactOperator>(this)->setIsExact(b); in setIsExact()
161 cast<PossiblyExactOperator>(this)->setIsExact(false); in dropPoisonGeneratingFlags()
310 setIsExact(PE->isExact()); in copyIRFlags()
332 setIsExact(isExact() && PE->isExact()); in andIRFlags()
H A DConstants.cpp3487 BO->setIsExact(SubclassOptionalData & PossiblyExactOperator::IsExact); in getAsInstruction()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp154 NewShift->setIsExact(Sh0->isExact() && Sh1->isExact()); in reassociateShiftAmtsOfTwoSameDirectionShifts()
448 NewShiftOp->setIsExact(); in commonShiftTransforms()
600 InnerShift->setIsExact(false); in foldShiftedShift()
886 NewShr->setIsExact(true); in visitShl()
910 NewShr->setIsExact(OldShr->isExact()); in visitShl()
1098 NewLShr->setIsExact(I.isExact()); in visitLShr()
1282 I.setIsExact(); in visitLShr()
1403 NewAShr->setIsExact(I.isExact()); in visitAShr()
1447 I.setIsExact(); in visitAShr()
H A DInstCombineMulDivRem.cpp76 I->setIsExact(); in simplifyValueKnownNonZero()
829 NewDiv->setIsExact(I.isExact()); in commonIDivTransforms()
856 BO->setIsExact(I.isExact()); in commonIDivTransforms()
1053 BO->setIsExact(); in visitUDiv()
1166 BO->setIsExact(I.isExact()); in visitSDiv()
1194 BO->setIsExact(I.isExact()); in visitSDiv()
1213 BO->setIsExact(I.isExact()); in visitSDiv()
H A DInstCombineNegator.cpp276 NewInstr->setIsExact(I->isExact()); in visitImpl()
H A DInstCombineSimplifyDemanded.cpp736 LShr->setIsExact(cast<BinaryOperator>(I)->isExact()); in SimplifyDemandedUseBits()
1149 New->setIsExact(true); in simplifyShrShlDemandedBits()
H A DInstCombineSelect.cpp1224 FalseInst->setIsExact(false); in foldSelectValueEquivalence()
1248 FalseInst->setIsExact(); in foldSelectValueEquivalence()
H A DInstCombineVectorOps.cpp1750 New->setIsExact(BO->isExact()); in buildNew()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp766 BinOp->setIsExact(Instr->isExact()); in narrowSDivOrSRem()
810 BinOp->setIsExact(Instr->isExact()); in processUDivOrURem()
908 UDiv->setIsExact(SDI->isExact()); in processSDiv()
966 BO->setIsExact(SDI->isExact()); in processAShr()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DOperator.h136 void setIsExact(bool B) { in setIsExact() function
H A DInstruction.h364 void setIsExact(bool b = true);
H A DInstrTypes.h324 BO->setIsExact(true);
330 BO->setIsExact(true);
336 BO->setIsExact(true);
/llvm-project-15.0.7/llvm/lib/Transforms/AggressiveInstCombine/
H A DTruncInstCombine.cpp443 ResI->setIsExact(PEO->isExact()); in ReduceExpressionGraph()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp329 UDiv->setIsExact(SDiv->isExact()); in eliminateSDiv()
802 Shr->setIsExact(true); in strengthenRightShift()
/llvm-project-15.0.7/llvm/unittests/Transforms/Utils/
H A DCloningTest.cpp159 SDiv->setIsExact(true); in TEST_F()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUCodeGenPrepare.cpp355 Inst->setIsExact(ExactOp->isExact()); in promoteUniformOpToI32()
/llvm-project-15.0.7/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1577 I->setIsExact(); in materializeValue()
4712 cast<BinaryOperator>(I)->setIsExact(true); in parseFunctionBody()
/llvm-project-15.0.7/llvm/lib/AsmParser/
H A DLLParser.cpp6058 if (Exact) cast<BinaryOperator>(Inst)->setIsExact(true); in parseInstruction()