Home
last modified time | relevance | path

Searched refs:ValVT (Results 1 – 21 of 21) sorted by relevance

/external/llvm/lib/Target/ARM/
DARMCallingConv.h28 static bool f64AssignAPCS(unsigned &ValNo, MVT &ValVT, MVT &LocVT, in f64AssignAPCS() argument
35 State.addLoc(CCValAssign::getCustomReg(ValNo, ValVT, Reg, LocVT, LocInfo)); in f64AssignAPCS()
42 State.addLoc(CCValAssign::getCustomMem(ValNo, ValVT, in f64AssignAPCS()
50 State.addLoc(CCValAssign::getCustomReg(ValNo, ValVT, Reg, LocVT, LocInfo)); in f64AssignAPCS()
52 State.addLoc(CCValAssign::getCustomMem(ValNo, ValVT, in f64AssignAPCS()
58 static bool CC_ARM_APCS_Custom_f64(unsigned &ValNo, MVT &ValVT, MVT &LocVT, in CC_ARM_APCS_Custom_f64() argument
62 if (!f64AssignAPCS(ValNo, ValVT, LocVT, LocInfo, State, true)) in CC_ARM_APCS_Custom_f64()
65 !f64AssignAPCS(ValNo, ValVT, LocVT, LocInfo, State, false)) in CC_ARM_APCS_Custom_f64()
71 static bool f64AssignAAPCS(unsigned &ValNo, MVT &ValVT, MVT &LocVT, in f64AssignAAPCS() argument
91 State.addLoc(CCValAssign::getCustomMem(ValNo, ValVT, in f64AssignAAPCS()
[all …]
/external/llvm/include/llvm/CodeGen/
DCallingConvLower.h70 MVT ValVT; variable
76 static CCValAssign getReg(unsigned ValNo, MVT ValVT, in getReg() argument
85 Ret.ValVT = ValVT; in getReg()
90 static CCValAssign getCustomReg(unsigned ValNo, MVT ValVT, in getCustomReg() argument
94 Ret = getReg(ValNo, ValVT, RegNo, LocVT, HTP); in getCustomReg()
99 static CCValAssign getMem(unsigned ValNo, MVT ValVT, in getMem() argument
108 Ret.ValVT = ValVT; in getMem()
113 static CCValAssign getCustomMem(unsigned ValNo, MVT ValVT, in getCustomMem() argument
117 Ret = getMem(ValNo, ValVT, Offset, LocVT, HTP); in getCustomMem()
124 static CCValAssign getPending(unsigned ValNo, MVT ValVT, MVT LocVT,
[all …]
/external/llvm/include/llvm/Target/
DTargetLowering.h575 LegalizeAction getLoadExtAction(unsigned ExtType, EVT ValVT, EVT MemVT) const { in getLoadExtAction() argument
576 if (ValVT.isExtended() || MemVT.isExtended()) return Expand; in getLoadExtAction()
577 unsigned ValI = (unsigned) ValVT.getSimpleVT().SimpleTy; in getLoadExtAction()
585 bool isLoadExtLegal(unsigned ExtType, EVT ValVT, EVT MemVT) const { in isLoadExtLegal() argument
586 return ValVT.isSimple() && MemVT.isSimple() && in isLoadExtLegal()
587 getLoadExtAction(ExtType, ValVT, MemVT) == Legal; in isLoadExtLegal()
592 bool isLoadExtLegalOrCustom(unsigned ExtType, EVT ValVT, EVT MemVT) const { in isLoadExtLegalOrCustom() argument
593 return ValVT.isSimple() && MemVT.isSimple() && in isLoadExtLegalOrCustom()
594 (getLoadExtAction(ExtType, ValVT, MemVT) == Legal || in isLoadExtLegalOrCustom()
595 getLoadExtAction(ExtType, ValVT, MemVT) == Custom); in isLoadExtLegalOrCustom()
[all …]
/external/llvm/lib/Target/AArch64/
DAArch64CallingConvention.h68 unsigned &ValNo, MVT &ValVT, MVT &LocVT, CCValAssign::LocInfo &LocInfo, in CC_AArch64_Custom_Stack_Block() argument
75 CCValAssign::getPending(ValNo, ValVT, LocVT, LocInfo)); in CC_AArch64_Custom_Stack_Block()
86 static bool CC_AArch64_Custom_Block(unsigned &ValNo, MVT &ValVT, MVT &LocVT, in CC_AArch64_Custom_Block() argument
112 CCValAssign::getPending(ValNo, ValVT, LocVT, LocInfo)); in CC_AArch64_Custom_Block()
DAArch64CallingConvention.td153 CCIf<"ValVT == MVT::i1 || ValVT == MVT::i8", CCAssignToStack<1, 1>>,
154 CCIf<"ValVT == MVT::i16 || ValVT == MVT::f16", CCAssignToStack<2, 2>>,
DAArch64ISelLowering.cpp2073 MVT ValVT = Ins[i].VT; in LowerFormalArguments() local
2083 ValVT = MVT::i8; in LowerFormalArguments()
2085 ValVT = MVT::i16; in LowerFormalArguments()
2089 AssignFn(i, ValVT, ValVT, CCValAssign::Full, Ins[i].Flags, CCInfo); in LowerFormalArguments()
2602 MVT ValVT = Outs[i].VT; in LowerCall() local
2606 MVT ActualMVT = ActualVT.isSimple() ? ActualVT.getSimpleVT() : ValVT; in LowerCall()
2610 ValVT = MVT::i8; in LowerCall()
2612 ValVT = MVT::i16; in LowerCall()
2615 bool Res = AssignFn(i, ValVT, ValVT, CCValAssign::Full, ArgFlags, CCInfo); in LowerCall()
/external/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp65 CC_Hexagon(unsigned ValNo, MVT ValVT,
70 CC_Hexagon32(unsigned ValNo, MVT ValVT,
75 CC_Hexagon64(unsigned ValNo, MVT ValVT,
80 RetCC_Hexagon(unsigned ValNo, MVT ValVT,
85 RetCC_Hexagon32(unsigned ValNo, MVT ValVT,
90 RetCC_Hexagon64(unsigned ValNo, MVT ValVT,
95 CC_Hexagon_VarArg (unsigned ValNo, MVT ValVT, in CC_Hexagon_VarArg() argument
106 return CC_Hexagon(ValNo, ValVT, LocVT, LocInfo, ArgFlags, State); in CC_Hexagon_VarArg()
117 State.addLoc(CCValAssign::getMem(ValNo, ValVT, ofst, LocVT, LocInfo)); in CC_Hexagon_VarArg()
122 ValVT = MVT::i32; in CC_Hexagon_VarArg()
[all …]
/external/llvm/lib/Target/X86/
DX86CallingConv.h23 inline bool CC_X86_32_VectorCallIndirect(unsigned &ValNo, MVT &ValVT, in CC_X86_32_VectorCallIndirect() argument
DX86ISelLowering.cpp1896 EVT ValVT = ValToCopy.getValueType(); in LowerReturn() local
1913 if ((ValVT == MVT::f32 || ValVT == MVT::f64 || in LowerReturn()
1921 if (ValVT == MVT::f64 && in LowerReturn()
1941 if (ValVT == MVT::x86mmx) { in LowerReturn()
2200 EVT ValVT; in LowerMemArgument() local
2205 ValVT = VA.getLocVT(); in LowerMemArgument()
2207 ValVT = VA.getValVT(); in LowerMemArgument()
2219 int FI = MFI->CreateFixedObject(ValVT.getSizeInBits()/8, in LowerMemArgument()
2222 return DAG.getLoad(ValVT, dl, Chain, FIN, in LowerMemArgument()
/external/llvm/lib/Target/Mips/
DMipsISelLowering.cpp2323 static bool CC_MipsO32(unsigned ValNo, MVT ValVT, MVT LocVT, in CC_MipsO32() argument
2368 bool isI64 = (ValVT == MVT::i32 && OrigAlign == 8); in CC_MipsO32()
2370 if (ValVT == MVT::i32 || (ValVT == MVT::f32 && AllocateFloatsInIntReg)) { in CC_MipsO32()
2377 } else if (ValVT == MVT::f64 && AllocateFloatsInIntReg) { in CC_MipsO32()
2385 } else if (ValVT.isFloatingPoint() && !AllocateFloatsInIntReg) { in CC_MipsO32()
2387 if (ValVT == MVT::f32) { in CC_MipsO32()
2403 unsigned Offset = State.AllocateStack(ValVT.getSizeInBits() >> 3, in CC_MipsO32()
2405 State.addLoc(CCValAssign::getMem(ValNo, ValVT, Offset, LocVT, LocInfo)); in CC_MipsO32()
2407 State.addLoc(CCValAssign::getReg(ValNo, ValVT, Reg, LocVT, LocInfo)); in CC_MipsO32()
2412 static bool CC_MipsO32_FP32(unsigned ValNo, MVT ValVT, in CC_MipsO32_FP32() argument
[all …]
DMipsFastISel.cpp196 static bool CC_Mips(unsigned ValNo, MVT ValVT, MVT LocVT,
200 static bool CC_MipsO32_FP32(unsigned ValNo, MVT ValVT, MVT LocVT, in CC_MipsO32_FP32() argument
206 static bool CC_MipsO32_FP64(unsigned ValNo, MVT ValVT, MVT LocVT, in CC_MipsO32_FP64() argument
/external/llvm/lib/CodeGen/
DCallingConvLower.cpp43 void CCState::HandleByVal(unsigned ValNo, MVT ValVT, in HandleByVal() argument
57 addLoc(CCValAssign::getMem(ValNo, ValVT, Offset, LocVT, LocInfo)); in HandleByVal()
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.h842 bool CC_PPC32_SVR4_Custom_Dummy(unsigned &ValNo, MVT &ValVT, MVT &LocVT,
847 bool CC_PPC32_SVR4_Custom_AlignArgRegs(unsigned &ValNo, MVT &ValVT,
853 bool CC_PPC32_SVR4_Custom_AlignFPArgRegs(unsigned &ValNo, MVT &ValVT,
DPPCISelLowering.cpp2377 bool llvm::CC_PPC32_SVR4_Custom_Dummy(unsigned &ValNo, MVT &ValVT, MVT &LocVT, in CC_PPC32_SVR4_Custom_Dummy() argument
2384 bool llvm::CC_PPC32_SVR4_Custom_AlignArgRegs(unsigned &ValNo, MVT &ValVT, in CC_PPC32_SVR4_Custom_AlignArgRegs() argument
2411 bool llvm::CC_PPC32_SVR4_Custom_AlignFPArgRegs(unsigned &ValNo, MVT &ValVT, in CC_PPC32_SVR4_Custom_AlignFPArgRegs() argument
2660 EVT ValVT = VA.getValVT(); in LowerFormalArguments_32SVR4() local
2662 switch (ValVT.getSimpleVT().SimpleTy) { in LowerFormalArguments_32SVR4()
2701 ValVT == MVT::i1 ? MVT::i32 : ValVT); in LowerFormalArguments_32SVR4()
2703 if (ValVT == MVT::i1) in LowerFormalArguments_32SVR4()
/external/llvm/lib/Target/Sparc/
DSparcISelLowering.cpp39 static bool CC_Sparc_Assign_SRet(unsigned &ValNo, MVT &ValVT, in CC_Sparc_Assign_SRet() argument
46 State.addLoc(CCValAssign::getCustomMem(ValNo, ValVT, in CC_Sparc_Assign_SRet()
52 static bool CC_Sparc_Assign_f64(unsigned &ValNo, MVT &ValVT, in CC_Sparc_Assign_f64() argument
61 State.addLoc(CCValAssign::getCustomReg(ValNo, ValVT, Reg, LocVT, LocInfo)); in CC_Sparc_Assign_f64()
64 State.addLoc(CCValAssign::getCustomMem(ValNo, ValVT, in CC_Sparc_Assign_f64()
72 State.addLoc(CCValAssign::getCustomReg(ValNo, ValVT, Reg, LocVT, LocInfo)); in CC_Sparc_Assign_f64()
74 State.addLoc(CCValAssign::getCustomMem(ValNo, ValVT, in CC_Sparc_Assign_f64()
81 static bool CC_Sparc64_Full(unsigned &ValNo, MVT &ValVT, in CC_Sparc64_Full() argument
109 State.addLoc(CCValAssign::getReg(ValNo, ValVT, Reg, LocVT, LocInfo)); in CC_Sparc64_Full()
119 State.addLoc(CCValAssign::getMem(ValNo, ValVT, Offset, LocVT, LocInfo)); in CC_Sparc64_Full()
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypes.cpp1100 SDValue DAGTypeLegalizer::PromoteTargetBoolean(SDValue Bool, EVT ValVT) { in PromoteTargetBoolean() argument
1102 EVT BoolVT = getSetCCResultType(ValVT); in PromoteTargetBoolean()
1104 TargetLowering::getExtendForContent(TLI.getBooleanContents(ValVT)); in PromoteTargetBoolean()
DLegalizeVectorOps.cpp231 MVT ValVT = ST->getValue().getSimpleValueType(); in LegalizeOp() local
233 switch (TLI.getTruncStoreAction(ValVT, StVT.getSimpleVT())) { in LegalizeOp()
DLegalizeVectorTypes.cpp3209 EVT ValVT = ValOp.getValueType(); in GenWidenVectorStores() local
3210 unsigned ValWidth = ValVT.getSizeInBits(); in GenWidenVectorStores()
3211 EVT ValEltVT = ValVT.getVectorElementType(); in GenWidenVectorStores()
3219 EVT NewVT = FindMemType(DAG, TLI, StWidth, ValVT); in GenWidenVectorStores()
3277 EVT ValVT = ValOp.getValueType(); in GenWidenVectorTruncStores() local
3288 EVT ValEltVT = ValVT.getVectorElementType(); in GenWidenVectorTruncStores()
DLegalizeTypes.h175 SDValue PromoteTargetBoolean(SDValue Bool, EVT ValVT);
/external/llvm/lib/Target/NVPTX/
DNVPTXISelLowering.cpp1851 EVT ValVT = Op.getOperand(1).getValueType(); in LowerSTORE() local
1852 if (ValVT == MVT::i1) in LowerSTORE()
1854 else if (ValVT.isVector()) in LowerSTORE()
1865 EVT ValVT = Val.getValueType(); in LowerSTOREVector() local
1867 if (ValVT.isVector()) { in LowerSTOREVector()
1871 if (!ValVT.isSimple()) in LowerSTOREVector()
1873 switch (ValVT.getSimpleVT().SimpleTy) { in LowerSTOREVector()
1895 TD->getPrefTypeAlignment(ValVT.getTypeForEVT(*DAG.getContext())); in LowerSTOREVector()
1906 EVT EltVT = ValVT.getVectorElementType(); in LowerSTOREVector()
1907 unsigned NumElts = ValVT.getVectorNumElements(); in LowerSTOREVector()
/external/llvm/lib/Target/R600/
DAMDGPUISelLowering.cpp74 static bool allocateStack(unsigned ValNo, MVT ValVT, MVT LocVT, in allocateStack() argument
77 unsigned Offset = State.AllocateStack(ValVT.getStoreSize(), in allocateStack()
79 State.addLoc(CCValAssign::getMem(ValNo, ValVT, Offset, LocVT, LocInfo)); in allocateStack()