HomeSort by relevance Sort by last modified time
    Searched refs:CFP (Results 1 - 25 of 26) sorted by null

1 2

  /external/llvm/include/llvm/CodeGen/
MachineOperand.h 130 const ConstantFP *CFP; // For MO_FPImmediate.
372 return Contents.CFP;
483 static MachineOperand CreateFPImm(const ConstantFP *CFP) {
485 Op.Contents.CFP = CFP;
  /external/llvm/lib/CodeGen/AsmPrinter/
DwarfDebug.h 83 const ConstantFP *CFP;
98 Constant(true) { Constants.CFP = FPtr; EntryKind = E_ConstantFP; }
118 const ConstantFP *getConstantFP() { return Constants.CFP; }
AsmPrinter.cpp     [all...]
  /external/llvm/lib/CodeGen/
ELFWriter.cpp 462 } else if (const ConstantFP *CFP = dyn_cast<ConstantFP>(CV)) {
463 APInt Val = CFP->getValueAPF().bitcastToAPInt();
464 if (CFP->getType()->isDoubleTy())
466 else if (CFP->getType()->isFloatTy())
468 else if (CFP->getType()->isX86_FP80Ty()) {
469 unsigned PadSize = TD->getTypeAllocSize(CFP->getType())-
470 TD->getTypeStoreSize(CFP->getType());
472 } else if (CFP->getType()->isPPC_FP128Ty())
    [all...]
  /external/llvm/lib/Transforms/InstCombine/
InstCombineAddSub.cpp 330 if (ConstantFP *CFP = dyn_cast<ConstantFP>(RHSC)) {
331 if (CFP->isExactlyValue(ConstantFP::getNegativeZero
352 if (ConstantFP *CFP = dyn_cast<ConstantFP>(RHS))
353 if (CFP->getValueAPF().isPosZero() && CannotBeNegativeZero(LHS))
364 if (ConstantFP *CFP = dyn_cast<ConstantFP>(RHS)) {
366 ConstantExpr::getFPToSI(CFP, LHSConv->getOperand(0)->getType());
368 ConstantExpr::getSIToFP(CI, I.getType()) == CFP &&
InstCombineCasts.cpp     [all...]
  /external/llvm/lib/Target/CppBackend/
CPPBackend.cpp 134 void printCFP(const ConstantFP* CFP);
202 void CppWriter::printCFP(const ConstantFP *CFP) {
204 APFloat APF = APFloat(CFP->getValueAPF()); // copy
205 if (CFP->getType() == Type::getFloatTy(CFP->getContext()))
216 if (CFP->getType() == Type::getDoubleTy(CFP->getContext()))
223 std::string StrVal = ftostr(CFP->getValueAPF());
233 (CFP->isExactlyValue(atof(StrVal.c_str())))) {
234 if (CFP->getType() == Type::getDoubleTy(CFP->getContext())
    [all...]
  /external/llvm/lib/VMCore/
AsmWriter.cpp 710 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(CV)) {
711 if (&CFP->getValueAPF().getSemantics() == &APFloat::IEEEdouble ||
712 &CFP->getValueAPF().getSemantics() == &APFloat::IEEEsingle) {
719 bool isDouble = &CFP->getValueAPF().getSemantics()==&APFloat::IEEEdouble;
720 double Val = isDouble ? CFP->getValueAPF().convertToDouble() :
721 CFP->getValueAPF().convertToFloat();
745 APFloat apf = CFP->getValueAPF();
759 if (&CFP->getValueAPF().getSemantics() == &APFloat::x87DoubleExtended) {
762 APInt api = CFP->getValueAPF().bitcastToAPInt();
781 } else if (&CFP->getValueAPF().getSemantics() == &APFloat::IEEEquad
    [all...]
Constants.cpp 45 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this))
46 return CFP->isZero() && CFP->isNegative();
58 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this))
59 return CFP->isZero() && !CFP->isNegative();
71 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this))
72 return CFP->getValueAPF().bitcastToAPInt().isAllOnesValue();
    [all...]
  /external/llvm/lib/Analysis/
ValueTracking.cpp     [all...]
InstructionSimplify.cpp     [all...]
ConstantFolding.cpp 264 if (ConstantFP *CFP = dyn_cast<ConstantFP>(C)) {
265 if (CFP->getType()->isDoubleTy()) {
269 if (CFP->getType()->isFloatTy()){
    [all...]
  /external/llvm/lib/Target/ARM/
ARMFastISel.cpp 180 unsigned ARMMaterializeFP(const ConstantFP *CFP, EVT VT);
498 unsigned ARMFastISel::ARMMaterializeFP(const ConstantFP *CFP, EVT VT) {
499 const APFloat Val = CFP->getValueAPF();
525 unsigned Align = TD.getPrefTypeAlignment(CFP->getType());
528 Align = TD.getTypeAllocSize(CFP->getType());
530 unsigned Idx = MCP.getConstantPoolIndex(cast<Constant>(CFP), Align);
649 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(C))
650 return ARMMaterializeFP(CFP, VT);
    [all...]
ARMCodeEmitter.cpp 670 const ConstantFP *CFP = static_cast<const ConstantFP*>(C);
671 if (CFP->getType()->isFloatTy())
672 emitWordLE(CFP->getValueAPF().bitcastToAPInt().getZExtValue());
673 else if (CFP->getType()->isDoubleTy())
674 emitDWordLE(CFP->getValueAPF().bitcastToAPInt().getZExtValue());
    [all...]
ARMISelLowering.cpp     [all...]
  /external/llvm/lib/CodeGen/SelectionDAG/
LegalizeDAG.cpp 335 static SDValue ExpandConstantFP(ConstantFPSDNode *CFP, bool UseCP,
338 DebugLoc dl = CFP->getDebugLoc();
346 EVT VT = CFP->getValueType(0);
347 ConstantFP *LLVMC = const_cast<ConstantFP*>(CFP->getConstantFPValue());
358 if (ConstantFPSDNode::isValueValidForType(SVT, CFP->getValueAPF()) &&
721 if (ConstantFPSDNode *CFP = dyn_cast<ConstantFPSDNode>(ST->getValue())) {
722 if (CFP->getValueType(0) == MVT::f32 &&
724 Tmp3 = DAG.getConstant(CFP->getValueAPF().
731 if (CFP->getValueType(0) == MVT::f64) {
734 Tmp3 = DAG.getConstant(CFP->getValueAPF().bitcastToAPInt()
    [all...]
InstrEmitter.cpp 350 const ConstantFP *CFP = F->getConstantFPValue();
351 MI->addOperand(MachineOperand::CreateFPImm(CFP));
    [all...]
TargetLowering.cpp     [all...]
DAGCombiner.cpp     [all...]
SelectionDAG.cpp     [all...]
SelectionDAGBuilder.cpp     [all...]
  /external/llvm/lib/Bitcode/Writer/
BitcodeWriter.cpp 819 } else if (const ConstantFP *CFP = dyn_cast<ConstantFP>(C)) {
821 Type *Ty = CFP->getType();
823 Record.push_back(CFP->getValueAPF().bitcastToAPInt().getZExtValue());
827 APInt api = CFP->getValueAPF().bitcastToAPInt();
832 APInt api = CFP->getValueAPF().bitcastToAPInt();
    [all...]
  /frameworks/compile/slang/BitWriter_2_9/
BitcodeWriter.cpp 859 } else if (const ConstantFP *CFP = dyn_cast<ConstantFP>(C)) {
861 Type *Ty = CFP->getType();
863 Record.push_back(CFP->getValueAPF().bitcastToAPInt().getZExtValue());
867 APInt api = CFP->getValueAPF().bitcastToAPInt();
    [all...]
  /external/llvm/lib/Target/PowerPC/
PPCISelLowering.cpp 483 if (ConstantFPSDNode *CFP = dyn_cast<ConstantFPSDNode>(Op))
484 return CFP->getValueAPF().isZero();
488 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(CP->getConstVal()))
489 return CFP->getValueAPF().isZero();
649 if (ConstantFPSDNode *CFP = dyn_cast<ConstantFPSDNode>(N->getOperand(0)))
650 return CFP->getValueAPF().isNegZero();
    [all...]
  /external/llvm/lib/Transforms/Scalar/
LoopStrengthReduce.cpp     [all...]

Completed in 2715 milliseconds

1 2