reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/Analysis/InstructionSimplify.h
   47 class FastMathFlags;
include/llvm/IR/Instruction.h
   34 class FastMathFlags;

References

include/llvm/Analysis/IVDescriptors.h
   92                        FastMathFlags FMF, MinMaxRecurrenceKind MK,
  203   FastMathFlags getFastMathFlags() { return FMF; }
  246   FastMathFlags FMF;
include/llvm/Analysis/InstructionSimplify.h
  122 Value *SimplifyFNegInst(Value *Op, FastMathFlags FMF,
  134 Value *SimplifyFAddInst(Value *LHS, Value *RHS, FastMathFlags FMF,
  138 Value *SimplifyFSubInst(Value *LHS, Value *RHS, FastMathFlags FMF,
  142 Value *SimplifyFMulInst(Value *LHS, Value *RHS, FastMathFlags FMF,
  149 Value *SimplifyFMAFMul(Value *LHS, Value *RHS, FastMathFlags FMF,
  162 Value *SimplifyFDivInst(Value *LHS, Value *RHS, FastMathFlags FMF,
  172 Value *SimplifyFRemInst(Value *LHS, Value *RHS, FastMathFlags FMF,
  202                         FastMathFlags FMF, const SimplifyQuery &Q);
  247 Value *SimplifyUnOp(unsigned Opcode, Value *Op, FastMathFlags FMF,
  257                      FastMathFlags FMF, const SimplifyQuery &Q);
include/llvm/Analysis/TargetTransformInfo.h
  989                             ArrayRef<Value *> Args, FastMathFlags FMF,
  996                             ArrayRef<Type *> Tys, FastMathFlags FMF,
 1329                       ArrayRef<Type *> Tys, FastMathFlags FMF,
 1332          ArrayRef<Value *> Args, FastMathFlags FMF, unsigned VF) = 0;
 1746                FastMathFlags FMF, unsigned ScalarizationCostPassed) override {
 1751        ArrayRef<Value *> Args, FastMathFlags FMF, unsigned VF) override {
include/llvm/Analysis/TargetTransformInfoImpl.h
  476                                  ArrayRef<Type *> Tys, FastMathFlags FMF,
  481             ArrayRef<Value *> Args, FastMathFlags FMF, unsigned VF) {
include/llvm/CodeGen/BasicTTIImpl.h
 1061                                  ArrayRef<Value *> Args, FastMathFlags FMF,
 1169       Intrinsic::ID IID, Type *RetTy, ArrayRef<Type *> Tys, FastMathFlags FMF,
include/llvm/IR/IRBuilder.h
   97   FastMathFlags FMF;
  216   FastMathFlags getFastMathFlags() const { return FMF; }
  225   void setFastMathFlags(FastMathFlags NewFMF) { FMF = NewFMF; }
  303     FastMathFlags FMF;
 1084                           FastMathFlags FMF) const {
 1491     FastMathFlags UseFMF = FMF;
 2085     FastMathFlags UseFMF = FMF;
include/llvm/IR/Instruction.h
  396   void setFastMathFlags(FastMathFlags FMF);
  401   void copyFastMathFlags(FastMathFlags FMF);
  430   FastMathFlags getFastMathFlags() const;
include/llvm/IR/Operator.h
  190   static FastMathFlags getFast() {
  191     FastMathFlags FMF;
  238   void operator&=(const FastMathFlags &OtherFlags) {
  262     (SubclassOptionalData & ~FastMathFlags::AllowReassoc) |
  263     (B * FastMathFlags::AllowReassoc);
  268       (SubclassOptionalData & ~FastMathFlags::NoNaNs) |
  269       (B * FastMathFlags::NoNaNs);
  274       (SubclassOptionalData & ~FastMathFlags::NoInfs) |
  275       (B * FastMathFlags::NoInfs);
  280       (SubclassOptionalData & ~FastMathFlags::NoSignedZeros) |
  281       (B * FastMathFlags::NoSignedZeros);
  286       (SubclassOptionalData & ~FastMathFlags::AllowReciprocal) |
  287       (B * FastMathFlags::AllowReciprocal);
  292         (SubclassOptionalData & ~FastMathFlags::AllowContract) |
  293         (B * FastMathFlags::AllowContract);
  298         (SubclassOptionalData & ~FastMathFlags::ApproxFunc) |
  299         (B * FastMathFlags::ApproxFunc);
  304   void setFastMathFlags(FastMathFlags FMF) {
  310   void copyFastMathFlags(FastMathFlags FMF) {
  317     return ((SubclassOptionalData & FastMathFlags::AllowReassoc) != 0 &&
  318             (SubclassOptionalData & FastMathFlags::NoNaNs) != 0 &&
  319             (SubclassOptionalData & FastMathFlags::NoInfs) != 0 &&
  320             (SubclassOptionalData & FastMathFlags::NoSignedZeros) != 0 &&
  321             (SubclassOptionalData & FastMathFlags::AllowReciprocal) != 0 &&
  322             (SubclassOptionalData & FastMathFlags::AllowContract) != 0 &&
  323             (SubclassOptionalData & FastMathFlags::ApproxFunc) != 0);
  328     return (SubclassOptionalData & FastMathFlags::AllowReassoc) != 0;
  333     return (SubclassOptionalData & FastMathFlags::NoNaNs) != 0;
  338     return (SubclassOptionalData & FastMathFlags::NoInfs) != 0;
  343     return (SubclassOptionalData & FastMathFlags::NoSignedZeros) != 0;
  348     return (SubclassOptionalData & FastMathFlags::AllowReciprocal) != 0;
  353     return (SubclassOptionalData & FastMathFlags::AllowContract) != 0;
  359     return (SubclassOptionalData & FastMathFlags::ApproxFunc) != 0;
  363   FastMathFlags getFastMathFlags() const {
lib/Analysis/IVDescriptors.cpp
  256   FastMathFlags FMF = FastMathFlags::getFast();
  256   FastMathFlags FMF = FastMathFlags::getFast();
lib/Analysis/InstructionSimplify.cpp
   55 static Value *simplifyFPUnOp(unsigned, Value *, const FastMathFlags &,
   59 static Value *SimplifyBinOp(unsigned, Value *, Value *, const FastMathFlags &,
 3477                                FastMathFlags FMF, const SimplifyQuery &Q,
 3659                               FastMathFlags FMF, const SimplifyQuery &Q) {
 4457 static Value *simplifyFNegInst(Value *Op, FastMathFlags FMF,
 4470 Value *llvm::SimplifyFNegInst(Value *Op, FastMathFlags FMF,
 4501 static Value *SimplifyFAddInst(Value *Op0, Value *Op1, FastMathFlags FMF,
 4548 static Value *SimplifyFSubInst(Value *Op0, Value *Op1, FastMathFlags FMF,
 4593 static Value *SimplifyFMAFMul(Value *Op0, Value *Op1, FastMathFlags FMF,
 4627 static Value *SimplifyFMulInst(Value *Op0, Value *Op1, FastMathFlags FMF,
 4636 Value *llvm::SimplifyFAddInst(Value *Op0, Value *Op1, FastMathFlags FMF,
 4642 Value *llvm::SimplifyFSubInst(Value *Op0, Value *Op1, FastMathFlags FMF,
 4647 Value *llvm::SimplifyFMulInst(Value *Op0, Value *Op1, FastMathFlags FMF,
 4652 Value *llvm::SimplifyFMAFMul(Value *Op0, Value *Op1, FastMathFlags FMF,
 4657 static Value *SimplifyFDivInst(Value *Op0, Value *Op1, FastMathFlags FMF,
 4697 Value *llvm::SimplifyFDivInst(Value *Op0, Value *Op1, FastMathFlags FMF,
 4702 static Value *SimplifyFRemInst(Value *Op0, Value *Op1, FastMathFlags FMF,
 4725 Value *llvm::SimplifyFRemInst(Value *Op0, Value *Op1, FastMathFlags FMF,
 4748                              const FastMathFlags &FMF,
 4762 Value *llvm::SimplifyUnOp(unsigned Opcode, Value *Op, FastMathFlags FMF,
 4817                             const FastMathFlags &FMF, const SimplifyQuery &Q,
 4839                            FastMathFlags FMF, const SimplifyQuery &Q) {
lib/Analysis/TargetTransformInfo.cpp
  683                                     ArrayRef<Type *> Tys, FastMathFlags FMF,
  692            ArrayRef<Value *> Args, FastMathFlags FMF, unsigned VF) const {
 1324       FastMathFlags FMF;
lib/Analysis/ValueTracking.cpp
 4442 static bool isKnownNonNaN(const Value *V, FastMathFlags FMF) {
 4762                                               FastMathFlags FMF,
 5076   FastMathFlags FMF;
lib/AsmParser/LLParser.cpp
 5716     FastMathFlags FMF = EatFastMathFlagsIfPresent();
 5744     FastMathFlags FMF = EatFastMathFlagsIfPresent();
 5772     FastMathFlags FMF = EatFastMathFlagsIfPresent();
 5797     FastMathFlags FMF = EatFastMathFlagsIfPresent();
 5814     FastMathFlags FMF = EatFastMathFlagsIfPresent();
 6778   FastMathFlags FMF = EatFastMathFlagsIfPresent();
lib/AsmParser/LLParser.h
  220     FastMathFlags EatFastMathFlagsIfPresent() {
  221       FastMathFlags FMF;
lib/Bitcode/Reader/BitcodeReader.cpp
 1157 static FastMathFlags getDecodedFastMathFlags(unsigned Val) {
 1158   FastMathFlags FMF;
 3879           FastMathFlags FMF = getDecodedFastMathFlags(Record[OpNum]);
 3915           FastMathFlags FMF = getDecodedFastMathFlags(Record[OpNum]);
 4119         FastMathFlags FMF = getDecodedFastMathFlags(Record[OpNum]);
 4193       FastMathFlags FMF;
 4669         FastMathFlags FMF = getDecodedFastMathFlags(Record[Record.size() - 1]);
 4997       FastMathFlags FMF;
lib/CodeGen/ExpandReductions.cpp
   89     FastMathFlags FMF =
lib/CodeGen/MachineInstr.cpp
  544     const FastMathFlags Flags = FP->getFastMathFlags();
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 8909   FastMathFlags FMF;
lib/IR/IRBuilder.cpp
  382     FastMathFlags FMF;
  393     FastMathFlags FMF;
lib/IR/Instruction.cpp
  184 void Instruction::setFastMathFlags(FastMathFlags FMF) {
  189 void Instruction::copyFastMathFlags(FastMathFlags FMF) {
  234 FastMathFlags Instruction::getFastMathFlags() const {
  281       FastMathFlags FM = getFastMathFlags();
lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
  558   FastMathFlags FMF = FPOp->getFastMathFlags();
  746   FastMathFlags FMF;
lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
  720     FastMathFlags FMF;
lib/Target/Hexagon/HexagonTargetTransformInfo.cpp
  134       ArrayRef<Value*> Args, FastMathFlags FMF, unsigned VF) {
  139       ArrayRef<Type*> Tys, FastMathFlags FMF,
lib/Target/Hexagon/HexagonTargetTransformInfo.h
  109             ArrayRef<Value*> Args, FastMathFlags FMF, unsigned VF);
  111             ArrayRef<Type*> Tys, FastMathFlags FMF,
lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
 1131                                           FastMathFlags FMF, unsigned VF) {
 1140                                           FastMathFlags FMF,
lib/Target/SystemZ/SystemZTargetTransformInfo.h
  102                             ArrayRef<Value *> Args, FastMathFlags FMF,
  105                             ArrayRef<Type *> Tys, FastMathFlags FMF,
lib/Target/X86/X86TargetTransformInfo.cpp
 1878                                       ArrayRef<Type *> Tys, FastMathFlags FMF,
 2282                                       ArrayRef<Value *> Args, FastMathFlags FMF,
lib/Target/X86/X86TargetTransformInfo.h
  149                             ArrayRef<Type *> Tys, FastMathFlags FMF,
  152                             ArrayRef<Value *> Args, FastMathFlags FMF,
lib/Transforms/InstCombine/InstCombineSelect.cpp
 1705           FastMathFlags Flags = AddOp->getFastMathFlags();
 1724         FastMathFlags Flags = AddOp->getFastMathFlags();
 2454           auto FMF =
lib/Transforms/InstCombine/InstructionCombining.cpp
  246   FastMathFlags FMF = I.getFastMathFlags();
  446           FastMathFlags Flags = I.getFastMathFlags();
  771     FastMathFlags FMF;
lib/Transforms/Scalar/Reassociate.cpp
  785         FastMathFlags Flags = I->getFastMathFlags();
lib/Transforms/Utils/LoopUtils.cpp
  772   FastMathFlags FMF;
lib/Transforms/Utils/SimplifyLibCalls.cpp
 1801   FastMathFlags FMF = CI->getFastMathFlags();
 1917   B.setFastMathFlags(FastMathFlags::getFast());
lib/Transforms/Vectorize/LoopVectorize.cpp
  342     cast<Instruction>(V)->setFastMathFlags(FastMathFlags::getFast());
  346 static Value *addFastMathFlag(Value *V, FastMathFlags FMF) {
 1933   FastMathFlags Flags;
 2862     FastMathFlags Flags;
 3269   FastMathFlags FMF;
lib/Transforms/Vectorize/SLPVectorizer.cpp
 3203       FastMathFlags FMF;
 6391     FastMathFlags Unsafe;
tools/clang/lib/CodeGen/CGExprScalar.cpp
  214 static void updateFastMathFlags(llvm::FastMathFlags &FMF,
  222     llvm::FastMathFlags FMF = I->getFastMathFlags();
tools/clang/lib/CodeGen/CodeGenFunction.cpp
   70   llvm::FastMathFlags FMF;
unittests/IR/IRBuilderTest.cpp
  411   FastMathFlags FMF;
  646     FastMathFlags FMF;