/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/llvm/include/llvm/CodeGen/ |
D | CallingConvLower.h | 70 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/ |
D | TargetLowering.h | 575 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/ |
D | AArch64CallingConvention.h | 68 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()
|
D | AArch64CallingConvention.td | 153 CCIf<"ValVT == MVT::i1 || ValVT == MVT::i8", CCAssignToStack<1, 1>>, 154 CCIf<"ValVT == MVT::i16 || ValVT == MVT::f16", CCAssignToStack<2, 2>>,
|
D | AArch64ISelLowering.cpp | 2073 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/ |
D | HexagonISelLowering.cpp | 65 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/ |
D | X86CallingConv.h | 23 inline bool CC_X86_32_VectorCallIndirect(unsigned &ValNo, MVT &ValVT, in CC_X86_32_VectorCallIndirect() argument
|
D | X86ISelLowering.cpp | 1896 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/ |
D | MipsISelLowering.cpp | 2323 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 …]
|
D | MipsFastISel.cpp | 196 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/ |
D | CallingConvLower.cpp | 43 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/ |
D | PPCISelLowering.h | 842 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,
|
D | PPCISelLowering.cpp | 2377 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/ |
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_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/ |
D | LegalizeTypes.cpp | 1100 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()
|
D | LegalizeVectorOps.cpp | 231 MVT ValVT = ST->getValue().getSimpleValueType(); in LegalizeOp() local 233 switch (TLI.getTruncStoreAction(ValVT, StVT.getSimpleVT())) { in LegalizeOp()
|
D | LegalizeVectorTypes.cpp | 3209 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()
|
D | LegalizeTypes.h | 175 SDValue PromoteTargetBoolean(SDValue Bool, EVT ValVT);
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXISelLowering.cpp | 1851 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/ |
D | AMDGPUISelLowering.cpp | 74 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()
|