Home
last modified time | relevance | path

Searched refs:FastMathFlags (Results 1 – 20 of 20) sorted by relevance

/minix3/external/bsd/llvm/dist/llvm/include/llvm/IR/
H A DOperator.h165 class FastMathFlags {
169 FastMathFlags(unsigned F) : Flags(F) { } in FastMathFlags() function
180 FastMathFlags() : Flags(0) in FastMathFlags() function
209 void operator&=(const FastMathFlags &OtherFlags) {
223 (SubclassOptionalData & ~FastMathFlags::UnsafeAlgebra) | in setHasUnsafeAlgebra()
224 (B * FastMathFlags::UnsafeAlgebra); in setHasUnsafeAlgebra()
236 (SubclassOptionalData & ~FastMathFlags::NoNaNs) | in setHasNoNaNs()
237 (B * FastMathFlags::NoNaNs); in setHasNoNaNs()
241 (SubclassOptionalData & ~FastMathFlags::NoInfs) | in setHasNoInfs()
242 (B * FastMathFlags::NoInfs); in setHasNoInfs()
[all …]
H A DInstruction.h25 class FastMathFlags; variable
237 void setFastMathFlags(FastMathFlags FMF);
242 void copyFastMathFlags(FastMathFlags FMF);
262 FastMathFlags getFastMathFlags() const;
H A DIRBuilder.h58 FastMathFlags FMF;
180 FastMathFlags getFastMathFlags() const { return FMF; } in getFastMathFlags()
189 void SetFastMathFlags(FastMathFlags NewFMF) { FMF = NewFMF; } in SetFastMathFlags()
221 FastMathFlags FMF;
678 FastMathFlags FMF) const { in AddFPMathAttributes()
/minix3/external/bsd/llvm/dist/llvm/include/llvm/Analysis/
H A DInstructionSimplify.h44 class FastMathFlags; variable
69 Value *SimplifyFAddInst(Value *LHS, Value *RHS, FastMathFlags FMF,
78 Value *SimplifyFSubInst(Value *LHS, Value *RHS, FastMathFlags FMF,
87 Value *SimplifyFMulInst(Value *LHS, Value *RHS, FastMathFlags FMF,
/minix3/external/bsd/llvm/dist/llvm/unittests/IR/
H A DIRBuilderTest.cpp130 TEST_F(IRBuilderTest, FastMathFlags) { in TEST_F() argument
143 FastMathFlags FMF; in TEST_F()
267 FastMathFlags FMF; in TEST_F()
/minix3/external/bsd/llvm/dist/llvm/lib/IR/
H A DInstruction.cpp130 void Instruction::setFastMathFlags(FastMathFlags FMF) { in setFastMathFlags()
135 void Instruction::copyFastMathFlags(FastMathFlags FMF) { in copyFastMathFlags()
173 FastMathFlags Instruction::getFastMathFlags() const { in getFastMathFlags()
H A DInstructions.cpp2057 FastMathFlags FM = getFastMathFlags(); in andIRFlags()
/minix3/external/bsd/llvm/dist/llvm/lib/AsmParser/
H A DLLParser.h197 FastMathFlags EatFastMathFlagsIfPresent() { in EatFastMathFlagsIfPresent()
198 FastMathFlags FMF; in EatFastMathFlagsIfPresent()
H A DLLParser.cpp3672 FastMathFlags FMF = EatFastMathFlagsIfPresent(); in ParseInstruction()
/minix3/external/bsd/llvm/dist/llvm/lib/Analysis/
H A DInstructionSimplify.cpp793 static Value *SimplifyFAddInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFAddInst()
835 static Value *SimplifyFSubInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFSubInst()
872 FastMathFlags FMF, in SimplifyFMulInst()
962 Value *llvm::SimplifyFAddInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFAddInst()
971 Value *llvm::SimplifyFSubInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFSubInst()
980 Value *llvm::SimplifyFMulInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFMulInst()
3398 return SimplifyFAddInst(LHS, RHS, FastMathFlags(), Q, MaxRecurse); in SimplifyBinOp()
3404 return SimplifyFSubInst(LHS, RHS, FastMathFlags(), Q, MaxRecurse); in SimplifyBinOp()
3408 return SimplifyFMulInst (LHS, RHS, FastMathFlags(), Q, MaxRecurse); in SimplifyBinOp()
/minix3/external/bsd/llvm/dist/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp737 Flags |= FastMathFlags::UnsafeAlgebra; in GetOptimizationFlags()
739 Flags |= FastMathFlags::NoNaNs; in GetOptimizationFlags()
741 Flags |= FastMathFlags::NoInfs; in GetOptimizationFlags()
743 Flags |= FastMathFlags::NoSignedZeros; in GetOptimizationFlags()
745 Flags |= FastMathFlags::AllowReciprocal; in GetOptimizationFlags()
/minix3/external/bsd/llvm/dist/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp2693 FastMathFlags FMF; in ParseFunctionBody()
2694 if (0 != (Record[OpNum] & FastMathFlags::UnsafeAlgebra)) in ParseFunctionBody()
2696 if (0 != (Record[OpNum] & FastMathFlags::NoNaNs)) in ParseFunctionBody()
2698 if (0 != (Record[OpNum] & FastMathFlags::NoInfs)) in ParseFunctionBody()
2700 if (0 != (Record[OpNum] & FastMathFlags::NoSignedZeros)) in ParseFunctionBody()
2702 if (0 != (Record[OpNum] & FastMathFlags::AllowReciprocal)) in ParseFunctionBody()
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp1054 FastMathFlags Flags = AddOp->getFastMathFlags(); in visitSelectInst()
1074 FastMathFlags Flags = AddOp->getFastMathFlags(); in visitSelectInst()
H A DInstCombineMulDivRem.cpp1301 FastMathFlags Flags = I.getFastMathFlags(); in visitFDiv()
1313 FastMathFlags Flags = I.getFastMathFlags(); in visitFDiv()
H A DInstructionCombining.cpp181 FastMathFlags FMF = I.getFastMathFlags(); in ClearSubclassDataAfterReassociation()
329 FastMathFlags Flags = I.getFastMathFlags(); in SimplifyAssociativeOrCommutative()
H A DInstCombineAddSub.cpp488 FastMathFlags Flags; in performFactorization()
/minix3/external/bsd/llvm/dist/clang/lib/CodeGen/
H A DCodeGenFunction.cpp59 llvm::FastMathFlags FMF; in CodeGenFunction()
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp898 FastMathFlags Flags = I->getFastMathFlags(); in RewriteExprTree()
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp3485 FastMathFlags Unsafe; in tryToReduce()
H A DLoopVectorize.cpp2768 FastMathFlags Flags; in addFastMathFlag()