/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/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/Transforms/InstCombine/ |
H A D | InstCombineAddSub.cpp | 356 if (ConstantFP *CFP = dyn_cast<ConstantFP>(RHSC)) { 357 if (CFP->isExactlyValue(ConstantFP::getNegativeZero 378 if (ConstantFP *CFP = dyn_cast<ConstantFP>(RHS)) 379 if (CFP->getValueAPF().isPosZero() && CannotBeNegativeZero(LHS)) 390 if (ConstantFP *CFP = dyn_cast<ConstantFP>(RHS)) { 392 ConstantExpr::getFPToSI(CFP, LHSConv->getOperand(0)->getType()); 394 ConstantExpr::getSIToFP(CI, I.getType()) == CFP &&
|
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/VMCore/ |
H A D | Constants.cpp | 47 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this)) 48 return CFP->isZero() && CFP->isNegative(); 60 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this)) 61 return CFP->isZero() && !CFP->isNegative(); 73 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this)) 74 return CFP->getValueAPF().bitcastToAPInt().isAllOnesValue(); 755 if (ConstantFP *CFP = dyn_cast<ConstantFP>(C)) { 756 if (CFP [all...] |
H A D | AsmWriter.cpp | 716 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(CV)) { 717 if (&CFP->getValueAPF().getSemantics() == &APFloat::IEEEsingle || 718 &CFP->getValueAPF().getSemantics() == &APFloat::IEEEdouble) { 725 bool isHalf = &CFP->getValueAPF().getSemantics()==&APFloat::IEEEhalf; 726 bool isDouble = &CFP->getValueAPF().getSemantics()==&APFloat::IEEEdouble; 727 bool isInf = CFP->getValueAPF().isInfinity(); 728 bool isNaN = CFP->getValueAPF().isNaN(); 730 double Val = isDouble ? CFP->getValueAPF().convertToDouble() : 731 CFP->getValueAPF().convertToFloat(); 756 APFloat apf = CFP [all...] |
/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/Analysis/ |
H A D | ValueTracking.cpp | 1300 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(V)) 1301 return !CFP->getValueAPF().isNegZero(); 1358 if (ConstantFP *CFP = dyn_cast<ConstantFP>(V)) { 1359 if (CFP->getType()->isFloatTy()) 1360 V = ConstantExpr::getBitCast(CFP, Type::getInt32Ty(V->getContext())); 1361 if (CFP->getType()->isDoubleTy()) 1362 V = ConstantExpr::getBitCast(CFP, Type::getInt64Ty(V->getContext()));
|
H A D | InstructionSimplify.cpp | 2445 if (ConstantFP *CFP = dyn_cast<ConstantFP>(RHSC)) { 2446 if (CFP->getValueAPF().isNaN()) { 2448 return ConstantInt::getFalse(CFP->getContext()); 2452 return ConstantInt::getTrue(CFP->getContext()); 2455 if (CFP->getValueAPF().isInfinity()) { 2456 if (CFP->getValueAPF().isNegative()) { 2460 return ConstantInt::getFalse(CFP->getContext()); 2463 return ConstantInt::getTrue(CFP->getContext()); 2471 return ConstantInt::getFalse(CFP->getContext()); 2474 return ConstantInt::getTrue(CFP [all...] |
H A D | ConstantFolding.cpp | 301 if (ConstantFP *CFP = dyn_cast<ConstantFP>(C)) { 302 if (CFP->getType()->isDoubleTy()) { 306 if (CFP->getType()->isFloatTy()){
|
/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/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...] |
H A D | InstrEmitter.cpp | 369 const ConstantFP *CFP = F->getConstantFPValue(); 370 MI->addOperand(MachineOperand::CreateFPImm(CFP));
|
H A D | TargetLowering.cpp | 2379 } else if (ConstantFPSDNode *CFP = dyn_cast<ConstantFPSDNode>(N1.getNode())) { 2382 if (CFP->getValueAPF().isNaN()) { 2408 if (CFP->getValueAPF().isInfinity()) { 2409 if (CFP->getValueAPF().isNegative()) {
|
H A D | DAGCombiner.cpp | 7474 if (ConstantFPSDNode *CFP = dyn_cast<ConstantFPSDNode>(Value)) { 7481 switch (CFP->getValueType(0).getSimpleVT().SimpleTy) { 7491 Tmp = DAG.getConstant((uint32_t)CFP->getValueAPF(). 7502 Tmp = DAG.getConstant(CFP->getValueAPF().bitcastToAPInt(). 7514 uint64_t Val = CFP->getValueAPF().bitcastToAPInt().getZExtValue(); 8658 if (ConstantFPSDNode *CFP = dyn_cast<ConstantFPSDNode>(N1)) { 8660 if (CFP->getValueAPF().isZero()) {
|
H A D | SelectionDAGBuilder.cpp | 1038 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(C)) 1039 return DAG.getConstantFP(*CFP, VT); 4241 if (ConstantFP *CFP = dyn_cast<ConstantFP>(C)) { 4243 IsExp10 = CFP->getValueAPF().bitwiseIsEqual(Ten);
|
/external/llvm/lib/Target/ARM/ |
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);
|
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 | ARMISelLowering.cpp | 2742 if (ConstantFPSDNode *CFP = dyn_cast<ConstantFPSDNode>(Op)) 2743 return CFP->getValueAPF().isPosZero(); 2749 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(CP->getConstVal())) 2750 return CFP->getValueAPF().isPosZero(); 3849 ConstantFPSDNode *CFP = cast<ConstantFPSDNode>(Op); 3854 APFloat FPVal = CFP->getValueAPF();
|
/external/llvm/lib/Bitcode/Writer/ |
H A D | BitcodeWriter.cpp | 844 } else if (const ConstantFP *CFP = dyn_cast<ConstantFP>(C)) { 846 Type *Ty = CFP->getType(); 848 Record.push_back(CFP->getValueAPF().bitcastToAPInt().getZExtValue()); 852 APInt api = CFP->getValueAPF().bitcastToAPInt(); 857 APInt api = CFP->getValueAPF().bitcastToAPInt();
|
/external/llvm/lib/Target/PowerPC/ |
H A D | PPCISelLowering.cpp | 550 if (ConstantFPSDNode *CFP = dyn_cast<ConstantFPSDNode>(Op)) 551 return CFP->getValueAPF().isZero(); 555 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(CP->getConstVal())) 556 return CFP->getValueAPF().isZero(); 716 if (ConstantFPSDNode *CFP = dyn_cast<ConstantFPSDNode>(N->getOperand(0))) 717 return CFP->getValueAPF().isNegZero();
|
/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);
|
/external/qemu-pc-bios/bochs/ |
H A D | configure | 919 CFP [all...] |