/external/llvm/unittests/IR/ |
H A D | IRBuilderTest.cpp | 145 FastMathFlags FMF; local 146 Builder.SetFastMathFlags(FMF); 151 FMF.setUnsafeAlgebra(); 152 Builder.SetFastMathFlags(FMF); 181 FMF.clear(); 182 FMF.setAllowReciprocal(); 183 Builder.SetFastMathFlags(FMF); 269 FastMathFlags FMF; local 270 FMF.setAllowReciprocal(); 271 Builder.SetFastMathFlags(FMF); [all...] |
/external/llvm/include/llvm/Analysis/ |
H A D | InstructionSimplify.h | 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, 280 const FastMathFlags &FMF, const DataLayout &DL,
|
/external/llvm/lib/AsmParser/ |
H A D | LLParser.h | 173 FastMathFlags FMF; local 176 case lltok::kw_fast: FMF.setUnsafeAlgebra(); Lex.Lex(); continue; 177 case lltok::kw_nnan: FMF.setNoNaNs(); Lex.Lex(); continue; 178 case lltok::kw_ninf: FMF.setNoInfs(); Lex.Lex(); continue; 179 case lltok::kw_nsz: FMF.setNoSignedZeros(); Lex.Lex(); continue; 180 case lltok::kw_arcp: FMF.setAllowReciprocal(); Lex.Lex(); continue; 181 default: return FMF; 183 return FMF;
|
H A D | LLParser.cpp | 4456 FastMathFlags FMF = EatFastMathFlagsIfPresent(); 4460 if (FMF.any()) 4461 Inst->setFastMathFlags(FMF);
|
/external/llvm/include/llvm/IR/ |
H A D | Operator.h | 256 /// FMF is a mask of the bits to set. 257 void setFastMathFlags(FastMathFlags FMF) { argument 258 SubclassOptionalData |= FMF.Flags; 262 /// All values in FMF are transferred to this operator. 263 void copyFastMathFlags(FastMathFlags FMF) { argument 264 SubclassOptionalData = FMF.Flags;
|
H A D | Instruction.h | 259 void setFastMathFlags(FastMathFlags FMF); 264 void copyFastMathFlags(FastMathFlags FMF);
|
H A D | IRBuilder.h | 59 FastMathFlags FMF; member in class:llvm::IRBuilderBase 63 : Context(context), DefaultFPMathTag(FPMathTag), FMF() { 179 FastMathFlags getFastMathFlags() const { return FMF; } 182 void clearFastMathFlags() { FMF.clear(); } 188 void SetFastMathFlags(FastMathFlags NewFMF) { FMF = NewFMF; } 220 FastMathFlags FMF; member in class:llvm::IRBuilderBase::FastMathFlagGuard 229 : Builder(B), FMF(B.FMF), FPMathTag(B.DefaultFPMathTag) {} 232 Builder.FMF = FMF; [all...] |
/external/llvm/lib/IR/ |
H A D | Instruction.cpp | 130 void Instruction::setFastMathFlags(FastMathFlags FMF) { argument 132 cast<FPMathOperator>(this)->setFastMathFlags(FMF); 135 void Instruction::copyFastMathFlags(FastMathFlags FMF) { argument 137 cast<FPMathOperator>(this)->copyFastMathFlags(FMF);
|
/external/llvm/lib/Analysis/ |
H A D | InstructionSimplify.cpp | 789 static Value *SimplifyFAddInst(Value *Op0, Value *Op1, FastMathFlags FMF, argument 808 (FMF.noSignedZeros() || CannotBeNegativeZero(Op0))) 821 if ((FMF.noNaNs() || FSub->hasNoNaNs()) && 822 (FMF.noInfs() || FSub->hasNoInfs())) 831 static Value *SimplifyFSubInst(Value *Op0, Value *Op1, FastMathFlags FMF, argument 847 (FMF.noSignedZeros() || CannotBeNegativeZero(Op0))) 855 if (FMF.noSignedZeros() && match(Op1, m_FSub(m_AnyZero(), m_Value(X)))) 860 if (FMF.noNaNs() && FMF.noInfs() && Op0 == Op1) 868 FastMathFlags FMF, 867 SimplifyFMulInst(Value *Op0, Value *Op1, FastMathFlags FMF, const Query &Q, unsigned MaxRecurse) argument 958 SimplifyFAddInst(Value *Op0, Value *Op1, FastMathFlags FMF, const DataLayout &DL, const TargetLibraryInfo *TLI, const DominatorTree *DT, AssumptionCache *AC, const Instruction *CxtI) argument 967 SimplifyFSubInst(Value *Op0, Value *Op1, FastMathFlags FMF, const DataLayout &DL, const TargetLibraryInfo *TLI, const DominatorTree *DT, AssumptionCache *AC, const Instruction *CxtI) argument 976 SimplifyFMulInst(Value *Op0, Value *Op1, FastMathFlags FMF, const DataLayout &DL, const TargetLibraryInfo *TLI, const DominatorTree *DT, AssumptionCache *AC, const Instruction *CxtI) argument 1115 SimplifyFDivInst(Value *Op0, Value *Op1, FastMathFlags FMF, const Query &Q, unsigned) argument 1134 SimplifyFDivInst(Value *Op0, Value *Op1, FastMathFlags FMF, const DataLayout &DL, const TargetLibraryInfo *TLI, const DominatorTree *DT, AssumptionCache *AC, const Instruction *CxtI) argument 1240 SimplifyFRemInst(Value *Op0, Value *Op1, FastMathFlags FMF, const Query &, unsigned) argument 1259 SimplifyFRemInst(Value *Op0, Value *Op1, FastMathFlags FMF, const DataLayout &DL, const TargetLibraryInfo *TLI, const DominatorTree *DT, AssumptionCache *AC, const Instruction *CxtI) argument 3496 SimplifyFPBinOp(unsigned Opcode, Value *LHS, Value *RHS, const FastMathFlags &FMF, const Query &Q, unsigned MaxRecurse) argument 3519 SimplifyFPBinOp(unsigned Opcode, Value *LHS, Value *RHS, const FastMathFlags &FMF, const DataLayout &DL, const TargetLibraryInfo *TLI, const DominatorTree *DT, AssumptionCache *AC, const Instruction *CxtI) argument [all...] |
/external/clang/lib/CodeGen/ |
H A D | CodeGenFunction.cpp | 60 llvm::FastMathFlags FMF; local 62 FMF.setUnsafeAlgebra(); 64 FMF.setNoNaNs(); 65 FMF.setNoInfs(); 68 FMF.setNoNaNs(); 71 FMF.setNoSignedZeros(); 74 FMF.setAllowReciprocal(); 76 Builder.SetFastMathFlags(FMF);
|
/external/llvm/lib/Bitcode/Reader/ |
H A D | BitcodeReader.cpp | 3426 FastMathFlags FMF; local 3428 FMF.setUnsafeAlgebra(); 3430 FMF.setNoNaNs(); 3432 FMF.setNoInfs(); 3434 FMF.setNoSignedZeros(); 3436 FMF.setAllowReciprocal(); 3437 if (FMF.any()) 3438 I->setFastMathFlags(FMF);
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 154 FastMathFlags FMF = I.getFastMathFlags(); local 156 I.setFastMathFlags(FMF);
|