/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | CallingConvLower.cpp | 74 MVT ArgVT = Ins[i].VT; in AnalyzeFormalArguments() local 76 if (Fn(i, ArgVT, ArgVT, CCValAssign::Full, ArgFlags, *this)) { in AnalyzeFormalArguments() 79 << EVT(ArgVT).getEVTString(); in AnalyzeFormalArguments() 124 MVT ArgVT = Outs[i].VT; in AnalyzeCallOperands() local 126 if (Fn(i, ArgVT, ArgVT, CCValAssign::Full, ArgFlags, *this)) { in AnalyzeCallOperands() 129 << EVT(ArgVT).getEVTString(); in AnalyzeCallOperands() 143 MVT ArgVT = ArgVTs[i]; in AnalyzeCallOperands() local 145 if (Fn(i, ArgVT, ArgVT, CCValAssign::Full, ArgFlags, *this)) { in AnalyzeCallOperands() 148 << EVT(ArgVT).getEVTString(); in AnalyzeCallOperands()
|
/external/llvm/lib/CodeGen/ |
D | CallingConvLower.cpp | 75 MVT ArgVT = Ins[i].VT; in AnalyzeFormalArguments() local 77 if (Fn(i, ArgVT, ArgVT, CCValAssign::Full, ArgFlags, *this)) { in AnalyzeFormalArguments() 80 << EVT(ArgVT).getEVTString() << '\n'; in AnalyzeFormalArguments() 125 MVT ArgVT = Outs[i].VT; in AnalyzeCallOperands() local 127 if (Fn(i, ArgVT, ArgVT, CCValAssign::Full, ArgFlags, *this)) { in AnalyzeCallOperands() 130 << EVT(ArgVT).getEVTString() << '\n'; in AnalyzeCallOperands() 143 MVT ArgVT = ArgVTs[i]; in AnalyzeCallOperands() local 145 if (Fn(i, ArgVT, ArgVT, CCValAssign::Full, ArgFlags, *this)) { in AnalyzeCallOperands() 148 << EVT(ArgVT).getEVTString() << '\n'; in AnalyzeCallOperands()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZCallingConv.h | 36 bool IsShortVectorType(EVT ArgVT) { in IsShortVectorType() argument 37 return ArgVT.isVector() && ArgVT.getStoreSize() <= 8; in IsShortVectorType() 54 ArgIsShortVector.push_back(IsShortVectorType(Ins[i].ArgVT)); in AnalyzeFormalArguments() 68 ArgIsShortVector.push_back(IsShortVectorType(Outs[i].ArgVT)); in AnalyzeCallOperands()
|
D | SystemZISelLowering.cpp | 791 static void VerifyVectorType(MVT VT, EVT ArgVT) { in VerifyVectorType() argument 792 if (ArgVT.isVector() && !VT.isVector()) in VerifyVectorType() 798 VerifyVectorType(Ins[i].VT, Ins[i].ArgVT); in VerifyVectorTypes() 803 VerifyVectorType(Outs[i].VT, Outs[i].ArgVT); in VerifyVectorTypes() 1082 SDValue SpillSlot = DAG.CreateStackTemporary(Outs[I].ArgVT); in LowerCall() 1225 if (Out.ArgVT == MVT::i128) in CanLowerReturn()
|
/external/llvm/include/llvm/Target/ |
D | TargetCallingConv.h | 148 EVT ArgVT; member 166 ArgVT = argvt; in InputArg() 186 EVT ArgVT; member 205 ArgVT = argvt; in OutputArg()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCCCState.cpp | 20 if (I.ArgVT == llvm::MVT::ppcf128) in PreAnalyzeCallOperands() 30 if (I.ArgVT == llvm::MVT::ppcf128) { in PreAnalyzeFormalArguments()
|
D | PPCFastISel.cpp | 1297 MVT ArgVT = ArgVTs[VA.getValNo()]; in processCallArgs() local 1301 if (ArgVT.isVector() || ArgVT.getSizeInBits() > 64 || ArgVT == MVT::i1 || in processCallArgs() 1336 MVT ArgVT = ArgVTs[VA.getValNo()]; in processCallArgs() local 1349 if (!PPCEmitIntExt(ArgVT, Arg, DestVT, TmpReg, /*IsZExt*/false)) in processCallArgs() 1351 ArgVT = DestVT; in processCallArgs() 1361 if (!PPCEmitIntExt(ArgVT, Arg, DestVT, TmpReg, /*IsZExt*/true)) in processCallArgs() 1363 ArgVT = DestVT; in processCallArgs() 1376 if (ArgVT == MVT::f32 || ArgVT == MVT::f64) { in processCallArgs() 1528 MVT ArgVT; in fastLowerCall() local 1529 if (!isTypeLegal(ArgTy, ArgVT) && ArgVT != MVT::i16 && ArgVT != MVT::i8) in fastLowerCall() [all …]
|
D | PPCISelLowering.cpp | 2735 static unsigned CalculateStackSlotSize(EVT ArgVT, ISD::ArgFlagsTy Flags, in CalculateStackSlotSize() argument 2737 unsigned ArgSize = ArgVT.getStoreSize(); in CalculateStackSlotSize() 2751 static unsigned CalculateStackSlotAlignment(EVT ArgVT, EVT OrigVT, in CalculateStackSlotAlignment() argument 2757 if (ArgVT == MVT::v4f32 || ArgVT == MVT::v4i32 || in CalculateStackSlotAlignment() 2758 ArgVT == MVT::v8i16 || ArgVT == MVT::v16i8 || in CalculateStackSlotAlignment() 2759 ArgVT == MVT::v2f64 || ArgVT == MVT::v2i64 || in CalculateStackSlotAlignment() 2760 ArgVT == MVT::v1i128) in CalculateStackSlotAlignment() 2764 else if (ArgVT == MVT::v4f64 || ArgVT == MVT::v4i1) in CalculateStackSlotAlignment() 2787 Align = ArgVT.getStoreSize(); in CalculateStackSlotAlignment() 2797 static bool CalculateStackSlotUsed(EVT ArgVT, EVT OrigVT, in CalculateStackSlotUsed() argument [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86FastISel.cpp | 1621 MVT ArgVT; in DoSelectCall() local 1622 if (!isTypeLegal(ArgVal->getType(), ArgVT)) return false; in DoSelectCall() 1624 ArgReg = FastEmit_ri(ArgVT, ArgVT, ISD::AND, ArgReg, in DoSelectCall() 1633 MVT ArgVT; in DoSelectCall() local 1634 if (!isTypeLegal(ArgTy, ArgVT)) in DoSelectCall() 1636 if (ArgVT == MVT::x86mmx) in DoSelectCall() 1643 ArgVTs.push_back(ArgVT); in DoSelectCall() 1672 EVT ArgVT = ArgVTs[VA.getValNo()]; in DoSelectCall() local 1682 Arg, ArgVT, Arg); in DoSelectCall() 1684 ArgVT = VA.getLocVT(); in DoSelectCall() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | ARMFastISel.cpp | 1583 MVT ArgVT = ArgVTs[VA.getValNo()]; in ProcessCallArgs() local 1586 if (ArgVT.isVector() || ArgVT.getSizeInBits() > 64) in ProcessCallArgs() 1594 Arg, ArgVT, Arg); in ProcessCallArgs() 1597 ArgVT = VA.getLocVT(); in ProcessCallArgs() 1602 Arg, ArgVT, Arg); in ProcessCallArgs() 1605 ArgVT = VA.getLocVT(); in ProcessCallArgs() 1610 Arg, ArgVT, Arg); in ProcessCallArgs() 1613 Arg, ArgVT, Arg); in ProcessCallArgs() 1616 Arg, ArgVT, Arg); in ProcessCallArgs() 1619 ArgVT = VA.getLocVT(); in ProcessCallArgs() [all …]
|
/external/llvm/lib/Target/ARM/ |
D | ARMFastISel.cpp | 1887 MVT ArgVT = ArgVTs[VA.getValNo()]; in ProcessCallArgs() local 1890 if (ArgVT.isVector() || ArgVT.getSizeInBits() > 64) in ProcessCallArgs() 1903 switch (ArgVT.SimpleTy) { in ProcessCallArgs() 1939 MVT ArgVT = ArgVTs[VA.getValNo()]; in ProcessCallArgs() local 1941 assert((!ArgVT.isVector() && ArgVT.getSizeInBits() <= 64) && in ProcessCallArgs() 1949 Arg = ARMEmitIntExt(ArgVT, Arg, DestVT, /*isZExt*/false); in ProcessCallArgs() 1951 ArgVT = DestVT; in ProcessCallArgs() 1958 Arg = ARMEmitIntExt(ArgVT, Arg, DestVT, /*isZExt*/true); in ProcessCallArgs() 1960 ArgVT = DestVT; in ProcessCallArgs() 1964 unsigned BC = fastEmit_r(ArgVT, VA.getLocVT(), ISD::BITCAST, Arg, in ProcessCallArgs() [all …]
|
D | ARMISelLowering.cpp | 6919 EVT ArgVT = Arg.getValueType(); in LowerFSINCOS() local 6920 Type *ArgTy = ArgVT.getTypeForEVT(*DAG.getContext()); in LowerFSINCOS() 6958 (ArgVT == MVT::f64) ? "__sincos_stret" : "__sincosf_stret"; in LowerFSINCOS() 6960 (ArgVT == MVT::f64) ? RTLIB::SINCOS_F64 : RTLIB::SINCOS_F32; in LowerFSINCOS() 6974 SDValue LoadSin = DAG.getLoad(ArgVT, dl, CallResult.second, SRet, in LowerFSINCOS() 6979 DAG.getIntPtrConstant(ArgVT.getStoreSize(), dl)); in LowerFSINCOS() 6980 SDValue LoadCos = DAG.getLoad(ArgVT, dl, LoadSin.getValue(1), Add, in LowerFSINCOS() 6983 SDVTList Tys = DAG.getVTList(ArgVT, ArgVT); in LowerFSINCOS() 12035 EVT ArgVT = N->getOperand(i).getValueType(); in getDivRemArgList() local 12036 Type *ArgTy = ArgVT.getTypeForEVT(*Context); in getDivRemArgList()
|
/external/llvm/lib/Target/Mips/ |
D | MipsFastISel.cpp | 1105 MVT ArgVT = OutVTs[VA.getValNo()]; in processCallArgs() local 1108 firstMVT = ArgVT; in processCallArgs() 1109 if (ArgVT == MVT::f32) { in processCallArgs() 1111 } else if (ArgVT == MVT::f64) { in processCallArgs() 1116 if (ArgVT == MVT::f32) { in processCallArgs() 1118 } else if (ArgVT == MVT::f64) { in processCallArgs() 1123 if (((ArgVT == MVT::i32) || (ArgVT == MVT::f32) || (ArgVT == MVT::i16) || in processCallArgs() 1124 (ArgVT == MVT::i8)) && in processCallArgs() 1154 MVT SrcVT = ArgVT; in processCallArgs() 1162 MVT SrcVT = ArgVT; in processCallArgs() [all …]
|
D | MipsISelLowering.cpp | 2793 unsigned ValSizeInBits = Outs[i].ArgVT.getSizeInBits(); in LowerCall() 2920 unsigned ValSizeInBits = Ins[i].ArgVT.getSizeInBits(); in LowerCallResult() 2962 EVT ArgVT, const SDLoc &DL, in UnpackFromArgumentSlot() argument 2974 unsigned ValSizeInBits = ArgVT.getSizeInBits(); in UnpackFromArgumentSlot() 3089 ArgValue = UnpackFromArgumentSlot(ArgValue, VA, Ins[i].ArgVT, DL, DAG); in LowerFormalArguments() 3136 ArgValue = UnpackFromArgumentSlot(ArgValue, VA, Ins[i].ArgVT, DL, DAG); in LowerFormalArguments() 3264 unsigned ValSizeInBits = Outs[i].ArgVT.getSizeInBits(); in LowerReturn()
|
/external/llvm/lib/Target/X86/ |
D | X86FastISel.cpp | 2927 EVT ArgVT = TLI.getValueType(DL, ArgTy); in fastLowerArguments() local 2928 if (!ArgVT.isSimple()) return false; in fastLowerArguments() 2929 switch (ArgVT.getSimpleVT().SimpleTy) { in fastLowerArguments() 3131 MVT ArgVT = OutVTs[VA.getValNo()]; in fastLowerCall() local 3133 if (ArgVT == MVT::x86mmx) in fastLowerCall() 3145 if (ArgVT.SimpleTy == MVT::i1) in fastLowerCall() 3149 ArgVT, ArgReg); in fastLowerCall() 3151 ArgVT = VA.getLocVT(); in fastLowerCall() 3159 if (ArgVT.SimpleTy == MVT::i1) { in fastLowerCall() 3162 ArgVT = MVT::i8; in fastLowerCall() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/Alpha/ |
D | AlphaISelLowering.cpp | 493 EVT ArgVT = Outs[0].VT; in LowerReturn() local 495 if (ArgVT.isInteger()) in LowerReturn() 498 assert(ArgVT.isFloatingPoint()); in LowerReturn() 508 EVT ArgVT = Outs[0].VT; in LowerReturn() local 510 if (ArgVT.isInteger()) { in LowerReturn() 514 assert(ArgVT.isFloatingPoint()); in LowerReturn()
|
/external/llvm/lib/Target/MSP430/ |
D | MSP430ISelLowering.cpp | 296 MVT ArgVT = Args[ValNo].VT; in AnalyzeArguments() local 298 MVT LocVT = ArgVT; in AnalyzeArguments() 314 State.HandleByVal(ValNo++, ArgVT, LocVT, LocInfo, 2, 2, ArgFlags); in AnalyzeArguments() 324 State.addLoc(CCValAssign::getReg(ValNo++, ArgVT, Reg, LocVT, LocInfo)); in AnalyzeArguments() 335 CC_MSP430_AssignStack(ValNo++, ArgVT, LocVT, LocInfo, ArgFlags, State); in AnalyzeArguments()
|
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/ |
D | PPCISelLowering.cpp | 1595 static unsigned CalculateStackSlotSize(EVT ArgVT, ISD::ArgFlagsTy Flags, in CalculateStackSlotSize() argument 1597 unsigned ArgSize = ArgVT.getSizeInBits()/8; in CalculateStackSlotSize() 2231 EVT ArgVT = Outs[i].VT; in CalculateParameterAndLinkageAreaSize() local 2233 if (ArgVT==MVT::v4f32 || ArgVT==MVT::v4i32 || in CalculateParameterAndLinkageAreaSize() 2234 ArgVT==MVT::v8i16 || ArgVT==MVT::v16i8) { in CalculateParameterAndLinkageAreaSize() 2244 NumBytes += CalculateStackSlotSize(ArgVT, Flags, PtrByteSize); in CalculateParameterAndLinkageAreaSize() 2889 MVT ArgVT = Outs[i].VT; in LowerCall_SVR4() local 2894 Result = CC_PPC_SVR4(i, ArgVT, ArgVT, CCValAssign::Full, ArgFlags, in LowerCall_SVR4() 2897 Result = CC_PPC_SVR4_VarArg(i, ArgVT, ArgVT, CCValAssign::Full, in LowerCall_SVR4() 2904 << EVT(ArgVT).getEVTString() << "\n"; in LowerCall_SVR4()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64FastISel.cpp | 2851 EVT ArgVT = TLI.getValueType(DL, ArgTy); in fastLowerArguments() local 2852 if (!ArgVT.isSimple()) in fastLowerArguments() 2855 MVT VT = ArgVT.getSimpleVT().SimpleTy; in fastLowerArguments() 2950 MVT ArgVT = OutVTs[VA.getValNo()]; in processCallArgs() local 2962 MVT SrcVT = ArgVT; in processCallArgs() 2972 MVT SrcVT = ArgVT; in processCallArgs() 2998 unsigned ArgSize = (ArgVT.getSizeInBits() + 7) / 8; in processCallArgs() 3012 MachineMemOperand::MOStore, ArgVT.getStoreSize(), Alignment); in processCallArgs() 3014 if (!emitStore(ArgVT, ArgReg, Addr, MMO)) in processCallArgs()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | LegalizeTypes.cpp | 1076 EVT ArgVT = Node->getOperand(i).getValueType(); in ExpandChainLibCall() local 1077 Type *ArgTy = ArgVT.getTypeForEVT(*DAG.getContext()); in ExpandChainLibCall()
|
D | LegalizeDAG.cpp | 2202 EVT ArgVT = Node->getOperand(i).getValueType(); in ExpandLibCall() local 2203 Type *ArgTy = ArgVT.getTypeForEVT(*DAG.getContext()); in ExpandLibCall() 2281 EVT ArgVT = Node->getOperand(i).getValueType(); in ExpandChainLibCall() local 2282 Type *ArgTy = ArgVT.getTypeForEVT(*DAG.getContext()); in ExpandChainLibCall() 2410 EVT ArgVT = Node->getOperand(i).getValueType(); in ExpandDivRemLibCall() local 2411 Type *ArgTy = ArgVT.getTypeForEVT(*DAG.getContext()); in ExpandDivRemLibCall()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeTypes.cpp | 1090 EVT ArgVT = Node->getOperand(i).getValueType(); in ExpandChainLibCall() local 1091 Type *ArgTy = ArgVT.getTypeForEVT(*DAG.getContext()); in ExpandChainLibCall()
|
D | LegalizeDAG.cpp | 1944 EVT ArgVT = Op.getValueType(); in ExpandLibCall() local 1945 Type *ArgTy = ArgVT.getTypeForEVT(*DAG.getContext()); in ExpandLibCall() 2029 EVT ArgVT = Node->getOperand(i).getValueType(); in ExpandChainLibCall() local 2030 Type *ArgTy = ArgVT.getTypeForEVT(*DAG.getContext()); in ExpandChainLibCall() 2116 EVT ArgVT = Op.getValueType(); in ExpandDivRemLibCall() local 2117 Type *ArgTy = ArgVT.getTypeForEVT(*DAG.getContext()); in ExpandDivRemLibCall()
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUISelLowering.cpp | 2740 if (Ins[i].ArgVT == Ins[i].VT) { in getOriginalFunctionArgs() 2746 if (Ins[i].ArgVT.isVector() && !Ins[i].VT.isVector()) { in getOriginalFunctionArgs() 2748 VT = Ins[i].ArgVT.getVectorElementType(); in getOriginalFunctionArgs() 2749 } else if (Ins[i].VT.isVector() && Ins[i].ArgVT.isVector() && in getOriginalFunctionArgs() 2750 Ins[i].ArgVT.getVectorElementType() != in getOriginalFunctionArgs() 2753 VT = Ins[i].ArgVT; in getOriginalFunctionArgs()
|
D | SIInstrInfo.td | 1419 field list<ValueType> ArgVT = _ArgVT; 1421 field ValueType DstVT = ArgVT[0]; 1422 field ValueType Src0VT = ArgVT[1]; 1423 field ValueType Src1VT = ArgVT[2]; 1424 field ValueType Src2VT = ArgVT[3]; 1466 class VOP_NO_EXT <VOPProfile p> : VOPProfile <p.ArgVT> {
|