Home
last modified time | relevance | path

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

123

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DOperator.h160 class FastMathFlags {
166 FastMathFlags(unsigned F) { in FastMathFlags() function
189 FastMathFlags() = default;
233 void operator&=(const FastMathFlags &OtherFlags) {
257 (SubclassOptionalData & ~FastMathFlags::AllowReassoc) | in setHasAllowReassoc()
258 (B * FastMathFlags::AllowReassoc); in setHasAllowReassoc()
263 (SubclassOptionalData & ~FastMathFlags::NoNaNs) | in setHasNoNaNs()
264 (B * FastMathFlags::NoNaNs); in setHasNoNaNs()
269 (SubclassOptionalData & ~FastMathFlags::NoInfs) | in setHasNoInfs()
270 (B * FastMathFlags::NoInfs); in setHasNoInfs()
[all …]
DInstruction.h35 class FastMathFlags; variable
355 void setFastMathFlags(FastMathFlags FMF);
360 void copyFastMathFlags(FastMathFlags FMF);
389 FastMathFlags getFastMathFlags() const;
/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;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DInstructionSimplify.h46 class FastMathFlags; variable
89 Value *SimplifyFAddInst(Value *LHS, Value *RHS, FastMathFlags FMF,
93 Value *SimplifyFSubInst(Value *LHS, Value *RHS, FastMathFlags FMF,
97 Value *SimplifyFMulInst(Value *LHS, Value *RHS, FastMathFlags FMF,
110 Value *SimplifyFDivInst(Value *LHS, Value *RHS, FastMathFlags FMF,
120 Value *SimplifyFRemInst(Value *LHS, Value *RHS, FastMathFlags FMF,
150 FastMathFlags FMF, const SimplifyQuery &Q);
198 FastMathFlags FMF, const SimplifyQuery &Q);
DTargetTransformInfo.h846 ArrayRef<Value *> Args, FastMathFlags FMF,
853 ArrayRef<Type *> Tys, FastMathFlags FMF,
1137 ArrayRef<Type *> Tys, FastMathFlags FMF,
1140 ArrayRef<Value *> Args, FastMathFlags FMF, unsigned VF) = 0;
1483 FastMathFlags FMF, unsigned ScalarizationCostPassed) override { in getIntrinsicInstrCost()
1488 ArrayRef<Value *> Args, FastMathFlags FMF, unsigned VF) override { in getIntrinsicInstrCost()
/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/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcompiler_functor.h37 llvm::FastMathFlags fast_math_flags,
69 const llvm::FastMathFlags fast_math_flags_;
Dllvm_ir_runtime.h46 llvm::FastMathFlags fast_math_flags);
Dsimple_orc_jit.h61 bool disable_expensive_passes, llvm::FastMathFlags fast_math_flags,
Dllvm_ir_runtime.cc88 int32 vector_width, llvm::FastMathFlags fast_math_flags) { in RewriteCalls()
392 llvm::FastMathFlags fast_math_flags) { in RewriteIRRuntimeFunctions()
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonTargetTransformInfo.h107 ArrayRef<Value*> Args, FastMathFlags FMF, unsigned VF);
109 ArrayRef<Type*> Tys, FastMathFlags FMF,
DHexagonTargetTransformInfo.cpp133 ArrayRef<Value*> Args, FastMathFlags FMF, unsigned VF) { in getIntrinsicInstrCost()
138 ArrayRef<Type*> Tys, FastMathFlags FMF, in getIntrinsicInstrCost()
/external/llvm/lib/Target/X86/
DX86TargetTransformInfo.h84 ArrayRef<Type *> Tys, FastMathFlags FMF);
86 ArrayRef<Value *> Args, FastMathFlags FMF);
/external/mesa3d/src/amd/llvm/
Dac_llvm_helper.cpp96 llvm::FastMathFlags flags; in ac_create_builder()
125 llvm::FastMathFlags flags = b->getFastMathFlags(); in ac_enable_signed_zeros()
139 llvm::FastMathFlags flags = b->getFastMathFlags(); in ac_disable_signed_zeros()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86TargetTransformInfo.h90 ArrayRef<Type *> Tys, FastMathFlags FMF,
93 ArrayRef<Value *> Args, FastMathFlags FMF,
/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/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dllvm_util.h41 class FastMathFlags; variable
258 llvm::FastMathFlags GetCpuFastMathFlags(const HloModuleConfig& module_config);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DInstruction.cpp183 void Instruction::setFastMathFlags(FastMathFlags FMF) { in setFastMathFlags()
188 void Instruction::copyFastMathFlags(FastMathFlags FMF) { in copyFastMathFlags()
233 FastMathFlags Instruction::getFastMathFlags() const { in getFastMathFlags()
280 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 …]
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DInstructionSimplify.cpp55 static Value *SimplifyFPBinOp(unsigned, Value *, Value *, const FastMathFlags &,
3473 FastMathFlags FMF, const SimplifyQuery &Q, in SimplifyFCmpInst()
3608 FastMathFlags FMF, const SimplifyQuery &Q) { in SimplifyFCmpInst()
4334 static Value *SimplifyFAddInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFAddInst()
4367 static Value *SimplifyFSubInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFSubInst()
4403 static Value *SimplifyFMulInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFMulInst()
4431 Value *llvm::SimplifyFAddInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFAddInst()
4437 Value *llvm::SimplifyFSubInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFSubInst()
4442 Value *llvm::SimplifyFMulInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFMulInst()
4447 static Value *SimplifyFDivInst(Value *Op0, Value *Op1, FastMathFlags FMF, in SimplifyFDivInst()
[all …]

123