HomeSort by: relevance | last modified time | path
    Searched defs:FMF (Results 1 - 15 of 15) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
ExpandReductions.cpp 108 FastMathFlags FMF =
116 Builder.setFastMathFlags(FMF);
125 if (!FMF.allowReassoc())
162 !FMF.noNaNs())
  /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
IVDescriptors.h 71 FastMathFlags FMF, Instruction *ExactFP, Type *RT,
74 : StartValue(Start), LoopExitInstr(Exit), Kind(K), FMF(FMF),
119 InstDesc &Prev, FastMathFlags FMF);
142 FastMathFlags FMF);
152 FastMathFlags FMF,
184 FastMathFlags getFastMathFlags() const { return FMF; }
251 FastMathFlags FMF;
TargetTransformInfo.h 123 FastMathFlags FMF;
150 FastMathFlags getFlags() const { return FMF; }
  /src/external/apache2/llvm/dist/llvm/include/llvm/AsmParser/
LLParser.h 207 FastMathFlags FMF;
210 case lltok::kw_fast: FMF.setFast(); Lex.Lex(); continue;
211 case lltok::kw_nnan: FMF.setNoNaNs(); Lex.Lex(); continue;
212 case lltok::kw_ninf: FMF.setNoInfs(); Lex.Lex(); continue;
213 case lltok::kw_nsz: FMF.setNoSignedZeros(); Lex.Lex(); continue;
214 case lltok::kw_arcp: FMF.setAllowReciprocal(); Lex.Lex(); continue;
216 FMF.setAllowContract(true);
219 case lltok::kw_reassoc: FMF.setAllowReassoc(); Lex.Lex(); continue;
220 case lltok::kw_afn: FMF.setApproxFunc(); Lex.Lex(); continue;
221 default: return FMF;
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/IR/
Operator.h 192 FastMathFlags FMF;
193 FMF.setFast();
194 return FMF;
307 /// FMF is a mask of the bits to set.
308 void setFastMathFlags(FastMathFlags FMF) {
309 SubclassOptionalData |= FMF.Flags;
313 /// All values in FMF are transferred to this operator.
314 void copyFastMathFlags(FastMathFlags FMF) {
315 SubclassOptionalData = FMF.Flags;
IRBuilder.h 127 FastMathFlags FMF;
294 FastMathFlags getFastMathFlags() const { return FMF; }
296 FastMathFlags &getFastMathFlags() { return FMF; }
299 void clearFastMathFlags() { FMF.clear(); }
305 void setFastMathFlags(FastMathFlags NewFMF) { FMF = NewFMF; }
391 FastMathFlags FMF;
399 : Builder(B), FMF(B.FMF), FPMathTag(B.DefaultFPMathTag),
408 Builder.FMF = FMF;
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
IVDescriptors.cpp 287 FastMathFlags FMF = FastMathFlags::getFast();
333 // FIXME: FMF is allowed on phi, but propagation is not handled correctly.
337 // Accept FMF on either fcmp or select of a min/max idiom.
338 // TODO: This is a hack to work-around the fact that FMF may not be
344 FMF &= CurFMF;
500 RecurrenceDescriptor RD(RdxStart, ExitInstruction, Kind, FMF,
596 InstDesc &Prev, FastMathFlags FMF) {
628 (FMF.noNaNs() && FMF.noSignedZeros() && isFPMinMaxRecurrenceKind(Kind)))
654 FastMathFlags FMF;
    [all...]
ValueTracking.cpp 4893 auto FMF = FP->getFastMathFlags();
4894 if (FMF.noNaNs() || FMF.noInfs())
5467 static bool isKnownNonNaN(const Value *V, FastMathFlags FMF) {
5468 if (FMF.noNaNs())
5817 FastMathFlags FMF,
5856 if (!FMF.noSignedZeros() && !isKnownNonZero(CmpLHS) &&
5870 bool LHSSafe = isKnownNonNaN(CmpLHS, FMF);
5871 bool RHSSafe = isKnownNonNaN(CmpRHS, FMF);
5992 (!FMF.noSignedZeros() && !isKnownNonZero(CmpLHS) &
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
PartialInlining.cpp 885 FastMathFlags FMF;
890 FMF = FPMO->getFastMathFlags();
892 IntrinsicCostAttributes ICA(IID, II->getType(), Tys, FMF);
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CodeGenFunction.cpp 124 llvm::FastMathFlags FMF;
125 FMF.setAllowReassoc(FPFeatures.getAllowFPReassociate());
126 FMF.setNoNaNs(FPFeatures.getNoHonorNaNs());
127 FMF.setNoInfs(FPFeatures.getNoHonorInfs());
128 FMF.setNoSignedZeros(FPFeatures.getNoSignedZero());
129 FMF.setAllowReciprocal(FPFeatures.getAllowReciprocal());
130 FMF.setApproxFunc(FPFeatures.getAllowApproxFunc());
131 FMF.setAllowContract(FPFeatures.allowFPContractAcrossStatement());
132 Builder.setFastMathFlags(FMF);
  /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
BasicTTIImpl.h 1304 FastMathFlags FMF = ICA.getFlags();
1381 IntrinsicCostAttributes Attrs(IID, RetTy, Args[0]->getType(), FMF, I, 1);
1387 IID, RetTy, {Args[0]->getType(), Args[1]->getType()}, FMF, I, 1);
1448 IntrinsicCostAttributes Attrs(IID, RetTy, ICA.getArgTypes(), FMF, I,
1463 FastMathFlags FMF = ICA.getFlags();
1517 IntrinsicCostAttributes ScalarAttrs(IID, ScalarRetTy, ScalarTys, FMF);
1699 IntrinsicCostAttributes Attrs(OverflowOp, OpTy, {RetTy, RetTy}, FMF,
1720 IntrinsicCostAttributes Attrs(OverflowOp, OpTy, {RetTy, RetTy}, FMF,
1921 IntrinsicCostAttributes Attrs(IID, RetTy->getScalarType(), ScalarTys, FMF);
  /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
AMDGPUCodeGenPrepare.cpp 755 FastMathFlags FMF = FPOp->getFastMathFlags();
756 const bool AllowInaccurateRcp = HasUnsafeFPMath || FMF.approxFunc();
765 Builder.setFastMathFlags(FMF);
1020 FastMathFlags FMF;
1021 FMF.setFast();
1022 Builder.setFastMathFlags(FMF);
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
InstCombineSelect.cpp 2833 // FIXME: The FMF should propagate from the select, not the fcmp.
2849 // FIXME: These folds should test/propagate FMF from the select, not the
2958 auto FMF =
2960 Builder.setFastMathFlags(FMF);
InstructionCombining.cpp 301 FastMathFlags FMF = I.getFastMathFlags();
303 I.setFastMathFlags(FMF);
830 FastMathFlags FMF;
833 FMF = I.getFastMathFlags();
834 Builder.setFastMathFlags(FMF);
844 True = SimplifyBinOp(Opcode, B, E, FMF, Q);
845 False = SimplifyBinOp(Opcode, C, F, FMF, Q);
856 True = SimplifyBinOp(Opcode, B, RHS, FMF, Q);
857 False = SimplifyBinOp(Opcode, C, RHS, FMF, Q);
861 True = SimplifyBinOp(Opcode, LHS, E, FMF, Q)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Bitcode/Reader/
BitcodeReader.cpp 1170 FastMathFlags FMF;
1172 FMF.setFast();
1174 FMF.setAllowReassoc();
1176 FMF.setNoNaNs();
1178 FMF.setNoInfs();
1180 FMF.setNoSignedZeros();
1182 FMF.setAllowReciprocal();
1184 FMF.setAllowContract(true);
1186 FMF.setApproxFunc();
1187 return FMF;
    [all...]

Completed in 108 milliseconds