Home
last modified time | relevance | path

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

/external/llvm/lib/Target/Hexagon/
DHexagonCallingConvLower.cpp81 EVT ArgVT = Ins[i].VT; in AnalyzeFormalArguments() local
83 if (Fn(i, ArgVT, ArgVT, CCValAssign::Full, ArgFlags, *this, 0, 0, false)) { in AnalyzeFormalArguments()
85 << ArgVT.getEVTString() << "\n"; in AnalyzeFormalArguments()
147 EVT ArgVT = Outs[i].VT; in AnalyzeCallOperands() local
149 if (Fn(i, ArgVT, ArgVT, CCValAssign::Full, ArgFlags, *this, in AnalyzeCallOperands()
152 << ArgVT.getEVTString() << "\n"; in AnalyzeCallOperands()
166 EVT ArgVT = ArgVTs[i]; in AnalyzeCallOperands() local
168 if (Fn(i, ArgVT, ArgVT, CCValAssign::Full, ArgFlags, *this, -1, -1, in AnalyzeCallOperands()
171 << ArgVT.getEVTString() << "\n"; in AnalyzeCallOperands()
/external/llvm/lib/CodeGen/
DCallingConvLower.cpp72 MVT ArgVT = Ins[i].VT; in AnalyzeFormalArguments() local
74 if (Fn(i, ArgVT, ArgVT, CCValAssign::Full, ArgFlags, *this)) { in AnalyzeFormalArguments()
77 << EVT(ArgVT).getEVTString() << '\n'; in AnalyzeFormalArguments()
122 MVT ArgVT = Outs[i].VT; in AnalyzeCallOperands() local
124 if (Fn(i, ArgVT, ArgVT, CCValAssign::Full, ArgFlags, *this)) { in AnalyzeCallOperands()
127 << EVT(ArgVT).getEVTString() << '\n'; in AnalyzeCallOperands()
141 MVT ArgVT = ArgVTs[i]; in AnalyzeCallOperands() local
143 if (Fn(i, ArgVT, ArgVT, CCValAssign::Full, ArgFlags, *this)) { in AnalyzeCallOperands()
146 << EVT(ArgVT).getEVTString() << '\n'; in AnalyzeCallOperands()
/external/llvm/include/llvm/Target/
DTargetCallingConv.h132 EVT ArgVT; member
148 ArgVT = argvt; in InputArg()
159 EVT ArgVT; member
178 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()
1945 MVT ArgVT = ArgVTs[VA.getValNo()]; in ProcessCallArgs() local
1947 assert((!ArgVT.isVector() && ArgVT.getSizeInBits() <= 64) && in ProcessCallArgs()
1955 Arg = ARMEmitIntExt(ArgVT, Arg, DestVT, /*isZExt*/false); in ProcessCallArgs()
1957 ArgVT = DestVT; in ProcessCallArgs()
1964 Arg = ARMEmitIntExt(ArgVT, Arg, DestVT, /*isZExt*/true); in ProcessCallArgs()
1966 ArgVT = DestVT; in ProcessCallArgs()
1970 unsigned BC = FastEmit_r(ArgVT, VA.getLocVT(), ISD::BITCAST, Arg, in ProcessCallArgs()
[all …]
DARMISelLowering.cpp6084 EVT ArgVT = Arg.getValueType(); in LowerFSINCOS() local
6085 Type *ArgTy = ArgVT.getTypeForEVT(*DAG.getContext()); in LowerFSINCOS()
6115 const char *LibcallName = (ArgVT == MVT::f64) in LowerFSINCOS()
6127 SDValue LoadSin = DAG.getLoad(ArgVT, dl, CallResult.second, SRet, in LowerFSINCOS()
6132 DAG.getIntPtrConstant(ArgVT.getStoreSize())); in LowerFSINCOS()
6133 SDValue LoadCos = DAG.getLoad(ArgVT, dl, LoadSin.getValue(1), Add, in LowerFSINCOS()
6136 SDVTList Tys = DAG.getVTList(ArgVT, ArgVT); in LowerFSINCOS()
10574 EVT ArgVT = Op->getOperand(i).getValueType(); in LowerDivRem() local
10575 Type *ArgTy = ArgVT.getTypeForEVT(*DAG.getContext()); in LowerDivRem()
/external/llvm/lib/Target/PowerPC/
DPPCFastISel.cpp1214 MVT ArgVT = ArgVTs[VA.getValNo()]; in processCallArgs() local
1218 if (ArgVT.isVector() || ArgVT.getSizeInBits() > 64 || ArgVT == MVT::i1 || in processCallArgs()
1252 MVT ArgVT = ArgVTs[VA.getValNo()]; in processCallArgs() local
1265 if (!PPCEmitIntExt(ArgVT, Arg, DestVT, TmpReg, /*IsZExt*/false)) in processCallArgs()
1267 ArgVT = DestVT; in processCallArgs()
1277 if (!PPCEmitIntExt(ArgVT, Arg, DestVT, TmpReg, /*IsZExt*/true)) in processCallArgs()
1279 ArgVT = DestVT; in processCallArgs()
1292 if (ArgVT == MVT::f32 || ArgVT == MVT::f64) { in processCallArgs()
1456 MVT ArgVT; in SelectCall() local
1457 if (!isTypeLegal(ArgTy, ArgVT) && ArgVT != MVT::i16 && ArgVT != MVT::i8) in SelectCall()
[all …]
DPPCISelLowering.cpp2125 static unsigned CalculateStackSlotSize(EVT ArgVT, ISD::ArgFlagsTy Flags, in CalculateStackSlotSize() argument
2127 unsigned ArgSize = ArgVT.getStoreSize(); in CalculateStackSlotSize()
2137 static unsigned CalculateStackSlotAlignment(EVT ArgVT, ISD::ArgFlagsTy Flags, in CalculateStackSlotAlignment() argument
2142 if (ArgVT == MVT::v4f32 || ArgVT == MVT::v4i32 || in CalculateStackSlotAlignment()
2143 ArgVT == MVT::v8i16 || ArgVT == MVT::v16i8 || in CalculateStackSlotAlignment()
2144 ArgVT == MVT::v2f64 || ArgVT == MVT::v2i64) in CalculateStackSlotAlignment()
3751 MVT ArgVT = Outs[i].VT; in LowerCall_32SVR4() local
3756 Result = CC_PPC32_SVR4(i, ArgVT, ArgVT, CCValAssign::Full, ArgFlags, in LowerCall_32SVR4()
3759 Result = CC_PPC32_SVR4_VarArg(i, ArgVT, ArgVT, CCValAssign::Full, in LowerCall_32SVR4()
3766 << EVT(ArgVT).getEVTString() << "\n"; in LowerCall_32SVR4()
[all …]
/external/llvm/lib/Target/X86/
DX86FastISel.cpp2578 EVT ArgVT = TLI.getValueType(ArgTy); in FastLowerArguments() local
2579 if (!ArgVT.isSimple()) return false; in FastLowerArguments()
2580 switch (ArgVT.getSimpleVT().SimpleTy) { in FastLowerArguments()
2800 MVT ArgVT; in DoSelectCall() local
2801 if (!isTypeLegal(ArgVal->getType(), ArgVT)) return false; in DoSelectCall()
2803 ArgReg = FastEmit_ri(ArgVT, ArgVT, ISD::AND, ArgReg, in DoSelectCall()
2812 MVT ArgVT; in DoSelectCall() local
2813 if (!isTypeLegal(ArgTy, ArgVT)) in DoSelectCall()
2815 if (ArgVT == MVT::x86mmx) in DoSelectCall()
2822 ArgVTs.push_back(ArgVT); in DoSelectCall()
[all …]
DX86ISelLowering.cpp13294 EVT ArgVT = Op.getNode()->getValueType(0); in LowerVAARG() local
13295 Type *ArgTy = ArgVT.getTypeForEVT(*DAG.getContext()); in LowerVAARG()
13302 if (ArgVT == MVT::f80) { in LowerVAARG()
13304 } else if (ArgVT.isFloatingPoint() && ArgSize <= 16 /*bytes*/) { in LowerVAARG()
13306 } else if (ArgVT.isInteger() && ArgSize <= 32 /*bytes*/) { in LowerVAARG()
13341 return DAG.getLoad(ArgVT, dl, in LowerVAARG()
15122 EVT ArgVT = Op->getOperand(i).getValueType(); in LowerWin64_i128OP() local
15123 assert(ArgVT.isInteger() && ArgVT.getSizeInBits() == 128 && in LowerWin64_i128OP()
15125 SDValue StackPtr = DAG.CreateStackTemporary(ArgVT, 16); in LowerWin64_i128OP()
15129 Type *ArgTy = ArgVT.getTypeForEVT(*DAG.getContext()); in LowerWin64_i128OP()
[all …]
DX86InstrSSE.td4426 ValueType ArgVT, SDNode OpNode, PatFrag bc_frag,
4435 (OutVT (OpNode (ArgVT VR128:$src1), VR128:$src2)))]>,
4450 ValueType ArgVT, SDNode OpNode, PatFrag bc_frag> {
4456 (OutVT (OpNode (ArgVT VR256:$src1), VR256:$src2)))]>,
4469 ValueType ArgVT, SDNode OpNode, PatFrag bc_frag,
4478 (OutVT (OpNode (ArgVT VR128:$src1), VR128:$src2)))]>,
4493 ValueType ArgVT, SDNode OpNode, PatFrag bc_frag> {
4499 (OutVT (OpNode (ArgVT VR256:$src1), VR256:$src2)))]>,
/external/llvm/lib/Target/AArch64/
DAArch64FastISel.cpp1216 MVT ArgVT = ArgVTs[VA.getValNo()]; in ProcessCallArgs() local
1224 MVT SrcVT = ArgVT; in ProcessCallArgs()
1234 MVT SrcVT = ArgVT; in ProcessCallArgs()
1256 unsigned ArgSize = (ArgVT.getSizeInBits() + 7) / 8; in ProcessCallArgs()
1267 if (!EmitStore(ArgVT, Arg, Addr)) in ProcessCallArgs()
1375 MVT ArgVT; in SelectCall() local
1377 if (!isTypeLegal(ArgTy, ArgVT) && in SelectCall()
1378 !(ArgVT == MVT::i1 || ArgVT == MVT::i8 || ArgVT == MVT::i16)) in SelectCall()
1382 if (ArgVT.isVector() || ArgVT.getSizeInBits() > 64) in SelectCall()
1390 ArgVTs.push_back(ArgVT); in SelectCall()
DAArch64ISelLowering.cpp1491 EVT ArgVT = Arg.getValueType(); in LowerFSINCOS() local
1492 Type *ArgTy = ArgVT.getTypeForEVT(*DAG.getContext()); in LowerFSINCOS()
1504 (ArgVT == MVT::f64) ? "__sincos_stret" : "__sincosf_stret"; in LowerFSINCOS()
2161 MVT ArgVT = Outs[i].VT; in LowerCall() local
2165 bool Res = AssignFn(i, ArgVT, ArgVT, CCValAssign::Full, ArgFlags, CCInfo); in LowerCall()
2264 if (Outs[realArgIdx].ArgVT == MVT::i1) { in LowerCall()
2507 if (Outs[i].ArgVT == MVT::i1) { in LowerReturn()
/external/llvm/lib/Target/MSP430/
DMSP430ISelLowering.cpp302 MVT ArgVT = Args[ValNo].VT; in AnalyzeArguments() local
304 MVT LocVT = ArgVT; in AnalyzeArguments()
320 State.HandleByVal(ValNo++, ArgVT, LocVT, LocInfo, 2, 2, ArgFlags); in AnalyzeArguments()
330 State.addLoc(CCValAssign::getReg(ValNo++, ArgVT, Reg, LocVT, LocInfo)); in AnalyzeArguments()
341 CC_MSP430_AssignStack(ValNo++, ArgVT, LocVT, LocInfo, ArgFlags, State); in AnalyzeArguments()
/external/llvm/lib/Target/Mips/
DMipsISelLowering.cpp3346 MVT ArgVT = Args[I].VT; in analyzeCallOperands() local
3351 handleByValArg(I, ArgVT, ArgVT, CCValAssign::Full, ArgFlags); in analyzeCallOperands()
3356 R = VarFn(I, ArgVT, ArgVT, CCValAssign::Full, ArgFlags, CCInfo); in analyzeCallOperands()
3358 MVT RegVT = getRegVT(ArgVT, FuncArgs[Args[I].OrigArgIndex].Ty, CallNode, in analyzeCallOperands()
3360 R = FixedFn(I, ArgVT, RegVT, CCValAssign::Full, ArgFlags, CCInfo); in analyzeCallOperands()
3366 << EVT(ArgVT).getEVTString(); in analyzeCallOperands()
3381 MVT ArgVT = Args[I].VT; in analyzeFormalArguments() local
3387 handleByValArg(I, ArgVT, ArgVT, CCValAssign::Full, ArgFlags); in analyzeFormalArguments()
3391 MVT RegVT = getRegVT(ArgVT, FuncArg->getType(), nullptr, IsSoftFloat); in analyzeFormalArguments()
3393 if (!FixedFn(I, ArgVT, RegVT, CCValAssign::Full, ArgFlags, CCInfo)) in analyzeFormalArguments()
[all …]
/external/llvm/lib/Target/R600/
DAMDGPUISelLowering.cpp2045 if (Ins[i].ArgVT == Ins[i].VT) { in getOriginalFunctionArgs()
2051 if (Ins[i].ArgVT.isVector() && !Ins[i].VT.isVector()) { in getOriginalFunctionArgs()
2053 VT = Ins[i].ArgVT.getVectorElementType(); in getOriginalFunctionArgs()
2054 } else if (Ins[i].VT.isVector() && Ins[i].ArgVT.isVector() && in getOriginalFunctionArgs()
2055 Ins[i].ArgVT.getVectorElementType() != in getOriginalFunctionArgs()
2058 VT = Ins[i].ArgVT; in getOriginalFunctionArgs()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypes.cpp1042 EVT ArgVT = Node->getOperand(i).getValueType(); in ExpandChainLibCall() local
1043 Type *ArgTy = ArgVT.getTypeForEVT(*DAG.getContext()); in ExpandChainLibCall()
DLegalizeDAG.cpp2036 EVT ArgVT = Node->getOperand(i).getValueType(); in ExpandLibCall() local
2037 Type *ArgTy = ArgVT.getTypeForEVT(*DAG.getContext()); in ExpandLibCall()
2117 EVT ArgVT = Node->getOperand(i).getValueType(); in ExpandChainLibCall() local
2118 Type *ArgTy = ArgVT.getTypeForEVT(*DAG.getContext()); in ExpandChainLibCall()
2247 EVT ArgVT = Node->getOperand(i).getValueType(); in ExpandDivRemLibCall() local
2248 Type *ArgTy = ArgVT.getTypeForEVT(*DAG.getContext()); in ExpandDivRemLibCall()
DLegalizeIntegerTypes.cpp2330 EVT ArgVT = N->getOperand(i).getValueType(); in ExpandIntRes_XMULO() local
2331 Type *ArgTy = ArgVT.getTypeForEVT(*DAG.getContext()); in ExpandIntRes_XMULO()
DSelectionDAGBuilder.cpp7117 MyFlags.ArgVT = VT; in LowerCallTo()
/external/llvm/lib/Target/Sparc/
DSparcISelLowering.cpp1971 EVT ArgVT = Arg.getValueType(); in LowerF128_LibCallArg() local
1972 Type *ArgTy = ArgVT.getTypeForEVT(*DAG.getContext()); in LowerF128_LibCallArg()