Home
last modified time | relevance | path

Searched refs:ValVT (Results 1 – 18 of 18) 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
85 State.addLoc(CCValAssign::getCustomMem(ValNo, ValVT, in f64AssignAAPCS()
[all …]
/external/llvm/include/llvm/CodeGen/
DCallingConvLower.h62 MVT ValVT; variable
68 static CCValAssign getReg(unsigned ValNo, MVT ValVT, in getReg() argument
77 Ret.ValVT = ValVT; in getReg()
82 static CCValAssign getCustomReg(unsigned ValNo, MVT ValVT, in getCustomReg() argument
86 Ret = getReg(ValNo, ValVT, RegNo, LocVT, HTP); in getCustomReg()
91 static CCValAssign getMem(unsigned ValNo, MVT ValVT, in getMem() argument
100 Ret.ValVT = ValVT; in getMem()
105 static CCValAssign getCustomMem(unsigned ValNo, MVT ValVT, in getCustomMem() argument
109 Ret = getMem(ValNo, ValVT, Offset, LocVT, HTP); in getCustomMem()
115 MVT getValVT() const { return ValVT; } in getValVT()
[all …]
/external/llvm/lib/Target/Hexagon/
DHexagonVarargsCallingConvention.h20 static bool RetCC_Hexagon32_VarArgs(unsigned ValNo, EVT ValVT,
29 static bool CC_Hexagon32_VarArgs(unsigned ValNo, EVT ValVT, in CC_Hexagon32_VarArgs() argument
57 State.addLoc(CCValAssign::getReg(ValNo, ValVT.getSimpleVT(), Reg, in CC_Hexagon32_VarArgs()
69 State.addLoc(CCValAssign::getReg(ValNo, ValVT.getSimpleVT(), Reg, in CC_Hexagon32_VarArgs()
92 State.addLoc(CCValAssign::getMem(ValNo, ValVT.getSimpleVT(), Offset3, in CC_Hexagon32_VarArgs()
98 static bool RetCC_Hexagon32_VarArgs(unsigned ValNo, EVT ValVT, in RetCC_Hexagon32_VarArgs() argument
113 State.addLoc(CCValAssign::getReg(ValNo, ValVT.getSimpleVT(), Reg, in RetCC_Hexagon32_VarArgs()
125 State.addLoc(CCValAssign::getReg(ValNo, ValVT.getSimpleVT(), Reg, in RetCC_Hexagon32_VarArgs()
138 State.addLoc(CCValAssign::getMem(ValNo, ValVT.getSimpleVT(), Offset3, in RetCC_Hexagon32_VarArgs()
DHexagonISelLowering.cpp52 CC_Hexagon(unsigned ValNo, MVT ValVT,
57 CC_Hexagon32(unsigned ValNo, MVT ValVT,
62 CC_Hexagon64(unsigned ValNo, MVT ValVT,
67 RetCC_Hexagon(unsigned ValNo, MVT ValVT,
72 RetCC_Hexagon32(unsigned ValNo, MVT ValVT,
77 RetCC_Hexagon64(unsigned ValNo, MVT ValVT,
82 CC_Hexagon_VarArg (unsigned ValNo, MVT ValVT, in CC_Hexagon_VarArg() argument
92 return CC_Hexagon(ValNo, ValVT, LocVT, LocInfo, ArgFlags, State); in CC_Hexagon_VarArg()
103 State.addLoc(CCValAssign::getMem(ValNo, ValVT, ofst, LocVT, LocInfo)); in CC_Hexagon_VarArg()
108 ValVT = MVT::i32; in CC_Hexagon_VarArg()
[all …]
DHexagonCallingConvLower.h36 typedef bool Hexagon_CCAssignFn(unsigned ValNo, EVT ValVT,
176 void HandleByVal(unsigned ValNo, EVT ValVT,
DHexagonCallingConvLower.cpp41 void Hexagon_CCState::HandleByVal(unsigned ValNo, EVT ValVT, in HandleByVal() argument
53 addLoc(CCValAssign::getMem(ValNo, ValVT.getSimpleVT(), Offset, in HandleByVal()
/external/llvm/lib/CodeGen/
DCallingConvLower.cpp42 void CCState::HandleByVal(unsigned ValNo, MVT ValVT, in HandleByVal() argument
55 addLoc(CCValAssign::getMem(ValNo, ValVT, Offset, LocVT, LocInfo)); in HandleByVal()
/external/llvm/include/llvm/Target/
DTargetLowering.h456 LegalizeAction getTruncStoreAction(MVT ValVT, MVT MemVT) const { in getTruncStoreAction() argument
457 assert(ValVT < MVT::LAST_VALUETYPE && MemVT < MVT::LAST_VALUETYPE && in getTruncStoreAction()
459 return (LegalizeAction)TruncStoreActions[ValVT.SimpleTy] in getTruncStoreAction()
465 bool isTruncStoreLegal(EVT ValVT, EVT MemVT) const { in isTruncStoreLegal() argument
466 return isTypeLegal(ValVT) && MemVT.isSimple() && in isTruncStoreLegal()
467 getTruncStoreAction(ValVT.getSimpleVT(), MemVT.getSimpleVT()) == Legal; in isTruncStoreLegal()
996 void setTruncStoreAction(MVT ValVT, MVT MemVT, in setTruncStoreAction() argument
998 assert(ValVT < MVT::LAST_VALUETYPE && MemVT < MVT::LAST_VALUETYPE && in setTruncStoreAction()
1000 TruncStoreActions[ValVT.SimpleTy][MemVT.SimpleTy] = (uint8_t)Action; in setTruncStoreAction()
/external/llvm/lib/Target/Mips/
DMipsISelLowering.cpp2421 static bool CC_MipsO32(unsigned ValNo, MVT ValVT, in CC_MipsO32() argument
2460 bool isI64 = (ValVT == MVT::i32 && OrigAlign == 8); in CC_MipsO32()
2462 if (ValVT == MVT::i32 || (ValVT == MVT::f32 && AllocateFloatsInIntReg)) { in CC_MipsO32()
2469 } else if (ValVT == MVT::f64 && AllocateFloatsInIntReg) { in CC_MipsO32()
2477 } else if (ValVT.isFloatingPoint() && !AllocateFloatsInIntReg) { in CC_MipsO32()
2479 if (ValVT == MVT::f32) { in CC_MipsO32()
2495 unsigned Offset = State.AllocateStack(ValVT.getSizeInBits() >> 3, in CC_MipsO32()
2497 State.addLoc(CCValAssign::getMem(ValNo, ValVT, Offset, LocVT, LocInfo)); in CC_MipsO32()
2499 State.addLoc(CCValAssign::getReg(ValNo, ValVT, Reg, LocVT, LocInfo)); in CC_MipsO32()
2646 MVT ValVT = VA.getValVT(), LocVT = VA.getLocVT(); in LowerCall() local
[all …]
DMipsISelLowering.h262 void handleByValArg(unsigned ValNo, MVT ValVT, MVT LocVT,
/external/llvm/lib/Target/NVPTX/
DNVPTXISelLowering.cpp867 EVT ValVT = Op.getOperand(1).getValueType(); in LowerSTORE() local
868 if (ValVT == MVT::i1) in LowerSTORE()
870 else if (ValVT.isVector()) in LowerSTORE()
881 EVT ValVT = Val.getValueType(); in LowerSTOREVector() local
883 if (ValVT.isVector()) { in LowerSTOREVector()
887 if (!ValVT.isSimple()) in LowerSTOREVector()
889 switch (ValVT.getSimpleVT().SimpleTy) { in LowerSTOREVector()
906 EVT EltVT = ValVT.getVectorElementType(); in LowerSTOREVector()
907 unsigned NumElts = ValVT.getVectorNumElements(); in LowerSTOREVector()
/external/llvm/lib/Target/Sparc/
DSparcISelLowering.cpp36 static bool CC_Sparc_Assign_SRet(unsigned &ValNo, MVT &ValVT, in CC_Sparc_Assign_SRet() argument
43 State.addLoc(CCValAssign::getCustomMem(ValNo, ValVT, in CC_Sparc_Assign_SRet()
49 static bool CC_Sparc_Assign_f64(unsigned &ValNo, MVT &ValVT, in CC_Sparc_Assign_f64() argument
58 State.addLoc(CCValAssign::getCustomReg(ValNo, ValVT, Reg, LocVT, LocInfo)); in CC_Sparc_Assign_f64()
61 State.addLoc(CCValAssign::getCustomMem(ValNo, ValVT, in CC_Sparc_Assign_f64()
69 State.addLoc(CCValAssign::getCustomReg(ValNo, ValVT, Reg, LocVT, LocInfo)); in CC_Sparc_Assign_f64()
71 State.addLoc(CCValAssign::getCustomMem(ValNo, ValVT, in CC_Sparc_Assign_f64()
/external/llvm/lib/Target/MBlaze/
DMBlazeISelLowering.cpp38 static bool CC_MBlaze_AssignReg(unsigned &ValNo, MVT &ValVT, MVT &LocVT,
658 static bool CC_MBlaze_AssignReg(unsigned &ValNo, MVT &ValVT, MVT &LocVT, in CC_MBlaze_AssignReg() argument
671 unsigned SizeInBytes = ValVT.getSizeInBits() >> 3; in CC_MBlaze_AssignReg()
673 State.addLoc(CCValAssign::getReg(ValNo, ValVT, Reg, LocVT, LocInfo)); in CC_MBlaze_AssignReg()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorOps.cpp166 MVT ValVT = ST->getValue().getSimpleValueType(); in LegalizeOp() local
168 switch (TLI.getTruncStoreAction(ValVT, StVT.getSimpleVT())) { in LegalizeOp()
DLegalizeVectorTypes.cpp2652 EVT ValVT = ValOp.getValueType(); in GenWidenVectorStores() local
2653 unsigned ValWidth = ValVT.getSizeInBits(); in GenWidenVectorStores()
2654 EVT ValEltVT = ValVT.getVectorElementType(); in GenWidenVectorStores()
2662 EVT NewVT = FindMemType(DAG, TLI, StWidth, ValVT); in GenWidenVectorStores()
2719 EVT ValVT = ValOp.getValueType(); in GenWidenVectorTruncStores() local
2730 EVT ValEltVT = ValVT.getVectorElementType(); in GenWidenVectorTruncStores()
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp39 static bool CC_PPC32_SVR4_Custom_Dummy(unsigned &ValNo, MVT &ValVT, MVT &LocVT,
43 static bool CC_PPC32_SVR4_Custom_AlignArgRegs(unsigned &ValNo, MVT &ValVT,
48 static bool CC_PPC32_SVR4_Custom_AlignFPArgRegs(unsigned &ValNo, MVT &ValVT,
1761 static bool CC_PPC32_SVR4_Custom_Dummy(unsigned &ValNo, MVT &ValVT, MVT &LocVT, in CC_PPC32_SVR4_Custom_Dummy() argument
1768 static bool CC_PPC32_SVR4_Custom_AlignArgRegs(unsigned &ValNo, MVT &ValVT, in CC_PPC32_SVR4_Custom_AlignArgRegs() argument
1795 static bool CC_PPC32_SVR4_Custom_AlignFPArgRegs(unsigned &ValNo, MVT &ValVT, in CC_PPC32_SVR4_Custom_AlignFPArgRegs() argument
1930 EVT ValVT = VA.getValVT(); in LowerFormalArguments_32SVR4() local
1932 switch (ValVT.getSimpleVT().SimpleTy) { in LowerFormalArguments_32SVR4()
1954 SDValue ArgValue = DAG.getCopyFromReg(Chain, dl, Reg, ValVT); in LowerFormalArguments_32SVR4()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp1620 EVT ValVT = ValToCopy.getValueType(); in LowerReturn() local
1634 if ((ValVT == MVT::f32 || ValVT == MVT::f64 || in LowerReturn()
1642 if (ValVT == MVT::f64 && in LowerReturn()
1662 if (ValVT == MVT::x86mmx) { in LowerReturn()
1918 EVT ValVT; in LowerMemArgument() local
1923 ValVT = VA.getLocVT(); in LowerMemArgument()
1925 ValVT = VA.getValVT(); in LowerMemArgument()
1937 int FI = MFI->CreateFixedObject(ValVT.getSizeInBits()/8, in LowerMemArgument()
1940 return DAG.getLoad(ValVT, dl, Chain, FIN, in LowerMemArgument()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp798 static bool CC_AArch64NoMoreRegs(unsigned ValNo, MVT ValVT, MVT LocVT, in CC_AArch64NoMoreRegs() argument