Home
last modified time | relevance | path

Searched refs:CFP (Results 1 – 25 of 99) sorted by relevance

1234

/external/llvm/lib/CodeGen/AsmPrinter/
DDebugLocEntry.h35 Value(const MDNode *Var, const MDNode *Expr, const ConstantFP *CFP) in Value()
37 Constant.CFP = CFP; in Value()
62 const ConstantFP *CFP; member
74 const ConstantFP *getConstantFP() const { return Constant.CFP; } in getConstantFP()
183 return A.Constant.CFP == B.Constant.CFP;
DAsmPrinter.cpp1978 static void emitGlobalConstantFP(const ConstantFP *CFP, AsmPrinter &AP) { in emitGlobalConstantFP() argument
1979 APInt API = CFP->getValueAPF().bitcastToAPInt(); in emitGlobalConstantFP()
1985 CFP->getValueAPF().toString(StrVal); in emitGlobalConstantFP()
1987 if (CFP->getType()) in emitGlobalConstantFP()
1988 CFP->getType()->print(AP.OutStreamer.GetCommentOS()); in emitGlobalConstantFP()
2004 !CFP->getType()->isPPC_FP128Ty()) { in emitGlobalConstantFP()
2023 AP.OutStreamer.EmitZeros(DL.getTypeAllocSize(CFP->getType()) - in emitGlobalConstantFP()
2024 DL.getTypeStoreSize(CFP->getType())); in emitGlobalConstantFP()
2202 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(CV)) in emitGlobalConstantImpl() local
2203 return emitGlobalConstantFP(CFP, AP); in emitGlobalConstantImpl()
/external/llvm/include/llvm/CodeGen/
DMachineOperand.h155 const ConstantFP *CFP; // For MO_FPImmediate. member
419 return Contents.CFP; in getFPImm()
509 void setFPImm(const ConstantFP *CFP) { in setFPImm() argument
511 Contents.CFP = CFP; in setFPImm()
580 static MachineOperand CreateFPImm(const ConstantFP *CFP) { in CreateFPImm() argument
582 Op.Contents.CFP = CFP; in CreateFPImm()
/external/llvm/lib/IR/
DConstants.cpp47 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this)) in isNegativeZeroValue() local
48 return CFP->isZero() && CFP->isNegative(); in isNegativeZeroValue()
68 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this)) in isZeroValue() local
69 return CFP->isZero(); in isZeroValue()
81 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this)) in isNullValue() local
82 return CFP->isZero() && !CFP->isNegative(); in isNullValue()
94 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this)) in isAllOnesValue() local
95 return CFP->getValueAPF().bitcastToAPInt().isAllOnesValue(); in isAllOnesValue()
116 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this)) in isOneValue() local
117 return CFP->getValueAPF().bitcastToAPInt() == 1; in isOneValue()
[all …]
DAsmWriter.cpp1048 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(CV)) { in WriteConstantInternal() local
1049 if (&CFP->getValueAPF().getSemantics() == &APFloat::IEEEsingle || in WriteConstantInternal()
1050 &CFP->getValueAPF().getSemantics() == &APFloat::IEEEdouble) { in WriteConstantInternal()
1057 bool isHalf = &CFP->getValueAPF().getSemantics()==&APFloat::IEEEhalf; in WriteConstantInternal()
1058 bool isDouble = &CFP->getValueAPF().getSemantics()==&APFloat::IEEEdouble; in WriteConstantInternal()
1059 bool isInf = CFP->getValueAPF().isInfinity(); in WriteConstantInternal()
1060 bool isNaN = CFP->getValueAPF().isNaN(); in WriteConstantInternal()
1062 double Val = isDouble ? CFP->getValueAPF().convertToDouble() : in WriteConstantInternal()
1063 CFP->getValueAPF().convertToFloat(); in WriteConstantInternal()
1088 APFloat apf = CFP->getValueAPF(); in WriteConstantInternal()
[all …]
/external/icu/icu4c/source/data/curr/
Dfa.txt821 "فرانک CFP",
933 one{"فرانک CFP"}
934 other{"فرانک CFP"}
Dur.txt645 "CFP فرانک",
1331 one{"CFP فرانک"}
1332 other{"CFP فرانکس"}
Dkn.txt625 "CFP ಫ್ರಾಂಕ್",
1311 one{"CFP ಫ್ರಾಂಕ್"}
1312 other{"CFP ಫ್ರಾಂಕ್"}
Dgu.txt625 "[CFP] ફ્રેંક",
1311 one{"[CFP] ફ્રેંક"}
1312 other{"[CFP] ફ્રેંક"}
Dmr.txt625 "[CFP] फ्रँक",
1311 one{"[CFP] फ्रँक"}
1312 other{"[CFP] फ्रँक्स"}
Dta.txt625 "ஃப்ராங்க் (CFP)",
1311 one{"ஃப்ராங்க் (CFP)"}
1312 other{"ஃப்ராங்குகள் (CFP)"}
Dmn.txt621 "CFP франк",
1310 one{"CFP франк"}
1311 other{"CFP франк"}
Dhi.txt709 "[CFP] फ़्रैंक",
1395 one{"[CFP] फ़्रैंक"}
1396 other{"[CFP] फ़्रैंक"}
Dpa.txt733 "ਫ੍ਰੈਂਕ (CFP)",
1512 one{"ਫ੍ਰੈਂਕ (CFP)"}
1513 other{"ਫ੍ਰੈਂਕ (CFP)"}
Dfr_CA.txt141 "franc CFP",
Dka.txt925 "CFP ფრანკი",
1642 one{"CFP ფრანკი"}
1643 other{"CFP ფრანკი"}
Dkm.txt621 "ហ្វ្រង់ CFP",
1155 other{"ហ្វ្រង់ CFP"}
Dbs_Cyrl.txt1042 "CFP франак",
2404 few{"CFP франка"}
2405 one{"CFP франак"}
2406 other{"CFP франци"}
Dsr.txt1049 "CFP франак",
2471 few{"CFP франка"}
2472 one{"CFP франак"}
2473 other{"CFP франака"}
/external/llvm/lib/Target/CppBackend/
DCPPBackend.cpp141 void printCFP(const ConstantFP* CFP);
220 void CppWriter::printCFP(const ConstantFP *CFP) { in printCFP() argument
222 APFloat APF = APFloat(CFP->getValueAPF()); // copy in printCFP()
223 if (CFP->getType() == Type::getFloatTy(CFP->getContext())) in printCFP()
234 if (CFP->getType() == Type::getDoubleTy(CFP->getContext())) in printCFP()
241 std::string StrVal = ftostr(CFP->getValueAPF()); in printCFP()
251 (CFP->isExactlyValue(atof(StrVal.c_str())))) { in printCFP()
252 if (CFP->getType() == Type::getDoubleTy(CFP->getContext())) in printCFP()
256 } else if (CFP->getType() == Type::getDoubleTy(CFP->getContext())) in printCFP()
258 << utohexstr(CFP->getValueAPF().bitcastToAPInt().getZExtValue()) in printCFP()
[all …]
/external/mesa3d/src/gallium/drivers/radeon/
DAMDGPUISelLowering.cpp293 if (ConstantFPSDNode * CFP = dyn_cast<ConstantFPSDNode>(Op)) { in isHWTrueValue() local
294 return CFP->isExactlyValue(1.0); in isHWTrueValue()
304 if (ConstantFPSDNode * CFP = dyn_cast<ConstantFPSDNode>(Op)) { in isHWFalseValue() local
305 return CFP->getValueAPF().isZero(); in isHWFalseValue()
/external/llvm/lib/Target/X86/
DX86TargetObjectFile.cpp141 const auto *CFP = cast<ConstantFP>(C); in scalarConstantToHexString() local
142 AI = CFP->getValueAPF().bitcastToAPInt(); in scalarConstantToHexString()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1145 static Constant *FitsInFPType(ConstantFP *CFP, const fltSemantics &Sem) { in FitsInFPType() argument
1147 APFloat F = CFP->getValueAPF(); in FitsInFPType()
1150 return ConstantFP::get(CFP->getContext(), F); in FitsInFPType()
1164 if (ConstantFP *CFP = dyn_cast<ConstantFP>(V)) { in LookThroughFPExtensions() local
1165 if (CFP->getType() == Type::getPPC_FP128Ty(V->getContext())) in LookThroughFPExtensions()
1168 if (Value *V = FitsInFPType(CFP, APFloat::IEEEhalf)) in LookThroughFPExtensions()
1171 if (Value *V = FitsInFPType(CFP, APFloat::IEEEsingle)) in LookThroughFPExtensions()
1173 if (CFP->getType()->isDoubleTy()) in LookThroughFPExtensions()
1175 if (Value *V = FitsInFPType(CFP, APFloat::IEEEdouble)) in LookThroughFPExtensions()
DInstCombineMulDivRem.cpp425 ConstantFP *CFP = dyn_cast_or_null<ConstantFP>(C->getAggregateElement(I)); in isFiniteNonZeroFp() local
426 if (!CFP || !CFP->getValueAPF().isFiniteNonZero()) in isFiniteNonZeroFp()
440 ConstantFP *CFP = dyn_cast_or_null<ConstantFP>(C->getAggregateElement(I)); in isNormalFp() local
441 if (!CFP || !CFP->getValueAPF().isNormal()) in isNormalFp()
/external/llvm/lib/Analysis/
DValueTracking.cpp2224 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(V)) in CannotBeNegativeZero() local
2225 return !CFP->getValueAPF().isNegZero(); in CannotBeNegativeZero()
2243 if (ConstantFP *CFP = dyn_cast<ConstantFP>(I->getOperand(1))) in CannotBeNegativeZero() local
2244 if (CFP->isNullValue()) in CannotBeNegativeZero()
2275 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(V)) in CannotBeOrderedLessThanZero() local
2276 return !CFP->getValueAPF().isNegative() || CFP->getValueAPF().isZero(); in CannotBeOrderedLessThanZero()
2346 if (ConstantFP *CFP = dyn_cast<ConstantFP>(V)) { in isBytewiseValue() local
2347 if (CFP->getType()->isFloatTy()) in isBytewiseValue()
2348 V = ConstantExpr::getBitCast(CFP, Type::getInt32Ty(V->getContext())); in isBytewiseValue()
2349 if (CFP->getType()->isDoubleTy()) in isBytewiseValue()
[all …]

1234