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
27
) sorted by null
1
2
/external/llvm/include/llvm/CodeGen/
MachineOperand.h
152
const ConstantFP *
CFP
; // For MO_FPImmediate.
411
return Contents.
CFP
;
551
static MachineOperand CreateFPImm(const ConstantFP *
CFP
) {
553
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
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
&&
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
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
->getValueAPF()
[
all
...]
/external/llvm/lib/Target/CppBackend/
CPPBackend.cpp
136
void printCFP(const ConstantFP*
CFP
);
215
void CppWriter::printCFP(const ConstantFP *
CFP
) {
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
->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/Target/NVPTX/
NVPTXAsmPrinter.cpp
[
all
...]
/external/llvm/lib/CodeGen/SelectionDAG/
LegalizeDAG.cpp
133
SDValue ExpandConstantFP(ConstantFPSDNode *
CFP
, bool UseCP);
245
SelectionDAGLegalize::ExpandConstantFP(ConstantFPSDNode *
CFP
, bool UseCP) {
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
->getValueType(0) == MVT::f64)
[
all
...]
SelectionDAG.cpp
[
all
...]
InstrEmitter.cpp
369
const ConstantFP *
CFP
= F->getConstantFPValue();
370
MI->addOperand(MachineOperand::CreateFPImm(
CFP
));
[
all
...]
TargetLowering.cpp
[
all
...]
DAGCombiner.cpp
[
all
...]
SelectionDAGBuilder.cpp
[
all
...]
/external/llvm/lib/Target/ARM/
ARMFastISel.cpp
191
unsigned ARMMaterializeFP(const ConstantFP *
CFP
, EVT VT);
511
unsigned ARMFastISel::ARMMaterializeFP(const ConstantFP *
CFP
, EVT VT) {
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);
[
all
...]
ARMCodeEmitter.cpp
681
const ConstantFP *
CFP
= static_cast<const ConstantFP*>(C);
682
if (
CFP
->getType()->isFloatTy())
683
emitWordLE(
CFP
->getValueAPF().bitcastToAPInt().getZExtValue());
684
else if (
CFP
->getType()->isDoubleTy())
685
emitDWordLE(
CFP
->getValueAPF().bitcastToAPInt().getZExtValue());
[
all
...]
/external/llvm/lib/Bitcode/Writer/
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();
[
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
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();
[
all
...]
/external/llvm/lib/Transforms/Scalar/
LoopStrengthReduce.cpp
[
all
...]
Completed in 1735 milliseconds
1
2