Searched defs:CFP (Results 1 - 11 of 11) sorted by relevance
/external/llvm/include/llvm/CodeGen/ |
H A D | MachineOperand.h | 152 const ConstantFP *CFP; // For MO_FPImmediate. member in union:llvm::MachineOperand::__anon8446 411 return Contents.CFP; 551 static MachineOperand CreateFPImm(const ConstantFP *CFP) { 553 Op.Contents.CFP = CFP;
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeDAG.cpp | 133 SDValue ExpandConstantFP(ConstantFPSDNode *CFP, bool UseCP); 245 SelectionDAGLegalize::ExpandConstantFP(ConstantFPSDNode *CFP, bool UseCP) { argument 247 DebugLoc dl = CFP->getDebugLoc(); 255 EVT VT = CFP->getValueType(0); 256 ConstantFP *LLVMC = const_cast<ConstantFP*>(CFP->getConstantFPValue()); 267 if (ConstantFPSDNode::isValueValidForType(SVT, CFP->getValueAPF()) && 652 if (ConstantFPSDNode *CFP = dyn_cast<ConstantFPSDNode>(ST->getValue())) { 653 if (CFP->getValueType(0) == MVT::f32 && 655 SDValue Con = DAG.getConstant(CFP->getValueAPF(). 662 if (CFP [all...] |
H A D | SelectionDAG.cpp | 2807 if (ConstantFPSDNode *CFP = dyn_cast<ConstantFPSDNode>(N1)) 2808 if (CFP->getValueAPF().isZero()) 2811 if (ConstantFPSDNode *CFP = dyn_cast<ConstantFPSDNode>(N2)) 2812 if (CFP->getValueAPF().isZero()) 2816 if (ConstantFPSDNode *CFP = dyn_cast<ConstantFPSDNode>(N2)) 2817 if (CFP->getValueAPF().isZero()) 2820 ConstantFPSDNode *CFP = dyn_cast<ConstantFPSDNode>(N1); local 2824 if (!CFP) { 2825 CFP = dyn_cast<ConstantFPSDNode>(N2); 2829 if (CFP) { [all...] |
/external/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DwarfDebug.h | 83 const ConstantFP *CFP; member in union:llvm::DotDebugLocEntry::__anon8649 98 Constant(true) { Constants.CFP = FPtr; EntryKind = E_ConstantFP; } 118 const ConstantFP *getConstantFP() { return Constants.CFP; }
|
H A D | AsmPrinter.cpp | 1756 static void emitGlobalConstantFP(const ConstantFP *CFP, unsigned AddrSpace, argument 1758 if (CFP->getType()->isHalfTy()) { 1761 CFP->getValueAPF().toString(Str); 1764 uint64_t Val = CFP->getValueAPF().bitcastToAPInt().getZExtValue(); 1769 if (CFP->getType()->isFloatTy()) { 1771 float Val = CFP->getValueAPF().convertToFloat(); 1772 uint64_t IntVal = CFP->getValueAPF().bitcastToAPInt().getZExtValue(); 1776 uint64_t Val = CFP->getValueAPF().bitcastToAPInt().getZExtValue(); 1783 if (CFP->getType()->isDoubleTy()) { 1785 double Val = CFP [all...] |
/external/llvm/lib/Target/ARM/ |
H A D | ARMCodeEmitter.cpp | 681 const ConstantFP *CFP = static_cast<const ConstantFP*>(C); local 682 if (CFP->getType()->isFloatTy()) 683 emitWordLE(CFP->getValueAPF().bitcastToAPInt().getZExtValue()); 684 else if (CFP->getType()->isDoubleTy()) 685 emitDWordLE(CFP->getValueAPF().bitcastToAPInt().getZExtValue());
|
H A D | ARMFastISel.cpp | 191 unsigned ARMMaterializeFP(const ConstantFP *CFP, EVT VT); 511 unsigned ARMFastISel::ARMMaterializeFP(const ConstantFP *CFP, EVT VT) { argument 512 const APFloat Val = CFP->getValueAPF(); 538 unsigned Align = TD.getPrefTypeAlignment(CFP->getType()); 541 Align = TD.getTypeAllocSize(CFP->getType()); 543 unsigned Idx = MCP.getConstantPoolIndex(cast<Constant>(CFP), Align); 717 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(C)) 718 return ARMMaterializeFP(CFP, VT);
|
/external/llvm/lib/Target/CppBackend/ |
H A D | CPPBackend.cpp | 136 void printCFP(const ConstantFP* CFP); 215 void CppWriter::printCFP(const ConstantFP *CFP) { argument 217 APFloat APF = APFloat(CFP->getValueAPF()); // copy 218 if (CFP->getType() == Type::getFloatTy(CFP->getContext())) 229 if (CFP->getType() == Type::getDoubleTy(CFP->getContext())) 236 std::string StrVal = ftostr(CFP->getValueAPF()); 246 (CFP->isExactlyValue(atof(StrVal.c_str())))) { 247 if (CFP [all...] |
/external/llvm/lib/Target/NVPTX/ |
H A D | NVPTXAsmPrinter.cpp | 1688 if (ConstantFP *CFP = dyn_cast<ConstantFP>(CPV)) { 1689 printFPConstant(CFP, O); 1793 ConstantFP *CFP = dyn_cast<ConstantFP>(CPV); local 1794 const Type* Ty = CFP->getType(); 1796 float float32 = (float)CFP->getValueAPF().convertToFloat(); 1800 double float64 = CFP->getValueAPF().convertToDouble();
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCasts.cpp | 1132 static Constant *FitsInFPType(ConstantFP *CFP, const fltSemantics &Sem) { argument 1134 APFloat F = CFP->getValueAPF(); 1137 return ConstantFP::get(CFP->getContext(), F); 1151 if (ConstantFP *CFP = dyn_cast<ConstantFP>(V)) { 1152 if (CFP->getType() == Type::getPPC_FP128Ty(V->getContext())) 1155 if (Value *V = FitsInFPType(CFP, APFloat::IEEEhalf)) 1158 if (Value *V = FitsInFPType(CFP, APFloat::IEEEsingle)) 1160 if (CFP->getType()->isDoubleTy()) 1162 if (Value *V = FitsInFPType(CFP, APFloat::IEEEdouble))
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | LoopStrengthReduce.cpp | 1748 Constant *CFP = ConstantFP::get(DestTy, C->getZExtValue()); local 1752 NewPH, CFP, "IV.S.next.", Incr);
|
Completed in 185 milliseconds