/external/llvm/unittests/IR/ |
H A D | IRBuilderTest.cpp | 144 FastMathFlags FMF; local 145 Builder.SetFastMathFlags(FMF); 150 FMF.setUnsafeAlgebra(); 151 Builder.SetFastMathFlags(FMF); 180 FMF.clear(); 181 FMF.setAllowReciprocal(); 182 Builder.SetFastMathFlags(FMF); 198 FMF.clear(); 199 FMF.setAllowReciprocal(); 200 Builder.SetFastMathFlags(FMF); 306 FastMathFlags FMF; local [all...] |
/external/llvm/lib/IR/ |
H A D | Instruction.cpp | 141 void Instruction::setFastMathFlags(FastMathFlags FMF) { argument 143 cast<FPMathOperator>(this)->setFastMathFlags(FMF); 146 void Instruction::copyFastMathFlags(FastMathFlags FMF) { argument 148 cast<FPMathOperator>(this)->copyFastMathFlags(FMF);
|
/external/llvm/include/llvm/IR/ |
H A D | Operator.h | 255 /// FMF is a mask of the bits to set. 256 void setFastMathFlags(FastMathFlags FMF) { argument 257 SubclassOptionalData |= FMF.Flags; 261 /// All values in FMF are transferred to this operator. 262 void copyFastMathFlags(FastMathFlags FMF) { argument 263 SubclassOptionalData = FMF.Flags;
|
H A D | IRBuilder.h | 62 FastMathFlags FMF; member in class:llvm::IRBuilderBase 66 : Context(context), DefaultFPMathTag(FPMathTag), FMF() { 171 FastMathFlags getFastMathFlags() const { return FMF; } 174 void clearFastMathFlags() { FMF.clear(); } 180 void SetFastMathFlags(FastMathFlags NewFMF) { FMF = NewFMF; } 212 FastMathFlags FMF; member in class:llvm::IRBuilderBase::FastMathFlagGuard 221 : Builder(B), FMF(B.FMF), FPMathTag(B.DefaultFPMathTag) {} 224 Builder.FMF = FMF; [all...] |
/external/llvm/lib/AsmParser/ |
H A D | LLParser.h | 185 FastMathFlags FMF; local 188 case lltok::kw_fast: FMF.setUnsafeAlgebra(); Lex.Lex(); continue; 189 case lltok::kw_nnan: FMF.setNoNaNs(); Lex.Lex(); continue; 190 case lltok::kw_ninf: FMF.setNoInfs(); Lex.Lex(); continue; 191 case lltok::kw_nsz: FMF.setNoSignedZeros(); Lex.Lex(); continue; 192 case lltok::kw_arcp: FMF.setAllowReciprocal(); Lex.Lex(); continue; 193 default: return FMF; 195 return FMF;
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineSelect.cpp | 1084 auto FMF = cast<FPMathOperator>(SI.getCondition())->getFastMathFlags(); local 1085 Builder->SetFastMathFlags(FMF);
|
H A D | InstructionCombining.cpp | 164 FastMathFlags FMF = I.getFastMathFlags(); local 166 I.setFastMathFlags(FMF);
|
/external/llvm/lib/Transforms/Utils/ |
H A D | LoopUtils.cpp | 600 FastMathFlags FMF; local 601 FMF.setUnsafeAlgebra(); 602 Builder.SetFastMathFlags(FMF);
|
/external/clang/lib/CodeGen/ |
H A D | CodeGenFunction.cpp | 66 llvm::FastMathFlags FMF; local 68 FMF.setUnsafeAlgebra(); 70 FMF.setNoNaNs(); 71 FMF.setNoInfs(); 74 FMF.setNoNaNs(); 77 FMF.setNoSignedZeros(); 80 FMF.setAllowReciprocal(); 82 Builder.SetFastMathFlags(FMF);
|
/external/llvm/lib/Analysis/ |
H A D | InstructionSimplify.cpp | 788 static Value *SimplifyFAddInst(Value *Op0, Value *Op1, FastMathFlags FMF, argument 807 (FMF.noSignedZeros() || CannotBeNegativeZero(Op0))) 820 if ((FMF.noNaNs() || FSub->hasNoNaNs()) && 821 (FMF.noInfs() || FSub->hasNoInfs())) 830 static Value *SimplifyFSubInst(Value *Op0, Value *Op1, FastMathFlags FMF, argument 846 (FMF.noSignedZeros() || CannotBeNegativeZero(Op0))) 854 if (FMF.noSignedZeros() && match(Op1, m_FSub(m_AnyZero(), m_Value(X)))) 859 if (FMF.noNaNs() && Op0 == Op1) 867 FastMathFlags FMF, 886 if (FMF 866 SimplifyFMulInst(Value *Op0, Value *Op1, FastMathFlags FMF, const Query &Q, unsigned MaxRecurse) argument 957 SimplifyFAddInst(Value *Op0, Value *Op1, FastMathFlags FMF, const DataLayout &DL, const TargetLibraryInfo *TLI, const DominatorTree *DT, AssumptionCache *AC, const Instruction *CxtI) argument 966 SimplifyFSubInst(Value *Op0, Value *Op1, FastMathFlags FMF, const DataLayout &DL, const TargetLibraryInfo *TLI, const DominatorTree *DT, AssumptionCache *AC, const Instruction *CxtI) argument 975 SimplifyFMulInst(Value *Op0, Value *Op1, FastMathFlags FMF, const DataLayout &DL, const TargetLibraryInfo *TLI, const DominatorTree *DT, AssumptionCache *AC, const Instruction *CxtI) argument 1114 SimplifyFDivInst(Value *Op0, Value *Op1, FastMathFlags FMF, const Query &Q, unsigned) argument 1148 SimplifyFDivInst(Value *Op0, Value *Op1, FastMathFlags FMF, const DataLayout &DL, const TargetLibraryInfo *TLI, const DominatorTree *DT, AssumptionCache *AC, const Instruction *CxtI) argument 1254 SimplifyFRemInst(Value *Op0, Value *Op1, FastMathFlags FMF, const Query &, unsigned) argument 1273 SimplifyFRemInst(Value *Op0, Value *Op1, FastMathFlags FMF, const DataLayout &DL, const TargetLibraryInfo *TLI, const DominatorTree *DT, AssumptionCache *AC, const Instruction *CxtI) argument 3107 SimplifyFCmpInst(unsigned Predicate, Value *LHS, Value *RHS, FastMathFlags FMF, const Query &Q, unsigned MaxRecurse) argument 3221 SimplifyFCmpInst(unsigned Predicate, Value *LHS, Value *RHS, FastMathFlags FMF, const DataLayout &DL, const TargetLibraryInfo *TLI, const DominatorTree *DT, AssumptionCache *AC, const Instruction *CxtI) argument 3770 SimplifyFPBinOp(unsigned Opcode, Value *LHS, Value *RHS, const FastMathFlags &FMF, const Query &Q, unsigned MaxRecurse) argument 3793 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...] |
H A D | ValueTracking.cpp | 3842 static bool isKnownNonNaN(Value *V, FastMathFlags FMF) { argument 3843 if (FMF.noNaNs()) 3858 FastMathFlags FMF, 3875 if (!FMF.noSignedZeros() && !isKnownNonZero(CmpLHS) && 3889 bool LHSSafe = isKnownNonNaN(CmpLHS, FMF); 3890 bool RHSSafe = isKnownNonNaN(CmpRHS, FMF); 4058 FastMathFlags FMF; local 4060 FMF = CmpI->getFastMathFlags(); 4069 return ::matchSelectPattern(Pred, FMF, CmpLHS, CmpRHS, 4073 return ::matchSelectPattern(Pred, FMF, CmpLH 3857 matchSelectPattern(CmpInst::Predicate Pred, FastMathFlags FMF, Value *CmpLHS, Value *CmpRHS, Value *TrueVal, Value *FalseVal, Value *&LHS, Value *&RHS) argument [all...] |
/external/llvm/lib/Bitcode/Reader/ |
H A D | BitcodeReader.cpp | 830 FastMathFlags FMF; 832 FMF.setUnsafeAlgebra(); 834 FMF.setNoNaNs(); 836 FMF.setNoInfs(); 838 FMF.setNoSignedZeros(); 840 FMF.setAllowReciprocal(); 841 return FMF; 4108 FastMathFlags FMF = getDecodedFastMathFlags(Record[OpNum]); local 4109 if (FMF.any()) 4110 I->setFastMathFlags(FMF); 4373 FastMathFlags FMF; local 5034 FastMathFlags FMF; local [all...] |