Home
last modified time | relevance | path

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

12

/external/llvm/include/llvm/IR/
DOperator.h164 class FastMathFlags {
168 FastMathFlags(unsigned F) : Flags(F) { } in FastMathFlags() function
179 FastMathFlags() : Flags(0) in FastMathFlags() function
208 void operator&=(const FastMathFlags &OtherFlags) {
222 (SubclassOptionalData & ~FastMathFlags::UnsafeAlgebra) | in setHasUnsafeAlgebra()
223 (B * FastMathFlags::UnsafeAlgebra); in setHasUnsafeAlgebra()
235 (SubclassOptionalData & ~FastMathFlags::NoNaNs) | in setHasNoNaNs()
236 (B * FastMathFlags::NoNaNs); in setHasNoNaNs()
240 (SubclassOptionalData & ~FastMathFlags::NoInfs) | in setHasNoInfs()
241 (B * FastMathFlags::NoInfs); in setHasNoInfs()
[all …]
DInstruction.h26 class FastMathFlags; variable
285 void setFastMathFlags(FastMathFlags FMF);
290 void copyFastMathFlags(FastMathFlags FMF);
310 FastMathFlags getFastMathFlags() const;
DIRBuilder.h80 FastMathFlags FMF;
193 FastMathFlags getFastMathFlags() const { return FMF; } in getFastMathFlags()
202 void setFastMathFlags(FastMathFlags NewFMF) { FMF = NewFMF; } in setFastMathFlags()
234 FastMathFlags FMF;
768 FastMathFlags FMF) const { in AddFPMathAttributes()
/external/llvm/include/llvm/Analysis/
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,
120 Value *SimplifyFDivInst(Value *LHS, Value *RHS, FastMathFlags FMF,
145 Value *SimplifyFRemInst(Value *LHS, Value *RHS, FastMathFlags FMF,
215 FastMathFlags FMF, const DataLayout &DL,
299 const FastMathFlags &FMF, const DataLayout &DL,
DTargetTransformInfo.h567 ArrayRef<Type *> Tys, FastMathFlags FMF) const;
571 ArrayRef<Value *> Args, FastMathFlags FMF) const;
725 FastMathFlags FMF) = 0;
728 FastMathFlags FMF) = 0;
948 FastMathFlags FMF) override { in getIntrinsicInstrCost()
953 FastMathFlags FMF) override { in getIntrinsicInstrCost()
DTargetTransformInfoImpl.h348 ArrayRef<Type *> Tys, FastMathFlags FMF) { in getIntrinsicInstrCost()
352 ArrayRef<Value *> Args, FastMathFlags FMF) { in getIntrinsicInstrCost()
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DInstruction.h35 class FastMathFlags; variable
310 void setFastMathFlags(FastMathFlags FMF);
315 void copyFastMathFlags(FastMathFlags FMF);
335 FastMathFlags getFastMathFlags() const;
/external/llvm/lib/Target/X86/
DX86TargetTransformInfo.h84 ArrayRef<Type *> Tys, FastMathFlags FMF);
86 ArrayRef<Value *> Args, FastMathFlags FMF);
DX86TargetTransformInfo.cpp947 ArrayRef<Type *> Tys, FastMathFlags FMF) { in getIntrinsicInstrCost()
1036 ArrayRef<Value *> Args, FastMathFlags FMF) { in getIntrinsicInstrCost()
/external/llvm/lib/IR/
DInstruction.cpp164 void Instruction::setFastMathFlags(FastMathFlags FMF) { in setFastMathFlags()
169 void Instruction::copyFastMathFlags(FastMathFlags FMF) { in copyFastMathFlags()
207 FastMathFlags Instruction::getFastMathFlags() const { in getFastMathFlags()
251 FastMathFlags FM = getFastMathFlags(); in andIRFlags()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp66 static Value *SimplifyFPBinOp(unsigned, Value *, Value *, const FastMathFlags &,
787 static Value *SimplifyFAddInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFAddInst()
826 static Value *SimplifyFSubInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFSubInst()
861 FastMathFlags FMF, in SimplifyFMulInst()
945 Value *llvm::SimplifyFAddInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFAddInst()
954 Value *llvm::SimplifyFSubInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFSubInst()
963 Value *llvm::SimplifyFMulInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFMulInst()
1099 static Value *SimplifyFDivInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFDivInst()
1133 Value *llvm::SimplifyFDivInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFDivInst()
1236 static Value *SimplifyFRemInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFRemInst()
[all …]
DTargetTransformInfo.cpp361 FastMathFlags FMF) const { in getIntrinsicInstrCost()
369 FastMathFlags FMF) const { in getIntrinsicInstrCost()
DCostModel.cpp507 FastMathFlags FMF; in getInstructionCost()
DValueTracking.cpp3691 static bool isKnownNonNaN(Value *V, FastMathFlags FMF) { in isKnownNonNaN()
3707 FastMathFlags FMF, in matchSelectPattern()
3912 FastMathFlags FMF; in matchSelectPattern()
/external/llvm/unittests/IR/
DIRBuilderTest.cpp131 TEST_F(IRBuilderTest, FastMathFlags) { in TEST_F() argument
144 FastMathFlags FMF; in TEST_F()
316 FastMathFlags FMF; in TEST_F()
/external/llvm/lib/AsmParser/
DLLParser.h187 FastMathFlags EatFastMathFlagsIfPresent() { in EatFastMathFlagsIfPresent()
188 FastMathFlags FMF; in EatFastMathFlagsIfPresent()
/external/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h674 ArrayRef<Value *> Args, FastMathFlags FMF) { in getIntrinsicInstrCost()
707 ArrayRef<Type *> Tys, FastMathFlags FMF) { in getIntrinsicInstrCost()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_misc.cpp798 llvm::FastMathFlags flags; in lp_create_builder()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp885 static FastMathFlags getDecodedFastMathFlags(unsigned Val) { in getDecodedFastMathFlags()
886 FastMathFlags FMF; in getDecodedFastMathFlags()
887 if (0 != (Val & FastMathFlags::UnsafeAlgebra)) in getDecodedFastMathFlags()
889 if (0 != (Val & FastMathFlags::NoNaNs)) in getDecodedFastMathFlags()
891 if (0 != (Val & FastMathFlags::NoInfs)) in getDecodedFastMathFlags()
893 if (0 != (Val & FastMathFlags::NoSignedZeros)) in getDecodedFastMathFlags()
895 if (0 != (Val & FastMathFlags::AllowReciprocal)) in getDecodedFastMathFlags()
4546 FastMathFlags FMF = getDecodedFastMathFlags(Record[OpNum]); in parseFunctionBody()
4811 FastMathFlags FMF; in parseFunctionBody()
5481 FastMathFlags FMF; in parseFunctionBody()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp882 FastMathFlags Flags = AddOp->getFastMathFlags(); in foldAddSubSelect()
901 FastMathFlags Flags = AddOp->getFastMathFlags(); in foldAddSubSelect()
DInstCombineMulDivRem.cpp1342 FastMathFlags Flags = I.getFastMathFlags(); in visitFDiv()
1354 FastMathFlags Flags = I.getFastMathFlags(); in visitFDiv()
/external/llvm/lib/Transforms/Utils/
DLoopUtils.cpp642 FastMathFlags FMF; in createMinMaxOp()
DSimplifyLibCalls.cpp1178 FastMathFlags FMF; in optimizeFMinFMax()
1227 FastMathFlags FMF; in optimizeLog()
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp1291 Flags |= FastMathFlags::UnsafeAlgebra; in getOptimizationFlags()
1293 Flags |= FastMathFlags::NoNaNs; in getOptimizationFlags()
1295 Flags |= FastMathFlags::NoInfs; in getOptimizationFlags()
1297 Flags |= FastMathFlags::NoSignedZeros; in getOptimizationFlags()
1299 Flags |= FastMathFlags::AllowReciprocal; in getOptimizationFlags()
/external/llvm/lib/Transforms/Vectorize/
DBBVectorize.cpp1127 FastMathFlags FMFCI; in areInstsCompatible()
1139 FastMathFlags FMFCJ; in areInstsCompatible()
1159 FastMathFlags FMFV = FMFCI; in areInstsCompatible()

12