/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/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/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/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/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()
|
D | AArch64CallingConvention.td | 169 CCIf<"ValVT == MVT::i1 || ValVT == MVT::i8", CCAssignToStack<1, 1>>, 170 CCIf<"ValVT == MVT::i16 || ValVT == MVT::f16", CCAssignToStack<2, 2>>,
|
/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/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/include/llvm/Target/ |
D | TargetLowering.h | 414 LegalizeAction getTruncStoreAction(EVT ValVT, EVT MemVT) const { in getTruncStoreAction() argument 415 assert(ValVT.getSimpleVT() < MVT::LAST_VALUETYPE && in getTruncStoreAction() 418 return (LegalizeAction)TruncStoreActions[ValVT.getSimpleVT().SimpleTy] in getTruncStoreAction() 424 bool isTruncStoreLegal(EVT ValVT, EVT MemVT) const { in isTruncStoreLegal() argument 425 return isTypeLegal(ValVT) && MemVT.isSimple() && in isTruncStoreLegal() 426 getTruncStoreAction(ValVT, MemVT) == Legal; in isTruncStoreLegal() 1072 void setTruncStoreAction(MVT ValVT, MVT MemVT, in setTruncStoreAction() argument 1074 assert(ValVT < MVT::LAST_VALUETYPE && MemVT < MVT::LAST_VALUETYPE && in setTruncStoreAction() 1076 TruncStoreActions[ValVT.SimpleTy][MemVT.SimpleTy] = (uint8_t)Action; in setTruncStoreAction()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeTypes.cpp | 1118 SDValue DAGTypeLegalizer::PromoteTargetBoolean(SDValue Bool, EVT ValVT) { in PromoteTargetBoolean() argument 1120 EVT BoolVT = getSetCCResultType(ValVT); in PromoteTargetBoolean() 1122 TargetLowering::getExtendForContent(TLI.getBooleanContents(ValVT)); in PromoteTargetBoolean() 1129 SDValue DAGTypeLegalizer::WidenTargetBoolean(SDValue Bool, EVT ValVT, in WidenTargetBoolean() argument 1134 assert(ValVT.getVectorNumElements() > BoolVT.getVectorNumElements() && in WidenTargetBoolean() 1135 TLI.isTypeLegal(ValVT) && in WidenTargetBoolean() 1138 ValVT.getVectorNumElements()); in WidenTargetBoolean() 1140 return PromoteTargetBoolean(Bool, ValVT); in WidenTargetBoolean()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | CallingConvLower.cpp | 42 void CCState::HandleByVal(unsigned ValNo, MVT ValVT, in HandleByVal() argument 56 addLoc(CCValAssign::getMem(ValNo, ValVT, Offset, LocVT, LocInfo)); in HandleByVal()
|
/external/llvm/lib/Target/Mips/ |
D | MipsISelLowering.cpp | 2450 static bool CC_MipsO32(unsigned ValNo, MVT ValVT, MVT LocVT, in CC_MipsO32() argument 2495 bool isI64 = (ValVT == MVT::i32 && OrigAlign == 8); in CC_MipsO32() 2497 if (ValVT == MVT::i32 || (ValVT == MVT::f32 && AllocateFloatsInIntReg)) { in CC_MipsO32() 2504 } else if (ValVT == MVT::f64 && AllocateFloatsInIntReg) { in CC_MipsO32() 2512 } else if (ValVT.isFloatingPoint() && !AllocateFloatsInIntReg) { in CC_MipsO32() 2514 if (ValVT == MVT::f32) { in CC_MipsO32() 2530 unsigned Offset = State.AllocateStack(ValVT.getSizeInBits() >> 3, in CC_MipsO32() 2532 State.addLoc(CCValAssign::getMem(ValNo, ValVT, Offset, LocVT, LocInfo)); in CC_MipsO32() 2534 State.addLoc(CCValAssign::getReg(ValNo, ValVT, Reg, LocVT, LocInfo)); in CC_MipsO32() 2539 static bool CC_MipsO32_FP32(unsigned ValNo, MVT ValVT, in CC_MipsO32_FP32() argument [all …]
|
/external/llvm/lib/CodeGen/ |
D | CallingConvLower.cpp | 44 void CCState::HandleByVal(unsigned ValNo, MVT ValVT, in HandleByVal() argument 58 addLoc(CCValAssign::getMem(ValNo, ValVT, Offset, LocVT, LocInfo)); in HandleByVal()
|
/external/swiftshader/third_party/LLVM/lib/Target/Sparc/ |
D | SparcISelLowering.cpp | 37 static bool CC_Sparc_Assign_SRet(unsigned &ValNo, MVT &ValVT, in CC_Sparc_Assign_SRet() argument 44 State.addLoc(CCValAssign::getCustomMem(ValNo, ValVT, in CC_Sparc_Assign_SRet() 50 static bool CC_Sparc_Assign_f64(unsigned &ValNo, MVT &ValVT, in CC_Sparc_Assign_f64() argument 59 State.addLoc(CCValAssign::getCustomReg(ValNo, ValVT, Reg, LocVT, LocInfo)); in CC_Sparc_Assign_f64() 62 State.addLoc(CCValAssign::getCustomMem(ValNo, ValVT, in CC_Sparc_Assign_f64() 70 State.addLoc(CCValAssign::getCustomReg(ValNo, ValVT, Reg, LocVT, LocInfo)); in CC_Sparc_Assign_f64() 72 State.addLoc(CCValAssign::getCustomMem(ValNo, ValVT, in CC_Sparc_Assign_f64()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.h | 945 bool CC_PPC32_SVR4_Custom_Dummy(unsigned &ValNo, MVT &ValVT, MVT &LocVT, 950 bool CC_PPC32_SVR4_Custom_AlignArgRegs(unsigned &ValNo, MVT &ValVT, 956 bool CC_PPC32_SVR4_Custom_AlignFPArgRegs(unsigned &ValNo, MVT &ValVT,
|
/external/llvm/lib/Target/Sparc/ |
D | SparcISelLowering.cpp | 39 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_Split_64(unsigned &ValNo, MVT &ValVT, in CC_Sparc_Assign_Split_64() argument 61 State.addLoc(CCValAssign::getCustomReg(ValNo, ValVT, Reg, LocVT, LocInfo)); in CC_Sparc_Assign_Split_64() 64 State.addLoc(CCValAssign::getCustomMem(ValNo, ValVT, in CC_Sparc_Assign_Split_64() 72 State.addLoc(CCValAssign::getCustomReg(ValNo, ValVT, Reg, LocVT, LocInfo)); in CC_Sparc_Assign_Split_64() 74 State.addLoc(CCValAssign::getCustomMem(ValNo, ValVT, in CC_Sparc_Assign_Split_64() 80 static bool CC_Sparc_Assign_Ret_Split_64(unsigned &ValNo, MVT &ValVT, in CC_Sparc_Assign_Ret_Split_64() argument 90 State.addLoc(CCValAssign::getCustomReg(ValNo, ValVT, Reg, LocVT, LocInfo)); in CC_Sparc_Assign_Ret_Split_64() 96 State.addLoc(CCValAssign::getCustomReg(ValNo, ValVT, Reg, LocVT, LocInfo)); in CC_Sparc_Assign_Ret_Split_64() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/Mips/ |
D | MipsISelLowering.cpp | 1723 static bool CC_MipsO32(unsigned ValNo, MVT ValVT, in CC_MipsO32() argument 1741 State.HandleByVal(ValNo, ValVT, LocVT, LocInfo, in CC_MipsO32() 1769 bool isI64 = (ValVT == MVT::i32 && OrigAlign == 8); in CC_MipsO32() 1771 if (ValVT == MVT::i32 || (ValVT == MVT::f32 && AllocateFloatsInIntReg)) { in CC_MipsO32() 1778 } else if (ValVT == MVT::f64 && AllocateFloatsInIntReg) { in CC_MipsO32() 1786 } else if (ValVT.isFloatingPoint() && !AllocateFloatsInIntReg) { in CC_MipsO32() 1788 if (ValVT == MVT::f32) { in CC_MipsO32() 1803 unsigned SizeInBytes = ValVT.getSizeInBits() >> 3; in CC_MipsO32() 1807 State.addLoc(CCValAssign::getMem(ValNo, ValVT, Offset, LocVT, LocInfo)); in CC_MipsO32() 1809 State.addLoc(CCValAssign::getReg(ValNo, ValVT, Reg, LocVT, LocInfo)); in CC_MipsO32()
|
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/ |
D | MBlazeISelLowering.cpp | 38 static bool CC_MBlaze_AssignReg(unsigned &ValNo, MVT &ValVT, MVT &LocVT, 655 static bool CC_MBlaze_AssignReg(unsigned &ValNo, MVT &ValVT, MVT &LocVT, in CC_MBlaze_AssignReg() argument 668 unsigned SizeInBytes = ValVT.getSizeInBits() >> 3; in CC_MBlaze_AssignReg() 670 State.addLoc(CCValAssign::getReg(ValNo, ValVT, Reg, LocVT, LocInfo)); in CC_MBlaze_AssignReg()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXISelLowering.cpp | 1902 EVT ValVT = Op.getOperand(1).getValueType(); in LowerSTORE() local 1903 if (ValVT == MVT::i1) in LowerSTORE() 1905 else if (ValVT.isVector()) in LowerSTORE() 1916 EVT ValVT = Val.getValueType(); in LowerSTOREVector() local 1918 if (ValVT.isVector()) { in LowerSTOREVector() 1922 if (!ValVT.isSimple()) in LowerSTOREVector() 1924 switch (ValVT.getSimpleVT().SimpleTy) { in LowerSTOREVector() 1946 TD.getPrefTypeAlignment(ValVT.getTypeForEVT(*DAG.getContext())); in LowerSTOREVector() 1957 EVT EltVT = ValVT.getVectorElementType(); in LowerSTOREVector() 1958 unsigned NumElts = ValVT.getVectorNumElements(); in LowerSTOREVector()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | LegalizeVectorTypes.cpp | 2459 EVT ValVT = ValOp.getValueType(); in GenWidenVectorStores() local 2460 unsigned ValWidth = ValVT.getSizeInBits(); in GenWidenVectorStores() 2461 EVT ValEltVT = ValVT.getVectorElementType(); in GenWidenVectorStores() 2469 EVT NewVT = FindMemType(DAG, TLI, StWidth, ValVT); in GenWidenVectorStores() 2526 EVT ValVT = ValOp.getValueType(); in GenWidenVectorTruncStores() local 2537 EVT ValEltVT = ValVT.getVectorElementType(); in GenWidenVectorTruncStores()
|
/external/llvm/lib/Target/Lanai/ |
D | LanaiISelLowering.cpp | 353 static bool CC_Lanai32_VarArg(unsigned ValNo, MVT ValVT, MVT LocVT, in CC_Lanai32_VarArg() argument 360 return CC_Lanai32(ValNo, ValVT, LocVT, LocInfo, ArgFlags, State); in CC_Lanai32_VarArg() 376 State.addLoc(CCValAssign::getMem(ValNo, ValVT, Offset, LocVT, LocInfo)); in CC_Lanai32_VarArg()
|