Home
last modified time | relevance | path

Searched refs:ArgInfo (Results 1 – 25 of 43) sorted by relevance

12

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DSIMachineFunctionInfo.h100 AMDGPUFunctionArgInfo ArgInfo; variable
265 ArgInfo.WorkGroupIDX = ArgDescriptor::createRegister(getNextSystemSGPR()); in addWorkGroupIDX()
267 return ArgInfo.WorkGroupIDX.getRegister(); in addWorkGroupIDX()
271 ArgInfo.WorkGroupIDY = ArgDescriptor::createRegister(getNextSystemSGPR()); in addWorkGroupIDY()
273 return ArgInfo.WorkGroupIDY.getRegister(); in addWorkGroupIDY()
277 ArgInfo.WorkGroupIDZ = ArgDescriptor::createRegister(getNextSystemSGPR()); in addWorkGroupIDZ()
279 return ArgInfo.WorkGroupIDZ.getRegister(); in addWorkGroupIDZ()
283 ArgInfo.WorkGroupInfo = ArgDescriptor::createRegister(getNextSystemSGPR()); in addWorkGroupInfo()
285 return ArgInfo.WorkGroupInfo.getRegister(); in addWorkGroupInfo()
290 ArgInfo.WorkItemIDX = Arg; in setWorkItemIDX()
[all …]
DSIMachineFunctionInfo.cpp76 ArgInfo.PrivateSegmentBuffer = in SIMachineFunctionInfo()
78 ArgInfo.PrivateSegmentWaveByteOffset = in SIMachineFunctionInfo()
135 ArgInfo.PrivateSegmentWaveByteOffset in SIMachineFunctionInfo()
188 ArgInfo.PrivateSegmentBuffer = in addPrivateSegmentBuffer()
192 return ArgInfo.PrivateSegmentBuffer.getRegister(); in addPrivateSegmentBuffer()
196 ArgInfo.DispatchPtr = ArgDescriptor::createRegister(TRI.getMatchingSuperReg( in addDispatchPtr()
199 return ArgInfo.DispatchPtr.getRegister(); in addDispatchPtr()
203 ArgInfo.QueuePtr = ArgDescriptor::createRegister(TRI.getMatchingSuperReg( in addQueuePtr()
206 return ArgInfo.QueuePtr.getRegister(); in addQueuePtr()
210 ArgInfo.KernargSegmentPtr in addKernargSegmentPtr()
[all …]
DAMDGPUArgumentUsageInfo.h157 void setFuncArgInfo(const Function &F, const AMDGPUFunctionArgInfo &ArgInfo) { in setFuncArgInfo() argument
158 ArgInfoMap[&F] = ArgInfo; in setFuncArgInfo()
DAMDGPUCallLowering.cpp188 ArgInfo OrigArg{VRegs[i], CurOrigArg->getType()}; in lowerFormalArguments()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/GlobalISel/
DCallLowering.h44 struct ArgInfo { struct
50 ArgInfo(unsigned Reg, Type *Ty, ISD::ArgFlagsTy Flags = ISD::ArgFlagsTy{}, argument
93 virtual unsigned assignCustomValue(const ArgInfo &Arg, in assignCustomValue()
103 CCValAssign::LocInfo LocInfo, const ArgInfo &Info, in assignArg()
126 void setArgFlags(ArgInfo &Arg, unsigned OpIdx, const DataLayout &DL,
133 bool handleAssignments(MachineIRBuilder &MIRBuilder, ArrayRef<ArgInfo> Args,
186 const MachineOperand &Callee, const ArgInfo &OrigRet, in lowerCall()
187 ArrayRef<ArgInfo> OrigArgs) const { in lowerCall()
DLegalizerHelper.h122 const CallLowering::ArgInfo &Result,
123 ArrayRef<CallLowering::ArgInfo> Args);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMipsCallLowering.h60 const MachineOperand &Callee, const ArgInfo &OrigRet,
61 ArrayRef<ArgInfo> OrigArgs) const override;
73 ArrayRef<ArgInfo> Args,
79 void splitToValueTypes(const ArgInfo &OrigArg, unsigned OriginalIndex,
80 SmallVectorImpl<ArgInfo> &SplitArgs,
DMipsCallLowering.cpp49 ArrayRef<CallLowering::ArgInfo> Args);
115 ArrayRef<CallLowering::ArgInfo> Args) { in handle()
131 ArrayRef<CallLowering::ArgInfo> Args);
178 ArrayRef<CallLowering::ArgInfo> Args) { in handle()
208 SmallVector<ArgInfo, 8> RetInfos; in lowerReturn()
211 ArgInfo ArgRetInfo(VReg, Val->getType()); in lowerReturn()
258 SmallVector<ArgInfo, 8> ArgInfos; in lowerFormalArguments()
262 ArgInfo AInfo(VRegs[i], Arg.getType()); in lowerFormalArguments()
297 const ArgInfo &OrigRet, in lowerCall()
298 ArrayRef<ArgInfo> OrigArgs) const { in lowerCall()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86CallLowering.h39 const MachineOperand &Callee, const ArgInfo &OrigRet,
40 ArrayRef<ArgInfo> OrigArgs) const override;
46 bool splitToValueTypes(const ArgInfo &OrigArgInfo,
47 SmallVectorImpl<ArgInfo> &SplitArgs,
DX86CallLowering.cpp56 bool X86CallLowering::splitToValueTypes(const ArgInfo &OrigArg, in splitToValueTypes()
57 SmallVectorImpl<ArgInfo> &SplitArgs, in splitToValueTypes()
89 ArgInfo Info = in splitToValueTypes()
90 ArgInfo{MRI.createGenericVirtualRegister(getLLTForType(*PartTy, DL)), in splitToValueTypes()
162 const CallLowering::ArgInfo &Info, CCState &State) override { in assignArg()
200 ArgInfo OrigArg{VReg, Val->getType()}; in lowerReturn()
203 SmallVector<ArgInfo, 8> SplitArgs; in lowerReturn()
330 SmallVector<ArgInfo, 8> SplitArgs; in lowerFormalArguments()
343 ArgInfo OrigArg(VRegs[Idx], Arg.getType()); in lowerFormalArguments()
370 const ArgInfo &OrigRet, in lowerCall()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMCallLowering.h43 const MachineOperand &Callee, const ArgInfo &OrigRet,
44 ArrayRef<ArgInfo> OrigArgs) const override;
54 void splitToValueTypes(const ArgInfo &OrigArg,
55 SmallVectorImpl<ArgInfo> &SplitArgs,
DARMCallLowering.cpp139 unsigned assignCustomValue(const CallLowering::ArgInfo &Arg, in assignCustomValue()
171 const CallLowering::ArgInfo &Info, CCState &State) override { in assignArg()
187 const ArgInfo &OrigArg, SmallVectorImpl<ArgInfo> &SplitArgs, in splitToValueTypes()
229 ArgInfo{MRI.createGenericVirtualRegister(getLLTForType(*SplitTy, DL)), in splitToValueTypes()
254 SmallVector<ArgInfo, 4> SplitVTs; in lowerReturnVal()
256 ArgInfo RetInfo(VReg, Val->getType()); in lowerReturnVal()
368 unsigned assignCustomValue(const ARMCallLowering::ArgInfo &Arg, in assignCustomValue()
450 SmallVector<ArgInfo, 8> ArgInfos; in lowerFormalArguments()
454 ArgInfo AInfo(VRegs[Idx], Arg.getType()); in lowerFormalArguments()
499 const ArgInfo &OrigRet, in lowerCall()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64CallLowering.h44 const MachineOperand &Callee, const ArgInfo &OrigRet,
45 ArrayRef<ArgInfo> OrigArgs) const override;
56 void splitToValueTypes(const ArgInfo &OrigArgInfo,
57 SmallVectorImpl<ArgInfo> &SplitArgs,
DAArch64CallLowering.cpp171 const CallLowering::ArgInfo &Info, in assignArg()
190 const ArgInfo &OrigArg, SmallVectorImpl<ArgInfo> &SplitArgs, in splitToValueTypes()
217 ArgInfo{MRI.createGenericVirtualRegister(getLLTForType(*SplitTy, DL)), in splitToValueTypes()
248 ArgInfo OrigArg{VReg, Val->getType()}; in lowerReturn()
251 SmallVector<ArgInfo, 8> SplitArgs; in lowerReturn()
273 SmallVector<ArgInfo, 8> SplitArgs; in lowerFormalArguments()
278 ArgInfo OrigArg{VRegs[i], Arg.getType()}; in lowerFormalArguments()
336 const ArgInfo &OrigRet, in lowerCall()
337 ArrayRef<ArgInfo> OrigArgs) const { in lowerCall()
343 SmallVector<ArgInfo, 8> SplitArgs; in lowerCall()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/
DCallLowering.cpp34 SmallVector<ArgInfo, 8> OrigArgs; in lowerCall()
38 ArgInfo OrigArg{ArgRegs[i], Arg->getType(), ISD::ArgFlagsTy{}, in lowerCall()
54 ArgInfo OrigRet{ResReg, CS.getType(), ISD::ArgFlagsTy{}}; in lowerCall()
62 void CallLowering::setArgFlags(CallLowering::ArgInfo &Arg, unsigned OpIdx, in setArgFlags()
101 CallLowering::setArgFlags<Function>(CallLowering::ArgInfo &Arg, unsigned OpIdx,
106 CallLowering::setArgFlags<CallInst>(CallLowering::ArgInfo &Arg, unsigned OpIdx,
111 ArrayRef<ArgInfo> Args, in handleAssignments()
/external/clang/include/clang/CodeGen/
DCGFunctionInfo.h452 typedef CGFunctionInfoArgInfo ArgInfo; typedef
492 ArgInfo *getArgsBuffer() { in getArgsBuffer()
493 return getTrailingObjects<ArgInfo>(); in getArgsBuffer()
495 const ArgInfo *getArgsBuffer() const { in getArgsBuffer()
496 return getTrailingObjects<ArgInfo>(); in getArgsBuffer()
522 size_t numTrailingObjects(OverloadToken<ArgInfo>) const { in numTrailingObjects() argument
529 typedef const ArgInfo *const_arg_iterator;
530 typedef ArgInfo *arg_iterator;
/external/llvm/lib/IR/
DFunction.cpp686 unsigned ArgInfo = (NextElt == Infos.size() ? 0 : Infos[NextElt++]); in DecodeIITType() local
687 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Argument, ArgInfo)); in DecodeIITType()
691 unsigned ArgInfo = (NextElt == Infos.size() ? 0 : Infos[NextElt++]); in DecodeIITType() local
693 ArgInfo)); in DecodeIITType()
697 unsigned ArgInfo = (NextElt == Infos.size() ? 0 : Infos[NextElt++]); in DecodeIITType() local
699 ArgInfo)); in DecodeIITType()
703 unsigned ArgInfo = (NextElt == Infos.size() ? 0 : Infos[NextElt++]); in DecodeIITType() local
705 ArgInfo)); in DecodeIITType()
709 unsigned ArgInfo = (NextElt == Infos.size() ? 0 : Infos[NextElt++]); in DecodeIITType() local
711 ArgInfo)); in DecodeIITType()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DFunction.cpp781 unsigned ArgInfo = (NextElt == Infos.size() ? 0 : Infos[NextElt++]); in DecodeIITType() local
782 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Argument, ArgInfo)); in DecodeIITType()
786 unsigned ArgInfo = (NextElt == Infos.size() ? 0 : Infos[NextElt++]); in DecodeIITType() local
788 ArgInfo)); in DecodeIITType()
792 unsigned ArgInfo = (NextElt == Infos.size() ? 0 : Infos[NextElt++]); in DecodeIITType() local
794 ArgInfo)); in DecodeIITType()
798 unsigned ArgInfo = (NextElt == Infos.size() ? 0 : Infos[NextElt++]); in DecodeIITType() local
800 ArgInfo)); in DecodeIITType()
804 unsigned ArgInfo = (NextElt == Infos.size() ? 0 : Infos[NextElt++]); in DecodeIITType() local
806 ArgInfo)); in DecodeIITType()
[all …]
/external/clang/lib/CodeGen/
DCGCall.cpp738 operator new(totalSizeToAlloc<ArgInfo, ExtParameterInfo>( in create()
1303 SmallVector<IRArgs, 8> ArgInfo; member in __anon187f26710411::ClangToLLVMArgMapping
1309 ArgInfo(OnlyRequiredArgs ? FI.getNumRequiredArgs() : FI.arg_size()) { in ClangToLLVMArgMapping()
1328 assert(ArgNo < ArgInfo.size()); in hasPaddingArg()
1329 return ArgInfo[ArgNo].PaddingArgIndex != InvalidIndex; in hasPaddingArg()
1333 return ArgInfo[ArgNo].PaddingArgIndex; in getPaddingArgNo()
1339 assert(ArgNo < ArgInfo.size()); in getIRArgs()
1340 return std::make_pair(ArgInfo[ArgNo].FirstArgIndex, in getIRArgs()
1341 ArgInfo[ArgNo].NumberOfArgs); in getIRArgs()
1369 auto &IRArgs = ArgInfo[ArgNo]; in construct()
[all …]
/external/bcc/src/cc/frontends/p4/compiler/
DebpfAction.py158 index = ArgInfo(arguments[1], caller, dataContainer, program)
282 t = ArgInfo(a, caller, dataContainer, program)
304 class ArgInfo(object): class
/external/clang/lib/Parse/
DParseObjc.cpp1418 Sema::ObjCArgInfo ArgInfo; in ParseObjCMethodDecl() local
1424 ArgInfo.Type = nullptr; in ParseObjCMethodDecl()
1426 ArgInfo.Type = ParseObjCTypeName(ArgInfo.DeclSpec, in ParseObjCMethodDecl()
1432 ArgInfo.ArgAttrs = nullptr; in ParseObjCMethodDecl()
1435 ArgInfo.ArgAttrs = paramAttrs.getList(); in ParseObjCMethodDecl()
1455 ArgInfo.Name = Tok.getIdentifierInfo(); in ParseObjCMethodDecl()
1456 ArgInfo.NameLoc = Tok.getLocation(); in ParseObjCMethodDecl()
1459 ArgInfos.push_back(ArgInfo); in ParseObjCMethodDecl()
1482 if (PP.getLocForEndOfToken(ArgInfo.NameLoc) == ColonLoc) { in ParseObjCMethodDecl()
1483 Diag(ArgInfo.NameLoc, diag::warn_missing_selector_name) << ArgInfo.Name; in ParseObjCMethodDecl()
[all …]
/external/clang/lib/Serialization/
DASTWriterStmt.cpp51 void AddTemplateKWAndArgsInfo(const ASTTemplateKWAndArgsInfo &ArgInfo,
62 const ASTTemplateKWAndArgsInfo &ArgInfo, const TemplateArgumentLoc *Args) { in AddTemplateKWAndArgsInfo() argument
63 Record.AddSourceLocation(ArgInfo.TemplateKWLoc); in AddTemplateKWAndArgsInfo()
64 Record.AddSourceLocation(ArgInfo.LAngleLoc); in AddTemplateKWAndArgsInfo()
65 Record.AddSourceLocation(ArgInfo.RAngleLoc); in AddTemplateKWAndArgsInfo()
66 for (unsigned i = 0; i != ArgInfo.NumTemplateArgs; ++i) in AddTemplateKWAndArgsInfo()
1458 const ASTTemplateKWAndArgsInfo &ArgInfo = in VisitCXXDependentScopeMemberExpr() local
1460 Record.push_back(ArgInfo.NumTemplateArgs); in VisitCXXDependentScopeMemberExpr()
1461 AddTemplateKWAndArgsInfo(ArgInfo, in VisitCXXDependentScopeMemberExpr()
1487 const ASTTemplateKWAndArgsInfo &ArgInfo = in VisitDependentScopeDeclRefExpr() local
[all …]
/external/llvm/lib/AsmParser/
DLLParser.h443 struct ArgInfo { struct
448 ArgInfo(LocTy L, Type *ty, AttributeSet Attr, const std::string &N) in ArgInfo() argument
451 bool ParseArgumentList(SmallVectorImpl<ArgInfo> &ArgList, bool &isVarArg);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/AsmParser/
DLLParser.h532 struct ArgInfo { struct
537 ArgInfo(LocTy L, Type *ty, AttributeSet Attr, const std::string &N) in ArgInfo() argument
540 bool ParseArgumentList(SmallVectorImpl<ArgInfo> &ArgList, bool &isVarArg);
/external/clang/lib/Sema/
DSemaDeclObjC.cpp4287 ObjCArgInfo *ArgInfo, in ActOnMethodDeclaration() argument
4332 if (!ArgInfo[i].Type) { in ActOnMethodDeclaration()
4336 ArgType = GetTypeFromParser(ArgInfo[i].Type, &DI); in ActOnMethodDeclaration()
4339 LookupResult R(*this, ArgInfo[i].Name, ArgInfo[i].NameLoc, in ActOnMethodDeclaration()
4345 Diag(ArgInfo[i].NameLoc, in ActOnMethodDeclaration()
4348 << ArgInfo[i].Name; in ActOnMethodDeclaration()
4356 : ArgInfo[i].NameLoc; in ActOnMethodDeclaration()
4359 ArgInfo[i].NameLoc, ArgInfo[i].Name, in ActOnMethodDeclaration()
4365 CvtQTToAstBitMask(ArgInfo[i].DeclSpec.getObjCDeclQualifier())); in ActOnMethodDeclaration()
4368 ProcessDeclAttributeList(TUScope, Param, ArgInfo[i].ArgAttrs); in ActOnMethodDeclaration()

12