Home
last modified time | relevance | path

Searched refs:ArgVT (Results 1 – 24 of 24) sorted by relevance

/external/llvm/lib/CodeGen/
DCallingConvLower.cpp75 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/
DSystemZCallingConv.h35 bool IsShortVectorType(EVT ArgVT) { in IsShortVectorType() argument
36 return ArgVT.isVector() && ArgVT.getStoreSize() <= 8; in IsShortVectorType()
53 ArgIsShortVector.push_back(IsShortVectorType(Ins[i].ArgVT)); in AnalyzeFormalArguments()
67 ArgIsShortVector.push_back(IsShortVectorType(Outs[i].ArgVT)); in AnalyzeCallOperands()
DSystemZISelLowering.cpp784 static void VerifyVectorType(MVT VT, EVT ArgVT) { in VerifyVectorType() argument
785 if (ArgVT.isVector() && !VT.isVector()) in VerifyVectorType()
791 VerifyVectorType(Ins[i].VT, Ins[i].ArgVT); in VerifyVectorTypes()
796 VerifyVectorType(Outs[i].VT, Outs[i].ArgVT); in VerifyVectorTypes()
/external/llvm/include/llvm/Target/
DTargetCallingConv.h133 EVT ArgVT; member
151 ArgVT = argvt; in InputArg()
171 EVT ArgVT; member
190 ArgVT = argvt; in OutputArg()
/external/llvm/lib/Target/ARM/
DARMFastISel.cpp1894 MVT ArgVT = ArgVTs[VA.getValNo()]; in ProcessCallArgs() local
1897 if (ArgVT.isVector() || ArgVT.getSizeInBits() > 64) in ProcessCallArgs()
1910 switch (ArgVT.SimpleTy) { in ProcessCallArgs()
1946 MVT ArgVT = ArgVTs[VA.getValNo()]; in ProcessCallArgs() local
1948 assert((!ArgVT.isVector() && ArgVT.getSizeInBits() <= 64) && in ProcessCallArgs()
1956 Arg = ARMEmitIntExt(ArgVT, Arg, DestVT, /*isZExt*/false); in ProcessCallArgs()
1958 ArgVT = DestVT; in ProcessCallArgs()
1965 Arg = ARMEmitIntExt(ArgVT, Arg, DestVT, /*isZExt*/true); in ProcessCallArgs()
1967 ArgVT = DestVT; in ProcessCallArgs()
1971 unsigned BC = fastEmit_r(ArgVT, VA.getLocVT(), ISD::BITCAST, Arg, in ProcessCallArgs()
[all …]
DARMISelLowering.cpp6639 EVT ArgVT = Arg.getValueType(); in LowerFSINCOS() local
6640 Type *ArgTy = ArgVT.getTypeForEVT(*DAG.getContext()); in LowerFSINCOS()
6678 (ArgVT == MVT::f64) ? "__sincos_stret" : "__sincosf_stret"; in LowerFSINCOS()
6680 (ArgVT == MVT::f64) ? RTLIB::SINCOS_F64 : RTLIB::SINCOS_F32; in LowerFSINCOS()
6694 SDValue LoadSin = DAG.getLoad(ArgVT, dl, CallResult.second, SRet, in LowerFSINCOS()
6699 DAG.getIntPtrConstant(ArgVT.getStoreSize(), dl)); in LowerFSINCOS()
6700 SDValue LoadCos = DAG.getLoad(ArgVT, dl, LoadSin.getValue(1), Add, in LowerFSINCOS()
6703 SDVTList Tys = DAG.getVTList(ArgVT, ArgVT); in LowerFSINCOS()
11549 EVT ArgVT = N->getOperand(i).getValueType(); in getDivRemArgList() local
11550 Type *ArgTy = ArgVT.getTypeForEVT(*Context); in getDivRemArgList()
/external/llvm/lib/Target/PowerPC/
DPPCFastISel.cpp1285 MVT ArgVT = ArgVTs[VA.getValNo()]; in processCallArgs() local
1289 if (ArgVT.isVector() || ArgVT.getSizeInBits() > 64 || ArgVT == MVT::i1 || in processCallArgs()
1324 MVT ArgVT = ArgVTs[VA.getValNo()]; in processCallArgs() local
1337 if (!PPCEmitIntExt(ArgVT, Arg, DestVT, TmpReg, /*IsZExt*/false)) in processCallArgs()
1339 ArgVT = DestVT; in processCallArgs()
1349 if (!PPCEmitIntExt(ArgVT, Arg, DestVT, TmpReg, /*IsZExt*/true)) in processCallArgs()
1351 ArgVT = DestVT; in processCallArgs()
1364 if (ArgVT == MVT::f32 || ArgVT == MVT::f64) { in processCallArgs()
1516 MVT ArgVT; in fastLowerCall() local
1517 if (!isTypeLegal(ArgTy, ArgVT) && ArgVT != MVT::i16 && ArgVT != MVT::i8) in fastLowerCall()
[all …]
DPPCISelLowering.cpp2640 static unsigned CalculateStackSlotSize(EVT ArgVT, ISD::ArgFlagsTy Flags, in CalculateStackSlotSize() argument
2642 unsigned ArgSize = ArgVT.getStoreSize(); in CalculateStackSlotSize()
2656 static unsigned CalculateStackSlotAlignment(EVT ArgVT, EVT OrigVT, in CalculateStackSlotAlignment() argument
2662 if (ArgVT == MVT::v4f32 || ArgVT == MVT::v4i32 || in CalculateStackSlotAlignment()
2663 ArgVT == MVT::v8i16 || ArgVT == MVT::v16i8 || in CalculateStackSlotAlignment()
2664 ArgVT == MVT::v2f64 || ArgVT == MVT::v2i64 || in CalculateStackSlotAlignment()
2665 ArgVT == MVT::v1i128) in CalculateStackSlotAlignment()
2669 else if (ArgVT == MVT::v4f64 || ArgVT == MVT::v4i1) in CalculateStackSlotAlignment()
2692 Align = ArgVT.getStoreSize(); in CalculateStackSlotAlignment()
2702 static bool CalculateStackSlotUsed(EVT ArgVT, EVT OrigVT, in CalculateStackSlotUsed() argument
[all …]
/external/llvm/lib/Target/Mips/
DMipsFastISel.cpp1092 MVT ArgVT = OutVTs[VA.getValNo()]; in processCallArgs() local
1095 firstMVT = ArgVT; in processCallArgs()
1096 if (ArgVT == MVT::f32) { in processCallArgs()
1098 } else if (ArgVT == MVT::f64) { in processCallArgs()
1103 if (ArgVT == MVT::f32) { in processCallArgs()
1105 } else if (ArgVT == MVT::f64) { in processCallArgs()
1110 if (((ArgVT == MVT::i32) || (ArgVT == MVT::f32) || (ArgVT == MVT::i16) || in processCallArgs()
1111 (ArgVT == MVT::i8)) && in processCallArgs()
1141 MVT SrcVT = ArgVT; in processCallArgs()
1149 MVT SrcVT = ArgVT; in processCallArgs()
[all …]
DMipsISelLowering.cpp2713 unsigned ValSizeInBits = Outs[i].ArgVT.getSizeInBits(); in LowerCall()
2840 unsigned ValSizeInBits = Ins[i].ArgVT.getSizeInBits(); in LowerCallResult()
2882 EVT ArgVT, SDLoc DL, SelectionDAG &DAG) { in UnpackFromArgumentSlot() argument
2893 unsigned ValSizeInBits = ArgVT.getSizeInBits(); in UnpackFromArgumentSlot()
3012 ArgValue = UnpackFromArgumentSlot(ArgValue, VA, Ins[i].ArgVT, DL, DAG); in LowerFormalArguments()
3059 ArgValue = UnpackFromArgumentSlot(ArgValue, VA, Ins[i].ArgVT, DL, DAG); in LowerFormalArguments()
3186 unsigned ValSizeInBits = Outs[i].ArgVT.getSizeInBits(); in LowerReturn()
/external/llvm/lib/Target/X86/
DX86FastISel.cpp2750 EVT ArgVT = TLI.getValueType(DL, ArgTy); in fastLowerArguments() local
2751 if (!ArgVT.isSimple()) return false; in fastLowerArguments()
2752 switch (ArgVT.getSimpleVT().SimpleTy) { in fastLowerArguments()
2952 MVT ArgVT = OutVTs[VA.getValNo()]; in fastLowerCall() local
2954 if (ArgVT == MVT::x86mmx) in fastLowerCall()
2966 ArgVT, ArgReg); in fastLowerCall()
2968 ArgVT = VA.getLocVT(); in fastLowerCall()
2975 ArgVT, ArgReg); in fastLowerCall()
2977 ArgVT = VA.getLocVT(); in fastLowerCall()
2984 ArgVT, ArgReg); in fastLowerCall()
[all …]
DX86ISelLowering.cpp15899 EVT ArgVT = Op.getNode()->getValueType(0); in LowerVAARG() local
15900 Type *ArgTy = ArgVT.getTypeForEVT(*DAG.getContext()); in LowerVAARG()
15907 if (ArgVT == MVT::f80) { in LowerVAARG()
15909 } else if (ArgVT.isFloatingPoint() && ArgSize <= 16 /*bytes*/) { in LowerVAARG()
15911 } else if (ArgVT.isInteger() && ArgSize <= 32 /*bytes*/) { in LowerVAARG()
15940 return DAG.getLoad(ArgVT, dl, in LowerVAARG()
18156 EVT ArgVT = Op->getOperand(i).getValueType(); in LowerWin64_i128OP() local
18157 assert(ArgVT.isInteger() && ArgVT.getSizeInBits() == 128 && in LowerWin64_i128OP()
18159 SDValue StackPtr = DAG.CreateStackTemporary(ArgVT, 16); in LowerWin64_i128OP()
18163 Type *ArgTy = ArgVT.getTypeForEVT(*DAG.getContext()); in LowerWin64_i128OP()
[all …]
DX86InstrSSE.td4344 ValueType ArgVT, SDNode OpNode, PatFrag bc_frag,
4353 (OutVT (OpNode (ArgVT VR128:$src1), VR128:$src2)))]>,
4368 ValueType ArgVT, SDNode OpNode, PatFrag bc_frag> {
4374 (OutVT (OpNode (ArgVT VR256:$src1), VR256:$src2)))]>,
4387 ValueType ArgVT, SDNode OpNode, PatFrag bc_frag,
4396 (OutVT (OpNode (ArgVT VR128:$src1), VR128:$src2)))]>,
4411 ValueType ArgVT, SDNode OpNode, PatFrag bc_frag> {
4417 (OutVT (OpNode (ArgVT VR256:$src1), VR256:$src2)))]>,
/external/llvm/lib/Target/MSP430/
DMSP430ISelLowering.cpp300 MVT ArgVT = Args[ValNo].VT; in AnalyzeArguments() local
302 MVT LocVT = ArgVT; in AnalyzeArguments()
318 State.HandleByVal(ValNo++, ArgVT, LocVT, LocInfo, 2, 2, ArgFlags); in AnalyzeArguments()
328 State.addLoc(CCValAssign::getReg(ValNo++, ArgVT, Reg, LocVT, LocInfo)); in AnalyzeArguments()
339 CC_MSP430_AssignStack(ValNo++, ArgVT, LocVT, LocInfo, ArgFlags, State); in AnalyzeArguments()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypes.cpp1094 EVT ArgVT = Node->getOperand(i).getValueType(); in ExpandChainLibCall() local
1095 Type *ArgTy = ArgVT.getTypeForEVT(*DAG.getContext()); in ExpandChainLibCall()
DLegalizeDAG.cpp2200 EVT ArgVT = Op.getValueType(); in ExpandLibCall() local
2201 Type *ArgTy = ArgVT.getTypeForEVT(*DAG.getContext()); in ExpandLibCall()
2282 EVT ArgVT = Node->getOperand(i).getValueType(); in ExpandChainLibCall() local
2283 Type *ArgTy = ArgVT.getTypeForEVT(*DAG.getContext()); in ExpandChainLibCall()
2369 EVT ArgVT = Op.getValueType(); in ExpandDivRemLibCall() local
2370 Type *ArgTy = ArgVT.getTypeForEVT(*DAG.getContext()); in ExpandDivRemLibCall()
DFastISel.cpp933 MyFlags.ArgVT = VT; in lowerCallTo()
DLegalizeIntegerTypes.cpp2502 EVT ArgVT = Op.getValueType(); in ExpandIntRes_XMULO() local
2503 Type *ArgTy = ArgVT.getTypeForEVT(*DAG.getContext()); in ExpandIntRes_XMULO()
DSelectionDAGBuilder.cpp7039 MyFlags.ArgVT = VT; in LowerCallTo()
/external/llvm/lib/Target/AArch64/
DAArch64FastISel.cpp2823 EVT ArgVT = TLI.getValueType(DL, ArgTy); in fastLowerArguments() local
2824 if (!ArgVT.isSimple()) in fastLowerArguments()
2827 MVT VT = ArgVT.getSimpleVT().SimpleTy; in fastLowerArguments()
2922 MVT ArgVT = OutVTs[VA.getValNo()]; in processCallArgs() local
2934 MVT SrcVT = ArgVT; in processCallArgs()
2944 MVT SrcVT = ArgVT; in processCallArgs()
2970 unsigned ArgSize = (ArgVT.getSizeInBits() + 7) / 8; in processCallArgs()
2984 MachineMemOperand::MOStore, ArgVT.getStoreSize(), Alignment); in processCallArgs()
2986 if (!emitStore(ArgVT, ArgReg, Addr, MMO)) in processCallArgs()
DAArch64ISelLowering.cpp1977 EVT ArgVT = Arg.getValueType(); in LowerFSINCOS() local
1978 Type *ArgTy = ArgVT.getTypeForEVT(*DAG.getContext()); in LowerFSINCOS()
1990 (ArgVT == MVT::f64) ? "__sincos_stret" : "__sincosf_stret"; in LowerFSINCOS()
2904 MVT ArgVT = Outs[i].VT; in LowerCall() local
2908 bool Res = AssignFn(i, ArgVT, ArgVT, CCValAssign::Full, ArgFlags, CCInfo); in LowerCall()
3011 if (Outs[realArgIdx].ArgVT == MVT::i1) { in LowerCall()
3257 if (Outs[i].ArgVT == MVT::i1) { in LowerReturn()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.cpp2593 if (Ins[i].ArgVT == Ins[i].VT) { in getOriginalFunctionArgs()
2599 if (Ins[i].ArgVT.isVector() && !Ins[i].VT.isVector()) { in getOriginalFunctionArgs()
2601 VT = Ins[i].ArgVT.getVectorElementType(); in getOriginalFunctionArgs()
2602 } else if (Ins[i].VT.isVector() && Ins[i].ArgVT.isVector() && in getOriginalFunctionArgs()
2603 Ins[i].ArgVT.getVectorElementType() != in getOriginalFunctionArgs()
2606 VT = Ins[i].ArgVT; in getOriginalFunctionArgs()
DSIInstrInfo.td1129 field list<ValueType> ArgVT = _ArgVT;
1131 field ValueType DstVT = ArgVT[0];
1132 field ValueType Src0VT = ArgVT[1];
1133 field ValueType Src1VT = ArgVT[2];
1134 field ValueType Src2VT = ArgVT[3];
/external/llvm/lib/Target/Sparc/
DSparcISelLowering.cpp2076 EVT ArgVT = Arg.getValueType(); in LowerF128_LibCallArg() local
2077 Type *ArgTy = ArgVT.getTypeForEVT(*DAG.getContext()); in LowerF128_LibCallArg()