Home
last modified time | relevance | path

Searched refs:PPCSubTarget (Results 1 – 5 of 5) sorted by relevance

/external/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp55 const PPCSubtarget *PPCSubTarget; member in __anona33121a60111::PPCDAGToDAGISel
61 PPCSubTarget(TM.getSubtargetImpl()) { in PPCDAGToDAGISel()
69 PPCSubTarget = TM.getSubtargetImpl(); in runOnMachineFunction()
72 if (!PPCSubTarget->isSVR4ABI()) in runOnMachineFunction()
585 Opc = PPCSubTarget->hasVSX() ? PPC::XSCMPUDP : PPC::FCMPUD; in SelectCC()
751 if (!PPCSubTarget->useCRBits() && in SelectSETCC()
833 unsigned int VCmpInst = getVCmpInst(VT, CC, PPCSubTarget->hasVSX()); in SelectSETCC()
844 return CurDAG->SelectNodeTo(N, PPCSubTarget->hasVSX() ? PPC::XXLNOR : in SelectSETCC()
866 unsigned int VCmpEQInst = getVCmpEQInst(VT, PPCSubTarget->hasVSX()); in SelectSETCC()
868 return CurDAG->SelectNodeTo(N, PPCSubTarget->hasVSX() ? PPC::XXLOR : in SelectSETCC()
[all …]
DPPCFastISel.cpp89 const PPCSubtarget *PPCSubTarget; member in __anon6d1d0d590111::PPCFastISel
99 PPCSubTarget(&TM.getSubtarget<PPCSubtarget>()), in PPCFastISel()
741 if (SrcVT == MVT::i1 && PPCSubTarget->useCRBits()) in PPCEmitCmp()
902 } else if (PPCSubTarget->hasLFIWAX()) { in PPCMoveToFPReg()
943 if (!IsSigned && !PPCSubTarget->hasFPCVT()) in SelectIToFP()
951 if (DstVT == MVT::f32 && !PPCSubTarget->hasFPCVT()) in SelectIToFP()
1034 if (DstVT == MVT::i64 && !IsSigned && !PPCSubTarget->hasFPCVT()) in SelectFPToI()
1070 Opc = PPCSubTarget->hasFPCVT() ? PPC::FCTIWUZ : PPC::FCTIDZ; in SelectFPToI()
2013 if (VT == MVT::i1 && PPCSubTarget->useCRBits()) { in PPCMaterializeInt()
2187 if (VT == MVT::i1 && PPCSubTarget->useCRBits()) { in FastEmit_i()
DPPCInstrVSX.td42 def HasVSX : Predicate<"PPCSubTarget->hasVSX()">;
DPPCInstrInfo.td610 def In32BitMode : Predicate<"!PPCSubTarget->isPPC64()">;
611 def In64BitMode : Predicate<"PPCSubTarget->isPPC64()">;
612 def IsBookE : Predicate<"PPCSubTarget->isBookE()">;
613 def IsNotBookE : Predicate<"!PPCSubTarget->isBookE()">;
DPPCInstrAltivec.td242 def HasAltivec : Predicate<"PPCSubTarget->hasAltivec()">;