OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:CFP
(Results
1 - 25
of
26
) sorted by null
1
2
/external/llvm/include/llvm/CodeGen/
MachineOperand.h
142
const ConstantFP *
CFP
; // For MO_FPImmediate.
401
return Contents.
CFP
;
534
static MachineOperand CreateFPImm(const ConstantFP *
CFP
) {
536
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/Transforms/InstCombine/
InstCombineAddSub.cpp
341
if (ConstantFP *
CFP
= dyn_cast<ConstantFP>(RHSC)) {
342
if (
CFP
->isExactlyValue(ConstantFP::getNegativeZero
363
if (ConstantFP *
CFP
= dyn_cast<ConstantFP>(RHS))
364
if (
CFP
->getValueAPF().isPosZero() && CannotBeNegativeZero(LHS))
375
if (ConstantFP *
CFP
= dyn_cast<ConstantFP>(RHS)) {
377
ConstantExpr::getFPToSI(
CFP
, LHSConv->getOperand(0)->getType());
379
ConstantExpr::getSIToFP(CI, I.getType()) ==
CFP
&&
InstCombineCasts.cpp
[
all
...]
/external/llvm/lib/VMCore/
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
->getType()->isFloatTy())
[
all
...]
AsmWriter.cpp
710
if (const ConstantFP *
CFP
= dyn_cast<ConstantFP>(CV)) {
711
if (&
CFP
->getValueAPF().getSemantics() == &APFloat::IEEEhalf ||
712
&
CFP
->getValueAPF().getSemantics() == &APFloat::IEEEsingle ||
713
&
CFP
->getValueAPF().getSemantics() == &APFloat::IEEEdouble) {
720
bool isHalf = &
CFP
->getValueAPF().getSemantics()==&APFloat::IEEEhalf;
721
bool isDouble = &
CFP
->getValueAPF().getSemantics()==&APFloat::IEEEdouble;
722
bool isInf =
CFP
->getValueAPF().isInfinity();
723
bool isNaN =
CFP
->getValueAPF().isNaN();
725
double Val = isDouble ?
CFP
->getValueAPF().convertToDouble() :
726
CFP
->getValueAPF().convertToFloat()
[
all
...]
/external/llvm/lib/Target/CppBackend/
CPPBackend.cpp
135
void printCFP(const ConstantFP*
CFP
);
214
void CppWriter::printCFP(const ConstantFP *
CFP
) {
216
APFloat APF = APFloat(
CFP
->getValueAPF()); // copy
217
if (
CFP
->getType() == Type::getFloatTy(
CFP
->getContext()))
228
if (
CFP
->getType() == Type::getDoubleTy(
CFP
->getContext()))
235
std::string StrVal = ftostr(
CFP
->getValueAPF());
245
(
CFP
->isExactlyValue(atof(StrVal.c_str())))) {
246
if (
CFP
->getType() == Type::getDoubleTy(CFP->getContext())
[
all
...]
/external/llvm/lib/Analysis/
ValueTracking.cpp
[
all
...]
InstructionSimplify.cpp
[
all
...]
ConstantFolding.cpp
301
if (ConstantFP *
CFP
= dyn_cast<ConstantFP>(C)) {
302
if (
CFP
->getType()->isDoubleTy()) {
306
if (
CFP
->getType()->isFloatTy()){
[
all
...]
/external/llvm/lib/CodeGen/SelectionDAG/
LegalizeDAG.cpp
130
SDValue ExpandConstantFP(ConstantFPSDNode *
CFP
, bool UseCP);
241
SelectionDAGLegalize::ExpandConstantFP(ConstantFPSDNode *
CFP
, bool UseCP) {
243
DebugLoc dl =
CFP
->getDebugLoc();
251
EVT VT =
CFP
->getValueType(0);
252
ConstantFP *LLVMC = const_cast<ConstantFP*>(
CFP
->getConstantFPValue());
263
if (ConstantFPSDNode::isValueValidForType(SVT,
CFP
->getValueAPF()) &&
648
if (ConstantFPSDNode *
CFP
= dyn_cast<ConstantFPSDNode>(ST->getValue())) {
649
if (
CFP
->getValueType(0) == MVT::f32 &&
651
Tmp3 = DAG.getConstant(
CFP
->getValueAPF().
658
if (
CFP
->getValueType(0) == MVT::f64)
[
all
...]
InstrEmitter.cpp
350
const ConstantFP *
CFP
= F->getConstantFPValue();
351
MI->addOperand(MachineOperand::CreateFPImm(
CFP
));
[
all
...]
TargetLowering.cpp
[
all
...]
SelectionDAG.cpp
[
all
...]
DAGCombiner.cpp
[
all
...]
SelectionDAGBuilder.cpp
[
all
...]
/external/llvm/lib/Target/ARM/
ARMCodeEmitter.cpp
669
const ConstantFP *
CFP
= static_cast<const ConstantFP*>(C);
670
if (
CFP
->getType()->isFloatTy())
671
emitWordLE(
CFP
->getValueAPF().bitcastToAPInt().getZExtValue());
672
else if (
CFP
->getType()->isDoubleTy())
673
emitDWordLE(
CFP
->getValueAPF().bitcastToAPInt().getZExtValue());
[
all
...]
ARMFastISel.cpp
193
unsigned ARMMaterializeFP(const ConstantFP *
CFP
, EVT VT);
509
unsigned ARMFastISel::ARMMaterializeFP(const ConstantFP *
CFP
, EVT VT) {
510
const APFloat Val =
CFP
->getValueAPF();
536
unsigned Align = TD.getPrefTypeAlignment(
CFP
->getType());
539
Align = TD.getTypeAllocSize(
CFP
->getType());
541
unsigned Idx = MCP.getConstantPoolIndex(cast<Constant>(
CFP
), Align);
705
if (const ConstantFP *
CFP
= dyn_cast<ConstantFP>(C))
706
return ARMMaterializeFP(
CFP
, VT);
[
all
...]
ARMISelLowering.cpp
[
all
...]
/external/llvm/lib/Bitcode/Writer/
BitcodeWriter.cpp
828
} else if (const ConstantFP *
CFP
= dyn_cast<ConstantFP>(C)) {
830
Type *Ty =
CFP
->getType();
832
Record.push_back(
CFP
->getValueAPF().bitcastToAPInt().getZExtValue());
836
APInt api =
CFP
->getValueAPF().bitcastToAPInt();
841
APInt api =
CFP
->getValueAPF().bitcastToAPInt();
[
all
...]
/frameworks/compile/slang/BitWriter_2_9/
BitcodeWriter.cpp
868
} else if (const ConstantFP *
CFP
= dyn_cast<ConstantFP>(C)) {
870
Type *Ty =
CFP
->getType();
[
all
...]
/frameworks/compile/slang/BitWriter_2_9_func/
BitcodeWriter.cpp
822
} else if (const ConstantFP *
CFP
= dyn_cast<ConstantFP>(C)) {
824
Type *Ty =
CFP
->getType();
826
Record.push_back(
CFP
->getValueAPF().bitcastToAPInt().getZExtValue());
830
APInt api =
CFP
->getValueAPF().bitcastToAPInt();
835
APInt api =
CFP
->getValueAPF().bitcastToAPInt();
[
all
...]
/external/llvm/lib/Target/PowerPC/
PPCISelLowering.cpp
521
if (ConstantFPSDNode *
CFP
= dyn_cast<ConstantFPSDNode>(Op))
522
return
CFP
->getValueAPF().isZero();
526
if (const ConstantFP *
CFP
= dyn_cast<ConstantFP>(CP->getConstVal()))
527
return
CFP
->getValueAPF().isZero();
687
if (ConstantFPSDNode *
CFP
= dyn_cast<ConstantFPSDNode>(N->getOperand(0)))
688
return
CFP
->getValueAPF().isNegZero();
[
all
...]
/external/llvm/lib/Transforms/Scalar/
LoopStrengthReduce.cpp
[
all
...]
Completed in 930 milliseconds
1
2