/external/llvm/lib/Target/ARM/ |
H A D | ARMCallingConv.h | 28 static bool f64AssignAPCS(unsigned &ValNo, MVT &ValVT, MVT &LocVT, argument 35 State.addLoc(CCValAssign::getCustomReg(ValNo, ValVT, Reg, LocVT, LocInfo)); 42 State.addLoc(CCValAssign::getCustomMem(ValNo, ValVT, 50 State.addLoc(CCValAssign::getCustomReg(ValNo, ValVT, Reg, LocVT, LocInfo)); 52 State.addLoc(CCValAssign::getCustomMem(ValNo, ValVT, 58 static bool CC_ARM_APCS_Custom_f64(unsigned &ValNo, MVT &ValVT, MVT &LocVT, argument 62 if (!f64AssignAPCS(ValNo, ValVT, LocVT, LocInfo, State, true)) 65 !f64AssignAPCS(ValNo, ValVT, LocVT, LocInfo, State, false)) 71 static bool f64AssignAAPCS(unsigned &ValNo, MVT &ValVT, MVT &LocVT, argument 91 State.addLoc(CCValAssign::getCustomMem(ValNo, ValVT, 112 CC_ARM_AAPCS_Custom_f64(unsigned &ValNo, MVT &ValVT, MVT &LocVT, CCValAssign::LocInfo &LocInfo, ISD::ArgFlagsTy &ArgFlags, CCState &State) argument 124 f64RetAssign(unsigned &ValNo, MVT &ValVT, MVT &LocVT, CCValAssign::LocInfo &LocInfo, CCState &State) argument 144 RetCC_ARM_APCS_Custom_f64(unsigned &ValNo, MVT &ValVT, MVT &LocVT, CCValAssign::LocInfo &LocInfo, ISD::ArgFlagsTy &ArgFlags, CCState &State) argument 155 RetCC_ARM_AAPCS_Custom_f64(unsigned &ValNo, MVT &ValVT, MVT &LocVT, CCValAssign::LocInfo &LocInfo, ISD::ArgFlagsTy &ArgFlags, CCState &State) argument 179 CC_ARM_AAPCS_Custom_Aggregate(unsigned &ValNo, MVT &ValVT, MVT &LocVT, CCValAssign::LocInfo &LocInfo, ISD::ArgFlagsTy &ArgFlags, CCState &State) argument [all...] |
/external/llvm/include/llvm/CodeGen/ |
H A D | CallingConvLower.h | 70 /// ValVT - The type of the value being assigned. 71 MVT ValVT; member in class:llvm::CCValAssign 77 static CCValAssign getReg(unsigned ValNo, MVT ValVT, argument 86 Ret.ValVT = ValVT; 91 static CCValAssign getCustomReg(unsigned ValNo, MVT ValVT, argument 95 Ret = getReg(ValNo, ValVT, RegNo, LocVT, HTP); 100 static CCValAssign getMem(unsigned ValNo, MVT ValVT, argument 109 Ret.ValVT = ValVT; 114 getCustomMem(unsigned ValNo, MVT ValVT, unsigned Offset, MVT LocVT, LocInfo HTP) argument 125 getPending(unsigned ValNo, MVT ValVT, MVT LocVT, LocInfo HTP, unsigned ExtraInfo = 0) argument [all...] |
/external/llvm/lib/Target/X86/ |
H A D | X86CallingConv.h | 23 inline bool CC_X86_32_VectorCallIndirect(unsigned &ValNo, MVT &ValVT, argument
|
H A D | X86ISelLowering.cpp | 2217 EVT ValVT = ValToCopy.getValueType(); local 2225 if (ValVT.isVector() && ValVT.getVectorElementType() == MVT::i1) 2238 if ((ValVT == MVT::f32 || ValVT == MVT::f64 || 2246 if (ValVT == MVT::f64 && 2266 if (ValVT == MVT::x86mmx) { 2545 EVT ValVT; local 2553 ValVT = VA.getLocVT(); 2555 ValVT [all...] |
/external/llvm/lib/Target/AArch64/ |
H A D | AArch64CallingConvention.h | 66 unsigned &ValNo, MVT &ValVT, MVT &LocVT, CCValAssign::LocInfo &LocInfo, 73 CCValAssign::getPending(ValNo, ValVT, LocVT, LocInfo)); 84 static bool CC_AArch64_Custom_Block(unsigned &ValNo, MVT &ValVT, MVT &LocVT, argument 110 CCValAssign::getPending(ValNo, ValVT, LocVT, LocInfo)); 65 CC_AArch64_Custom_Stack_Block( unsigned &ValNo, MVT &ValVT, MVT &LocVT, CCValAssign::LocInfo &LocInfo, ISD::ArgFlagsTy &ArgFlags, CCState &State) argument
|
H A D | AArch64ISelLowering.cpp | 2379 // i8 to CC_AArch64_AAPCS with i32 being ValVT and i8 being LocVT. 2380 // Since AnalyzeFormalArguments uses Ins[].VT for both ValVT and LocVT, here 2381 // we use a special version of AnalyzeFormalArguments to pass in ValVT and 2387 MVT ValVT = Ins[i].VT; local 2398 ValVT = MVT::i8; 2400 ValVT = MVT::i16; 2404 AssignFn(i, ValVT, ValVT, CCValAssign::Full, Ins[i].Flags, CCInfo); 2494 // For NON_EXTLOAD, generic code in getLoad assert(ValVT == MemVT) 2915 // i8 to CC_AArch64_AAPCS with i32 being ValVT an 2921 MVT ValVT = Outs[i].VT; local [all...] |
/external/llvm/lib/Target/Hexagon/ |
H A D | HexagonISelLowering.cpp | 105 CC_Hexagon(unsigned ValNo, MVT ValVT, 110 CC_Hexagon32(unsigned ValNo, MVT ValVT, 115 CC_Hexagon64(unsigned ValNo, MVT ValVT, 120 CC_HexagonVector(unsigned ValNo, MVT ValVT, 125 RetCC_Hexagon(unsigned ValNo, MVT ValVT, 130 RetCC_Hexagon32(unsigned ValNo, MVT ValVT, 135 RetCC_Hexagon64(unsigned ValNo, MVT ValVT, 140 RetCC_HexagonVector(unsigned ValNo, MVT ValVT, 145 CC_Hexagon_VarArg (unsigned ValNo, MVT ValVT, argument 152 return CC_Hexagon(ValNo, ValVT, LocV 220 CC_Hexagon(unsigned ValNo, MVT ValVT, MVT LocVT, CCValAssign::LocInfo LocInfo, ISD::ArgFlagsTy ArgFlags, CCState &State) argument 272 CC_Hexagon32(unsigned ValNo, MVT ValVT, MVT LocVT, CCValAssign::LocInfo LocInfo, ISD::ArgFlagsTy ArgFlags, CCState &State) argument 290 CC_Hexagon64(unsigned ValNo, MVT ValVT, MVT LocVT, CCValAssign::LocInfo LocInfo, ISD::ArgFlagsTy ArgFlags, CCState &State) argument 315 CC_HexagonVector(unsigned ValNo, MVT ValVT, MVT LocVT, CCValAssign::LocInfo LocInfo, ISD::ArgFlagsTy ArgFlags, CCState &State) argument 384 RetCC_Hexagon(unsigned ValNo, MVT ValVT, MVT LocVT, CCValAssign::LocInfo LocInfo, ISD::ArgFlagsTy ArgFlags, CCState &State) argument 443 RetCC_Hexagon32(unsigned ValNo, MVT ValVT, MVT LocVT, CCValAssign::LocInfo LocInfo, ISD::ArgFlagsTy ArgFlags, CCState &State) argument 459 RetCC_Hexagon64(unsigned ValNo, MVT ValVT, MVT LocVT, CCValAssign::LocInfo LocInfo, ISD::ArgFlagsTy ArgFlags, CCState &State) argument 474 RetCC_HexagonVector(unsigned ValNo, MVT ValVT, MVT LocVT, CCValAssign::LocInfo LocInfo, ISD::ArgFlagsTy ArgFlags, CCState &State) argument [all...] |
/external/llvm/include/llvm/Target/ |
H A D | TargetLowering.h | 590 LegalizeAction getLoadExtAction(unsigned ExtType, EVT ValVT, argument 592 if (ValVT.isExtended() || MemVT.isExtended()) return Expand; 593 unsigned ValI = (unsigned) ValVT.getSimpleVT().SimpleTy; 601 bool isLoadExtLegal(unsigned ExtType, EVT ValVT, EVT MemVT) const { 602 return ValVT.isSimple() && MemVT.isSimple() && 603 getLoadExtAction(ExtType, ValVT, MemVT) == Legal; 608 bool isLoadExtLegalOrCustom(unsigned ExtType, EVT ValVT, EVT MemVT) const { 609 return ValVT.isSimple() && MemVT.isSimple() && 610 (getLoadExtAction(ExtType, ValVT, MemVT) == Legal || 611 getLoadExtAction(ExtType, ValVT, MemV [all...] |
/external/llvm/lib/CodeGen/ |
H A D | CallingConvLower.cpp | 44 void CCState::HandleByVal(unsigned ValNo, MVT ValVT, argument 58 addLoc(CCValAssign::getMem(ValNo, ValVT, Offset, LocVT, LocInfo));
|
/external/llvm/lib/Target/Mips/ |
H A D | MipsISelLowering.cpp | 2369 static bool CC_MipsO32(unsigned ValNo, MVT ValVT, MVT LocVT, argument 2414 bool isI64 = (ValVT == MVT::i32 && OrigAlign == 8); 2416 if (ValVT == MVT::i32 || (ValVT == MVT::f32 && AllocateFloatsInIntReg)) { 2423 } else if (ValVT == MVT::f64 && AllocateFloatsInIntReg) { 2431 } else if (ValVT.isFloatingPoint() && !AllocateFloatsInIntReg) { 2433 if (ValVT == MVT::f32) { 2446 llvm_unreachable("Cannot handle this ValVT."); 2449 unsigned Offset = State.AllocateStack(ValVT.getSizeInBits() >> 3, 2451 State.addLoc(CCValAssign::getMem(ValNo, ValVT, Offse 2458 CC_MipsO32_FP32(unsigned ValNo, MVT ValVT, MVT LocVT, CCValAssign::LocInfo LocInfo, ISD::ArgFlagsTy ArgFlags, CCState &State) argument 2466 CC_MipsO32_FP64(unsigned ValNo, MVT ValVT, MVT LocVT, CCValAssign::LocInfo LocInfo, ISD::ArgFlagsTy ArgFlags, CCState &State) argument 2642 MVT ValVT = VA.getValVT(), LocVT = VA.getLocVT(); local 2884 EVT ValVT = VA.getValVT(); local 2982 EVT ValVT = VA.getValVT(); local [all...] |
H A D | MipsFastISel.cpp | 210 static bool CC_Mips(unsigned ValNo, MVT ValVT, MVT LocVT, 214 static bool CC_MipsO32_FP32(unsigned ValNo, MVT ValVT, MVT LocVT, argument 220 static bool CC_MipsO32_FP64(unsigned ValNo, MVT ValVT, MVT LocVT, argument
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeTypes.cpp | 1121 /// ValVT is the type of values that produced the boolean. 1122 SDValue DAGTypeLegalizer::PromoteTargetBoolean(SDValue Bool, EVT ValVT) { argument 1124 EVT BoolVT = getSetCCResultType(ValVT); 1126 TargetLowering::getExtendForContent(TLI.getBooleanContents(ValVT)); 1132 /// the target boolean type of the given ValVT. 1133 SDValue DAGTypeLegalizer::WidenTargetBoolean(SDValue Bool, EVT ValVT, argument 1138 assert(ValVT.getVectorNumElements() > BoolVT.getVectorNumElements() && 1139 TLI.isTypeLegal(ValVT) && 1142 ValVT.getVectorNumElements()); 1144 return PromoteTargetBoolean(Bool, ValVT); [all...] |
H A D | LegalizeTypes.h | 189 SDValue PromoteTargetBoolean(SDValue Bool, EVT ValVT); 191 /// Modify Bit Vector to match SetCC result type of ValVT. 193 SDValue WidenTargetBoolean(SDValue Bool, EVT ValVT, bool WithZeroes = false);
|
H A D | LegalizeVectorOps.cpp | 232 MVT ValVT = ST->getValue().getSimpleValueType(); local 234 switch (TLI.getTruncStoreAction(ValVT, StVT)) {
|
H A D | LegalizeVectorTypes.cpp | 3595 EVT ValVT = ValOp.getValueType(); local 3596 unsigned ValWidth = ValVT.getSizeInBits(); 3597 EVT ValEltVT = ValVT.getVectorElementType(); 3605 EVT NewVT = FindMemType(DAG, TLI, StWidth, ValVT); 3668 EVT ValVT = ValOp.getValueType(); local 3679 EVT ValEltVT = ValVT.getVectorElementType();
|
/external/llvm/lib/Target/PowerPC/ |
H A D | PPCISelLowering.h | 884 bool CC_PPC32_SVR4_Custom_Dummy(unsigned &ValNo, MVT &ValVT, MVT &LocVT, 889 bool CC_PPC32_SVR4_Custom_AlignArgRegs(unsigned &ValNo, MVT &ValVT, 895 bool CC_PPC32_SVR4_Custom_AlignFPArgRegs(unsigned &ValNo, MVT &ValVT,
|
H A D | PPCISelLowering.cpp | 2566 bool llvm::CC_PPC32_SVR4_Custom_Dummy(unsigned &ValNo, MVT &ValVT, MVT &LocVT, argument 2573 bool llvm::CC_PPC32_SVR4_Custom_AlignArgRegs(unsigned &ValNo, MVT &ValVT, argument 2600 bool llvm::CC_PPC32_SVR4_Custom_AlignFPArgRegs(unsigned &ValNo, MVT &ValVT, argument 2851 EVT ValVT = VA.getValVT(); local 2853 switch (ValVT.getSimpleVT().SimpleTy) { 2855 llvm_unreachable("ValVT not supported by formal arguments Lowering"); 2895 ValVT == MVT::i1 ? MVT::i32 : ValVT); 2897 if (ValVT == MVT::i1)
|
/external/llvm/lib/Target/Sparc/ |
H A D | SparcISelLowering.cpp | 39 static bool CC_Sparc_Assign_SRet(unsigned &ValNo, MVT &ValVT, argument 46 State.addLoc(CCValAssign::getCustomMem(ValNo, ValVT, 52 static bool CC_Sparc_Assign_Split_64(unsigned &ValNo, MVT &ValVT, argument 61 State.addLoc(CCValAssign::getCustomReg(ValNo, ValVT, Reg, LocVT, LocInfo)); 64 State.addLoc(CCValAssign::getCustomMem(ValNo, ValVT, 72 State.addLoc(CCValAssign::getCustomReg(ValNo, ValVT, Reg, LocVT, LocInfo)); 74 State.addLoc(CCValAssign::getCustomMem(ValNo, ValVT, 80 static bool CC_Sparc_Assign_Ret_Split_64(unsigned &ValNo, MVT &ValVT, argument 90 State.addLoc(CCValAssign::getCustomReg(ValNo, ValVT, Reg, LocVT, LocInfo)); 96 State.addLoc(CCValAssign::getCustomReg(ValNo, ValVT, Re 104 CC_Sparc64_Full(unsigned &ValNo, MVT &ValVT, MVT &LocVT, CCValAssign::LocInfo &LocInfo, ISD::ArgFlagsTy &ArgFlags, CCState &State) argument 149 CC_Sparc64_Half(unsigned &ValNo, MVT &ValVT, MVT &LocVT, CCValAssign::LocInfo &LocInfo, ISD::ArgFlagsTy &ArgFlags, CCState &State) argument [all...] |
/external/llvm/lib/Target/NVPTX/ |
H A D | NVPTXISelLowering.cpp | 1888 EVT ValVT = Op.getOperand(1).getValueType(); 1889 if (ValVT == MVT::i1) 1891 else if (ValVT.isVector()) 1902 EVT ValVT = Val.getValueType(); 1904 if (ValVT.isVector()) { 1908 if (!ValVT.isSimple()) 1910 switch (ValVT.getSimpleVT().SimpleTy) { 1932 TD.getPrefTypeAlignment(ValVT.getTypeForEVT(*DAG.getContext())); 1943 EVT EltVT = ValVT.getVectorElementType(); 1944 unsigned NumElts = ValVT [all...] |
/external/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUISelLowering.cpp | 34 static bool allocateStack(unsigned ValNo, MVT ValVT, MVT LocVT, argument 37 unsigned Offset = State.AllocateStack(ValVT.getStoreSize(), 39 State.addLoc(CCValAssign::getMem(ValNo, ValVT, Offset, LocVT, LocInfo));
|