/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86CallingConv.cpp | 22 bool CC_X86_32_RegCall_Assign2Regs(unsigned &ValNo, MVT &ValVT, MVT &LocVT, in CC_X86_32_RegCall_Assign2Regs() argument 54 State.addLoc(CCValAssign::getCustomReg(ValNo, ValVT, Reg, LocVT, LocInfo)); in CC_X86_32_RegCall_Assign2Regs() 61 static ArrayRef<MCPhysReg> CC_X86_VectorCallGetSSEs(const MVT &ValVT) { in CC_X86_VectorCallGetSSEs() argument 62 if (ValVT.is512BitVector()) { in CC_X86_VectorCallGetSSEs() 68 if (ValVT.is256BitVector()) { in CC_X86_VectorCallGetSSEs() 84 static bool CC_X86_VectorCallAssignRegister(unsigned &ValNo, MVT &ValVT, in CC_X86_VectorCallAssignRegister() argument 90 ArrayRef<MCPhysReg> RegList = CC_X86_VectorCallGetSSEs(ValVT); in CC_X86_VectorCallAssignRegister() 101 CCValAssign::getReg(ValNo, ValVT, AssigedReg, LocVT, LocInfo)); in CC_X86_VectorCallAssignRegister() 106 State.addLoc(CCValAssign::getReg(ValNo, ValVT, Reg, LocVT, LocInfo)); in CC_X86_VectorCallAssignRegister() 116 bool CC_X86_64_VectorCall(unsigned &ValNo, MVT &ValVT, MVT &LocVT, in CC_X86_64_VectorCall() argument [all …]
|
D | X86CallingConv.h | 28 bool CC_X86_32_RegCall_Assign2Regs(unsigned &ValNo, MVT &ValVT, MVT &LocVT, 38 bool CC_X86_64_VectorCall(unsigned &ValNo, MVT &ValVT, MVT &LocVT, 47 bool CC_X86_32_VectorCall(unsigned &ValNo, MVT &ValVT, MVT &LocVT, 60 inline bool CC_X86_32_MCUInReg(unsigned &ValNo, MVT &ValVT, in CC_X86_32_MCUInReg() argument 78 CCValAssign::getPending(ValNo, ValVT, LocVT, LocInfo)); in CC_X86_32_MCUInReg() 87 State.addLoc(CCValAssign::getReg(ValNo, ValVT, Reg, LocVT, LocInfo)); in CC_X86_32_MCUInReg()
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | ARMCallingConv.h | 29 static bool f64AssignAPCS(unsigned &ValNo, MVT &ValVT, MVT &LocVT, in f64AssignAPCS() argument 36 State.addLoc(CCValAssign::getCustomReg(ValNo, ValVT, Reg, LocVT, LocInfo)); in f64AssignAPCS() 43 State.addLoc(CCValAssign::getCustomMem(ValNo, ValVT, in f64AssignAPCS() 51 State.addLoc(CCValAssign::getCustomReg(ValNo, ValVT, Reg, LocVT, LocInfo)); in f64AssignAPCS() 53 State.addLoc(CCValAssign::getCustomMem(ValNo, ValVT, in f64AssignAPCS() 59 static bool CC_ARM_APCS_Custom_f64(unsigned &ValNo, MVT &ValVT, MVT &LocVT, in CC_ARM_APCS_Custom_f64() argument 63 if (!f64AssignAPCS(ValNo, ValVT, LocVT, LocInfo, State, true)) in CC_ARM_APCS_Custom_f64() 66 !f64AssignAPCS(ValNo, ValVT, LocVT, LocInfo, State, false)) in CC_ARM_APCS_Custom_f64() 72 static bool f64AssignAAPCS(unsigned &ValNo, MVT &ValVT, MVT &LocVT, in f64AssignAAPCS() argument 86 State.addLoc(CCValAssign::getCustomMem(ValNo, ValVT, in f64AssignAAPCS() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86GenCallingConv.inc | 9 static bool CC_X86(unsigned ValNo, MVT ValVT, 12 static bool CC_X86_32(unsigned ValNo, MVT ValVT, 15 static bool CC_X86_32_C(unsigned ValNo, MVT ValVT, 18 static bool CC_X86_32_Common(unsigned ValNo, MVT ValVT, 21 static bool CC_X86_32_FastCC(unsigned ValNo, MVT ValVT, 24 static bool CC_X86_32_FastCall(unsigned ValNo, MVT ValVT, 27 static bool CC_X86_32_GHC(unsigned ValNo, MVT ValVT, 30 static bool CC_X86_32_ThisCall(unsigned ValNo, MVT ValVT, 33 static bool CC_X86_64(unsigned ValNo, MVT ValVT, 36 static bool CC_X86_64_C(unsigned ValNo, MVT ValVT, [all …]
|
/external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/Mips/ |
D | MipsGenCallingConv.inc | 9 static bool CC_Mips(unsigned ValNo, MVT ValVT, 12 static bool CC_Mips16RetHelper(unsigned ValNo, MVT ValVT, 15 static bool CC_MipsN(unsigned ValNo, MVT ValVT, 18 static bool CC_MipsN_FastCC(unsigned ValNo, MVT ValVT, 21 static bool CC_MipsN_SoftFloat(unsigned ValNo, MVT ValVT, 24 static bool CC_MipsN_VarArg(unsigned ValNo, MVT ValVT, 27 static bool CC_MipsO32(unsigned ValNo, MVT ValVT, 30 static bool CC_MipsO32_FP(unsigned ValNo, MVT ValVT, 33 static bool CC_MipsO32_FastCC(unsigned ValNo, MVT ValVT, 36 static bool CC_Mips_ByVal(unsigned ValNo, MVT ValVT, [all …]
|
/external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/X86/ |
D | X86GenCallingConv.inc | 9 static bool CC_Intel_OCL_BI(unsigned ValNo, MVT ValVT, 12 static bool CC_X86(unsigned ValNo, MVT ValVT, 15 static bool CC_X86_32(unsigned ValNo, MVT ValVT, 18 static bool CC_X86_32_C(unsigned ValNo, MVT ValVT, 21 static bool CC_X86_32_Common(unsigned ValNo, MVT ValVT, 24 static bool CC_X86_32_FastCC(unsigned ValNo, MVT ValVT, 27 static bool CC_X86_32_FastCall(unsigned ValNo, MVT ValVT, 30 static bool CC_X86_32_GHC(unsigned ValNo, MVT ValVT, 33 static bool CC_X86_32_HiPE(unsigned ValNo, MVT ValVT, 36 static bool CC_X86_32_Intr(unsigned ValNo, MVT ValVT, [all …]
|
/external/llvm/lib/Target/ARM/ |
D | ARMCallingConv.h | 28 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
D | ARMCallingConv.h | 28 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/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/ARM/ |
D | ARMGenCallingConv.inc | 9 static bool CC_ARM_AAPCS(unsigned ValNo, MVT ValVT, 12 static bool CC_ARM_AAPCS_Common(unsigned ValNo, MVT ValVT, 15 static bool CC_ARM_AAPCS_VFP(unsigned ValNo, MVT ValVT, 18 static bool CC_ARM_APCS(unsigned ValNo, MVT ValVT, 21 static bool CC_ARM_APCS_GHC(unsigned ValNo, MVT ValVT, 24 static bool FastCC_ARM_APCS(unsigned ValNo, MVT ValVT, 27 static bool RetCC_ARM_AAPCS(unsigned ValNo, MVT ValVT, 30 static bool RetCC_ARM_AAPCS_Common(unsigned ValNo, MVT ValVT, 33 static bool RetCC_ARM_AAPCS_VFP(unsigned ValNo, MVT ValVT, 36 static bool RetCC_ARM_APCS(unsigned ValNo, MVT ValVT, [all …]
|
/external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/AArch64/ |
D | AArch64GenCallingConv.inc | 9 static bool CC_AArch64_AAPCS(unsigned ValNo, MVT ValVT, 12 static bool CC_AArch64_DarwinPCS(unsigned ValNo, MVT ValVT, 15 static bool CC_AArch64_DarwinPCS_VarArg(unsigned ValNo, MVT ValVT, 18 static bool CC_AArch64_GHC(unsigned ValNo, MVT ValVT, 21 static bool CC_AArch64_WebKit_JS(unsigned ValNo, MVT ValVT, 24 static bool CC_AArch64_Win64_VarArg(unsigned ValNo, MVT ValVT, 27 static bool RetCC_AArch64_AAPCS(unsigned ValNo, MVT ValVT, 30 static bool RetCC_AArch64_WebKit_JS(unsigned ValNo, MVT ValVT, 35 static bool CC_AArch64_AAPCS(unsigned ValNo, MVT ValVT, 82 State.addLoc(CCValAssign::getReg(ValNo, ValVT, Reg, LocVT, LocInfo)); [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
D | CallingConvLower.h | 61 MVT ValVT; variable 67 static CCValAssign getReg(unsigned ValNo, MVT ValVT, in getReg() argument 76 Ret.ValVT = ValVT; in getReg() 81 static CCValAssign getCustomReg(unsigned ValNo, MVT ValVT, in getCustomReg() argument 85 Ret = getReg(ValNo, ValVT, RegNo, LocVT, HTP); in getCustomReg() 90 static CCValAssign getMem(unsigned ValNo, MVT ValVT, in getMem() argument 99 Ret.ValVT = ValVT; in getMem() 104 static CCValAssign getCustomMem(unsigned ValNo, MVT ValVT, in getCustomMem() argument 108 Ret = getMem(ValNo, ValVT, Offset, LocVT, HTP); in getCustomMem() 114 MVT getValVT() const { return ValVT; } in getValVT() [all …]
|
/external/llvm/include/llvm/CodeGen/ |
D | CallingConvLower.h | 71 MVT ValVT; variable 77 static CCValAssign getReg(unsigned ValNo, MVT ValVT, in getReg() argument 86 Ret.ValVT = ValVT; in getReg() 91 static CCValAssign getCustomReg(unsigned ValNo, MVT ValVT, in getCustomReg() argument 95 Ret = getReg(ValNo, ValVT, RegNo, LocVT, HTP); in getCustomReg() 100 static CCValAssign getMem(unsigned ValNo, MVT ValVT, in getMem() argument 109 Ret.ValVT = ValVT; in getMem() 114 static CCValAssign getCustomMem(unsigned ValNo, MVT ValVT, in getCustomMem() argument 118 Ret = getMem(ValNo, ValVT, Offset, LocVT, HTP); in getCustomMem() 125 static CCValAssign getPending(unsigned ValNo, MVT ValVT, MVT LocVT, [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
D | CallingConvLower.h | 72 MVT ValVT; variable 78 static CCValAssign getReg(unsigned ValNo, MVT ValVT, in getReg() argument 87 Ret.ValVT = ValVT; in getReg() 92 static CCValAssign getCustomReg(unsigned ValNo, MVT ValVT, in getCustomReg() argument 96 Ret = getReg(ValNo, ValVT, RegNo, LocVT, HTP); in getCustomReg() 101 static CCValAssign getMem(unsigned ValNo, MVT ValVT, in getMem() argument 110 Ret.ValVT = ValVT; in getMem() 115 static CCValAssign getCustomMem(unsigned ValNo, MVT ValVT, in getCustomMem() argument 119 Ret = getMem(ValNo, ValVT, Offset, LocVT, HTP); in getCustomMem() 126 static CCValAssign getPending(unsigned ValNo, MVT ValVT, MVT LocVT, [all …]
|
D | TargetLowering.h | 944 LegalizeAction getLoadExtAction(unsigned ExtType, EVT ValVT, in getLoadExtAction() argument 946 if (ValVT.isExtended() || MemVT.isExtended()) return Expand; in getLoadExtAction() 947 unsigned ValI = (unsigned) ValVT.getSimpleVT().SimpleTy; in getLoadExtAction() 956 bool isLoadExtLegal(unsigned ExtType, EVT ValVT, EVT MemVT) const { in isLoadExtLegal() argument 957 return getLoadExtAction(ExtType, ValVT, MemVT) == Legal; in isLoadExtLegal() 962 bool isLoadExtLegalOrCustom(unsigned ExtType, EVT ValVT, EVT MemVT) const { in isLoadExtLegalOrCustom() argument 963 return getLoadExtAction(ExtType, ValVT, MemVT) == Legal || in isLoadExtLegalOrCustom() 964 getLoadExtAction(ExtType, ValVT, MemVT) == Custom; in isLoadExtLegalOrCustom() 970 LegalizeAction getTruncStoreAction(EVT ValVT, EVT MemVT) const { in getTruncStoreAction() argument 971 if (ValVT.isExtended() || MemVT.isExtended()) return Expand; in getTruncStoreAction() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Nios2/ |
D | Nios2ISelLowering.cpp | 106 EVT ValVT = VA.getValVT(); in LowerFormalArguments() local 130 DAG.getNode(Opcode, DL, RegVT, ArgValue, DAG.getValueType(ValVT)); in LowerFormalArguments() 131 ArgValue = DAG.getNode(ISD::TRUNCATE, DL, ValVT, ArgValue); in LowerFormalArguments() 135 if ((RegVT == MVT::i32 && ValVT == MVT::f32) || in LowerFormalArguments() 136 (RegVT == MVT::i64 && ValVT == MVT::f64)) in LowerFormalArguments() 137 ArgValue = DAG.getNode(ISD::BITCAST, DL, ValVT, ArgValue); in LowerFormalArguments() 146 int FI = MFI.CreateFixedObject(ValVT.getSizeInBits() / 8, in LowerFormalArguments()
|
/external/llvm/lib/Target/X86/ |
D | X86CallingConv.h | 24 inline bool CC_X86_32_VectorCallIndirect(unsigned &ValNo, MVT &ValVT, in CC_X86_32_VectorCallIndirect() argument 46 inline bool CC_X86_32_MCUInReg(unsigned &ValNo, MVT &ValVT, in CC_X86_32_MCUInReg() argument 64 CCValAssign::getPending(ValNo, ValVT, LocVT, LocInfo)); in CC_X86_32_MCUInReg() 73 State.addLoc(CCValAssign::getReg(ValNo, ValVT, Reg, LocVT, LocInfo)); in CC_X86_32_MCUInReg()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUCallLowering.cpp | 215 MVT ValVT = ElemVT.getSimpleVT(); in lowerFormalArguments() local 216 bool Res = AssignFn(i, ValVT, ValVT, CCValAssign::Full, in lowerFormalArguments() 221 MVT ValVT = ValEVT.getSimpleVT(); in lowerFormalArguments() local 225 AssignFn(i, ValVT, ValVT, CCValAssign::Full, OrigArg.Flags, CCInfo); in lowerFormalArguments()
|
/external/llvm/include/llvm/Target/ |
D | TargetLowering.h | 657 LegalizeAction getLoadExtAction(unsigned ExtType, EVT ValVT, in getLoadExtAction() argument 659 if (ValVT.isExtended() || MemVT.isExtended()) return Expand; in getLoadExtAction() 660 unsigned ValI = (unsigned) ValVT.getSimpleVT().SimpleTy; in getLoadExtAction() 669 bool isLoadExtLegal(unsigned ExtType, EVT ValVT, EVT MemVT) const { in isLoadExtLegal() argument 670 return getLoadExtAction(ExtType, ValVT, MemVT) == Legal; in isLoadExtLegal() 675 bool isLoadExtLegalOrCustom(unsigned ExtType, EVT ValVT, EVT MemVT) const { in isLoadExtLegalOrCustom() argument 676 return getLoadExtAction(ExtType, ValVT, MemVT) == Legal || in isLoadExtLegalOrCustom() 677 getLoadExtAction(ExtType, ValVT, MemVT) == Custom; in isLoadExtLegalOrCustom() 683 LegalizeAction getTruncStoreAction(EVT ValVT, EVT MemVT) const { in getTruncStoreAction() argument 684 if (ValVT.isExtended() || MemVT.isExtended()) return Expand; in getTruncStoreAction() [all …]
|
/external/llvm/lib/Target/Hexagon/ |
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, in CC_Hexagon_VarArg() argument 152 return CC_Hexagon(ValNo, ValVT, LocVT, LocInfo, ArgFlags, State); in CC_Hexagon_VarArg() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/ |
D | AArch64CallingConvention.h | 66 unsigned &ValNo, MVT &ValVT, MVT &LocVT, CCValAssign::LocInfo &LocInfo, in CC_AArch64_Custom_Stack_Block() argument 73 CCValAssign::getPending(ValNo, ValVT, LocVT, LocInfo)); in CC_AArch64_Custom_Stack_Block() 84 static bool CC_AArch64_Custom_Block(unsigned &ValNo, MVT &ValVT, MVT &LocVT, in CC_AArch64_Custom_Block() argument 110 CCValAssign::getPending(ValNo, ValVT, LocVT, LocInfo)); in CC_AArch64_Custom_Block()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64CallingConvention.h | 66 unsigned &ValNo, MVT &ValVT, MVT &LocVT, CCValAssign::LocInfo &LocInfo, in CC_AArch64_Custom_Stack_Block() argument 73 CCValAssign::getPending(ValNo, ValVT, LocVT, LocInfo)); in CC_AArch64_Custom_Stack_Block() 84 static bool CC_AArch64_Custom_Block(unsigned &ValNo, MVT &ValVT, MVT &LocVT, in CC_AArch64_Custom_Block() argument 110 CCValAssign::getPending(ValNo, ValVT, LocVT, LocInfo)); in CC_AArch64_Custom_Block()
|
D | AArch64CallLowering.cpp | 69 MVT ValVT = MVT::getVT(CurOrigArg->getType()); in lowerFormalArguments() local 73 AssignFn(i, ValVT, ValVT, CCValAssign::Full, ISD::ArgFlagsTy(), CCInfo); in lowerFormalArguments()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZCallingConv.h | 88 inline bool CC_SystemZ_I128Indirect(unsigned &ValNo, MVT &ValVT, in CC_SystemZ_I128Indirect() argument 103 PendingMembers.push_back(CCValAssign::getPending(ValNo, ValVT, in CC_SystemZ_I128Indirect()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/ |
D | SystemZCallingConv.h | 88 inline bool CC_SystemZ_I128Indirect(unsigned &ValNo, MVT &ValVT, in CC_SystemZ_I128Indirect() argument 103 PendingMembers.push_back(CCValAssign::getPending(ValNo, ValVT, in CC_SystemZ_I128Indirect()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/GlobalISel/ |
D | CallLowering.h | 102 virtual bool assignArg(unsigned ValNo, MVT ValVT, MVT LocVT, in assignArg() 105 return AssignFn(ValNo, ValVT, LocVT, LocInfo, Info.Flags, State); in assignArg()
|