Home
last modified time | relevance | path

Searched refs:OrigArg (Results 1 – 15 of 15) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64CallLowering.cpp190 const ArgInfo &OrigArg, SmallVectorImpl<ArgInfo> &SplitArgs, in splitToValueTypes() argument
194 LLVMContext &Ctx = OrigArg.Ty->getContext(); in splitToValueTypes()
196 if (OrigArg.Ty->isVoidTy()) in splitToValueTypes()
201 ComputeValueVTs(TLI, DL, OrigArg.Ty, SplitVTs, &Offsets, 0); in splitToValueTypes()
206 SplitArgs.emplace_back(OrigArg.Reg, SplitVTs[0].getTypeForEVT(Ctx), in splitToValueTypes()
207 OrigArg.Flags, OrigArg.IsFixed); in splitToValueTypes()
213 OrigArg.Ty, CallConv, false); in splitToValueTypes()
218 SplitTy, OrigArg.Flags, OrigArg.IsFixed}); in splitToValueTypes()
248 ArgInfo OrigArg{VReg, Val->getType()}; in lowerReturn() local
249 setArgFlags(OrigArg, AttributeList::ReturnIndex, DL, F); in lowerReturn()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86CallLowering.cpp56 bool X86CallLowering::splitToValueTypes(const ArgInfo &OrigArg, in splitToValueTypes() argument
62 LLVMContext &Context = OrigArg.Ty->getContext(); in splitToValueTypes()
66 ComputeValueVTs(TLI, DL, OrigArg.Ty, SplitVTs, &Offsets, 0); in splitToValueTypes()
78 SplitArgs.emplace_back(OrigArg.Reg, VT.getTypeForEVT(Context), in splitToValueTypes()
79 OrigArg.Flags, OrigArg.IsFixed); in splitToValueTypes()
91 PartTy, OrigArg.Flags}; in splitToValueTypes()
200 ArgInfo OrigArg{VReg, Val->getType()}; in lowerReturn() local
201 setArgFlags(OrigArg, AttributeList::ReturnIndex, DL, F); in lowerReturn()
204 if (!splitToValueTypes(OrigArg, SplitArgs, DL, MRI, in lowerReturn()
343 ArgInfo OrigArg(VRegs[Idx], Arg.getType()); in lowerFormalArguments() local
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUCallLowering.cpp188 ArgInfo OrigArg{VRegs[i], CurOrigArg->getType()}; in lowerFormalArguments() local
189 setArgFlags(OrigArg, i + 1, DL, F); in lowerFormalArguments()
193 !OrigArg.Flags.isInReg() && !OrigArg.Flags.isByVal() && in lowerFormalArguments()
217 OrigArg.Flags, CCInfo); in lowerFormalArguments()
225 AssignFn(i, ValVT, ValVT, CCValAssign::Full, OrigArg.Flags, CCInfo); in lowerFormalArguments()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/
DCallLowering.cpp38 ArgInfo OrigArg{ArgRegs[i], Arg->getType(), ISD::ArgFlagsTy{}, in lowerCall() local
40 setArgFlags(OrigArg, i + AttributeList::FirstArgIndex, DL, CS); in lowerCall()
42 if (OrigArg.Flags.isSwiftError() || OrigArg.Flags.isSwiftSelf()) in lowerCall()
44 OrigArgs.push_back(OrigArg); in lowerCall()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMCallLowering.cpp187 const ArgInfo &OrigArg, SmallVectorImpl<ArgInfo> &SplitArgs, in splitToValueTypes() argument
190 LLVMContext &Ctx = OrigArg.Ty->getContext(); in splitToValueTypes()
197 ComputeValueVTs(TLI, DL, OrigArg.Ty, SplitVTs, &Offsets, 0); in splitToValueTypes()
202 auto Flags = OrigArg.Flags; in splitToValueTypes()
203 unsigned OriginalAlignment = DL.getABITypeAlignment(OrigArg.Ty); in splitToValueTypes()
205 SplitArgs.emplace_back(OrigArg.Reg, SplitVTs[0].getTypeForEVT(Ctx), Flags, in splitToValueTypes()
206 OrigArg.IsFixed); in splitToValueTypes()
214 auto Flags = OrigArg.Flags; in splitToValueTypes()
230 SplitTy, Flags, OrigArg.IsFixed}); in splitToValueTypes()
DARMCallLowering.h54 void splitToValueTypes(const ArgInfo &OrigArg,
DARMISelLowering.h725 SDValue &Chain, const Value *OrigArg,
DARMISelLowering.cpp3553 const Value *OrigArg, in StoreByValRegs() argument
3594 MachinePointerInfo(OrigArg, 4 * i)); in StoreByValRegs()
/external/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp990 const Expr *OrigArg = Arg->IgnoreImpCasts(); in rewriteToNumericBoxedExpression() local
992 QualType OrigTy = OrigArg->getType(); in rewriteToNumericBoxedExpression()
1014 if (OrigTy->getAs<EnumType>() || isEnumConstant(OrigArg)) in rewriteToNumericBoxedExpression()
1096 SourceRange ArgRange = OrigArg->getSourceRange(); in rewriteToNumericBoxedExpression()
1099 if (isa<ParenExpr>(OrigArg) || isa<IntegerLiteral>(OrigArg)) in rewriteToNumericBoxedExpression()
1120 const Expr *OrigArg = Arg->IgnoreImpCasts(); in doRewriteToUTF8StringBoxedExpressionHelper() local
1121 QualType OrigTy = OrigArg->getType(); in doRewriteToUTF8StringBoxedExpressionHelper()
1126 StrE = dyn_cast<StringLiteral>(OrigArg->IgnoreParens())) { in doRewriteToUTF8StringBoxedExpressionHelper()
1135 SourceRange ArgRange = OrigArg->getSourceRange(); in doRewriteToUTF8StringBoxedExpressionHelper()
1138 if (isa<ParenExpr>(OrigArg) || isa<IntegerLiteral>(OrigArg)) in doRewriteToUTF8StringBoxedExpressionHelper()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMipsCallLowering.h79 void splitToValueTypes(const ArgInfo &OrigArg, unsigned OriginalIndex,
DMipsCallLowering.cpp434 const ArgInfo &OrigArg, unsigned OriginalIndex, in splitToValueTypes() argument
440 SplitArgs.push_back(OrigArg); in splitToValueTypes()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/ObjCARC/
DObjCARCContract.cpp654 Value *OrigArg = Arg; in runOnFunction() local
686 for (User *U : OrigArg->users()) in runOnFunction()
/external/llvm/lib/Target/ARM/
DARMISelLowering.h613 SDValue &Chain, const Value *OrigArg,
DARMISelLowering.cpp3121 const Value *OrigArg, in StoreByValRegs() argument
3163 MachinePointerInfo(OrigArg, 4 * i), false, false, 0); in StoreByValRegs()
/external/clang/lib/Sema/
DSemaChecking.cpp3352 Expr *OrigArg = TheCall->getArg(NumArgs-1); in SemaBuiltinFPClassification() local
3354 if (OrigArg->isTypeDependent()) in SemaBuiltinFPClassification()
3358 if (!OrigArg->getType()->isRealFloatingType()) in SemaBuiltinFPClassification()
3359 return Diag(OrigArg->getLocStart(), in SemaBuiltinFPClassification()
3361 << OrigArg->getType() << OrigArg->getSourceRange(); in SemaBuiltinFPClassification()
3364 if (ImplicitCastExpr *Cast = dyn_cast<ImplicitCastExpr>(OrigArg)) { in SemaBuiltinFPClassification()