/external/llvm-project/llvm/lib/Target/Mips/ |
D | MipsCallLowering.cpp | 40 ArrayRef<CCValAssign> ArgLocs, in assignVRegs() argument 44 if (!assign(VRegs[i], ArgLocs[ArgLocsStartIndex + i], VT)) in assignVRegs() 56 ArrayRef<CCValAssign> ArgLocs, ArrayRef<CallLowering::ArgInfo> Args) { in handle() argument 78 if (!handleSplit(VRegs, ArgLocs, ArgLocsIndex, Args[ArgsIndex].Regs[0], in handle() 82 if (!assign(Args[ArgsIndex].Regs[0], ArgLocs[ArgLocsIndex], VT)) in handle() 106 ArrayRef<CCValAssign> ArgLocs, unsigned ArgLocsStartIndex, 202 ArrayRef<CCValAssign> ArgLocs, in handleSplit() argument 205 if (!assignVRegs(VRegs, ArgLocs, ArgLocsStartIndex, VT)) in handleSplit() 229 ArrayRef<CCValAssign> ArgLocs, unsigned ArgLocsStartIndex, 313 ArrayRef<CCValAssign> ArgLocs, in handleSplit() argument [all …]
|
D | MipsCallLowering.h | 34 bool handle(ArrayRef<CCValAssign> ArgLocs, 38 bool assignVRegs(ArrayRef<Register> VRegs, ArrayRef<CCValAssign> ArgLocs, 59 ArrayRef<CCValAssign> ArgLocs,
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
D | MipsCallLowering.cpp | 40 ArrayRef<CCValAssign> ArgLocs, in assignVRegs() argument 44 if (!assign(VRegs[i], ArgLocs[ArgLocsStartIndex + i], VT)) in assignVRegs() 56 ArrayRef<CCValAssign> ArgLocs, ArrayRef<CallLowering::ArgInfo> Args) { in handle() argument 78 if (!handleSplit(VRegs, ArgLocs, ArgLocsIndex, Args[ArgsIndex].Regs[0], in handle() 82 if (!assign(Args[ArgsIndex].Regs[0], ArgLocs[ArgLocsIndex], VT)) in handle() 105 ArrayRef<CCValAssign> ArgLocs, unsigned ArgLocsStartIndex, 214 ArrayRef<CCValAssign> ArgLocs, in handleSplit() argument 217 if (!assignVRegs(VRegs, ArgLocs, ArgLocsStartIndex, VT)) in handleSplit() 241 ArrayRef<CCValAssign> ArgLocs, unsigned ArgLocsStartIndex, 350 ArrayRef<CCValAssign> ArgLocs, in handleSplit() argument [all …]
|
D | MipsCallLowering.h | 33 bool handle(ArrayRef<CCValAssign> ArgLocs, 37 bool assignVRegs(ArrayRef<Register> VRegs, ArrayRef<CCValAssign> ArgLocs, 58 ArrayRef<CCValAssign> ArgLocs,
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64CallLowering.cpp | 62 SmallVector<CCValAssign, 16> ArgLocs; in lowerFormalArguments() local 63 CCState CCInfo(F.getCallingConv(), F.isVarArg(), MF, ArgLocs, F.getContext()); in lowerFormalArguments() 77 assert(ArgLocs.size() == Args.size() && in lowerFormalArguments() 79 for (unsigned i = 0, e = ArgLocs.size(); i != e; ++i) { in lowerFormalArguments() 80 CCValAssign &VA = ArgLocs[i]; in lowerFormalArguments()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
D | CallLowering.cpp | 176 SmallVector<CCValAssign, 16> ArgLocs; in handleAssignments() local 177 CCState CCInfo(F.getCallingConv(), F.isVarArg(), MF, ArgLocs, F.getContext()); in handleAssignments() 178 return handleAssignments(CCInfo, ArgLocs, MIRBuilder, Args, Handler); in handleAssignments() 182 SmallVectorImpl<CCValAssign> &ArgLocs, in handleAssignments() argument 290 assert(j < ArgLocs.size() && "Skipped too many arg locs"); in handleAssignments() 292 CCValAssign &VA = ArgLocs[j]; in handleAssignments() 296 j += Handler.assignCustomValue(Args[i], makeArrayRef(ArgLocs).slice(j)); in handleAssignments() 313 assert((j + (NumArgRegs - 1)) < ArgLocs.size() && in handleAssignments() 317 VA = ArgLocs[j + Part]; in handleAssignments() 347 assert((j + (Args[i].Regs.size() - 1)) < ArgLocs.size() && in handleAssignments() [all …]
|
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
D | CallLowering.cpp | 214 SmallVector<CCValAssign, 16> ArgLocs; in handleAssignments() local 215 CCState CCInfo(F.getCallingConv(), F.isVarArg(), MF, ArgLocs, F.getContext()); in handleAssignments() 216 return handleAssignments(CCInfo, ArgLocs, MIRBuilder, Args, Handler); in handleAssignments() 220 SmallVectorImpl<CCValAssign> &ArgLocs, in handleAssignments() argument 329 assert(j < ArgLocs.size() && "Skipped too many arg locs"); in handleAssignments() 331 CCValAssign &VA = ArgLocs[j]; in handleAssignments() 336 Handler.assignCustomValue(Args[i], makeArrayRef(ArgLocs).slice(j)); in handleAssignments() 354 assert((j + (NumArgRegs - 1)) < ArgLocs.size() && in handleAssignments() 358 VA = ArgLocs[j + Part]; in handleAssignments()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/ |
D | AVRISelLowering.cpp | 937 SmallVectorImpl<CCValAssign> &ArgLocs, in analyzeStandardArguments() argument 991 std::reverse(ArgLocs.begin() + pos, ArgLocs.begin() + pos + Size); in analyzeStandardArguments() 1013 SmallVectorImpl<CCValAssign> &ArgLocs, in analyzeBuiltinArguments() argument 1021 CallConv, ArgLocs, CCInfo, in analyzeBuiltinArguments() 1031 SmallVectorImpl<CCValAssign> &ArgLocs, in analyzeArguments() argument 1036 CallConv, ArgLocs, CCInfo, in analyzeArguments() 1042 CallConv, ArgLocs, CCInfo, in analyzeArguments() 1058 SmallVector<CCValAssign, 16> ArgLocs; in LowerFormalArguments() local 1059 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), ArgLocs, in LowerFormalArguments() 1062 analyzeArguments(nullptr, &MF.getFunction(), &DL, 0, &Ins, CallConv, ArgLocs, CCInfo, in LowerFormalArguments() [all …]
|
/external/llvm/lib/Target/BPF/ |
D | BPFISelLowering.cpp | 167 SmallVector<CCValAssign, 16> ArgLocs; in LowerFormalArguments() local 168 CCState CCInfo(CallConv, IsVarArg, MF, ArgLocs, *DAG.getContext()); in LowerFormalArguments() 171 for (auto &VA : ArgLocs) { in LowerFormalArguments() 241 SmallVector<CCValAssign, 16> ArgLocs; in LowerCall() local 242 CCState CCInfo(CallConv, IsVarArg, MF, ArgLocs, *DAG.getContext()); in LowerCall() 267 e = std::min(static_cast<unsigned>(ArgLocs.size()), MaxArgs); in LowerCall() 269 CCValAssign &VA = ArgLocs[i]; in LowerCall()
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | AST.cpp | 261 llvm::SmallVector<TemplateArgumentLoc, 8> ArgLocs; in printTemplateSpecializationArgs() local 262 ArgLocs.reserve(STL.getNumArgs()); in printTemplateSpecializationArgs() 264 ArgLocs.push_back(STL.getArgLoc(I)); in printTemplateSpecializationArgs() 265 printTemplateArgumentList(OS, ArgLocs, Policy); in printTemplateSpecializationArgs()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/ |
D | ARCISelLowering.cpp | 238 SmallVector<CCValAssign, 16> ArgLocs; in LowerCall() local 239 CCState CCInfo(CallConv, IsVarArg, DAG.getMachineFunction(), ArgLocs, in LowerCall() 262 for (unsigned i = 0, e = ArgLocs.size(); i != e; ++i) { in LowerCall() 263 CCValAssign &VA = ArgLocs[i]; in LowerCall() 456 SmallVector<CCValAssign, 16> ArgLocs; in LowerCallArguments() local 457 CCState CCInfo(CallConv, IsVarArg, DAG.getMachineFunction(), ArgLocs, in LowerCallArguments() 479 for (unsigned i = 0, e = ArgLocs.size(); i != e; ++i) { in LowerCallArguments() 480 CCValAssign &VA = ArgLocs[i]; in LowerCallArguments()
|
/external/llvm-project/llvm/lib/Target/ARC/ |
D | ARCISelLowering.cpp | 237 SmallVector<CCValAssign, 16> ArgLocs; in LowerCall() local 238 CCState CCInfo(CallConv, IsVarArg, DAG.getMachineFunction(), ArgLocs, in LowerCall() 261 for (unsigned i = 0, e = ArgLocs.size(); i != e; ++i) { in LowerCall() 262 CCValAssign &VA = ArgLocs[i]; in LowerCall() 455 SmallVector<CCValAssign, 16> ArgLocs; in LowerCallArguments() local 456 CCState CCInfo(CallConv, IsVarArg, DAG.getMachineFunction(), ArgLocs, in LowerCallArguments() 478 for (unsigned i = 0, e = ArgLocs.size(); i != e; ++i) { in LowerCallArguments() 479 CCValAssign &VA = ArgLocs[i]; in LowerCallArguments()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/ |
D | BPFISelLowering.cpp | 222 SmallVector<CCValAssign, 16> ArgLocs; in LowerFormalArguments() local 223 CCState CCInfo(CallConv, IsVarArg, MF, ArgLocs, *DAG.getContext()); in LowerFormalArguments() 226 for (auto &VA : ArgLocs) { in LowerFormalArguments() 300 SmallVector<CCValAssign, 16> ArgLocs; in LowerCall() local 301 CCState CCInfo(CallConv, IsVarArg, MF, ArgLocs, *DAG.getContext()); in LowerCall() 325 e = std::min(static_cast<unsigned>(ArgLocs.size()), MaxArgs); in LowerCall() 327 CCValAssign &VA = ArgLocs[i]; in LowerCall()
|
/external/llvm/lib/Target/MSP430/ |
D | MSP430ISelLowering.cpp | 276 SmallVectorImpl<CCValAssign> &ArgLocs, in AnalyzeArguments() argument 330 SmallVectorImpl<CCValAssign>::iterator B = ArgLocs.begin() + FirstVal; in AnalyzeArguments() 421 SmallVector<CCValAssign, 16> ArgLocs; in LowerCCCArguments() local 422 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), ArgLocs, in LowerCCCArguments() 424 AnalyzeArguments(CCInfo, ArgLocs, Ins); in LowerCCCArguments() 432 for (unsigned i = 0, e = ArgLocs.size(); i != e; ++i) { in LowerCCCArguments() 433 CCValAssign &VA = ArgLocs[i]; in LowerCCCArguments() 564 SmallVector<CCValAssign, 16> ArgLocs; in LowerCCCCallTo() local 565 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), ArgLocs, in LowerCCCCallTo() 567 AnalyzeArguments(CCInfo, ArgLocs, Outs); in LowerCCCCallTo() [all …]
|
/external/llvm-project/llvm/lib/Target/BPF/ |
D | BPFISelLowering.cpp | 255 SmallVector<CCValAssign, 16> ArgLocs; in LowerFormalArguments() local 256 CCState CCInfo(CallConv, IsVarArg, MF, ArgLocs, *DAG.getContext()); in LowerFormalArguments() 259 for (auto &VA : ArgLocs) { in LowerFormalArguments() 333 SmallVector<CCValAssign, 16> ArgLocs; in LowerCall() local 334 CCState CCInfo(CallConv, IsVarArg, MF, ArgLocs, *DAG.getContext()); in LowerCall() 358 e = std::min(static_cast<unsigned>(ArgLocs.size()), MaxArgs); in LowerCall() 360 CCValAssign &VA = ArgLocs[i]; in LowerCall()
|
/external/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyISelLowering.cpp | 343 SmallVector<CCValAssign, 16> ArgLocs; in LowerCall() local 344 CCState CCInfo(CallConv, IsVarArg, MF, ArgLocs, *DAG.getContext()); in LowerCall() 356 CCInfo.addLoc(CCValAssign::getMem(ArgLocs.size(), VT.getSimpleVT(), in LowerCall() 375 assert(ArgLocs[ValNo].getValNo() == ValNo && in LowerCall() 377 unsigned Offset = ArgLocs[ValNo++].getLocMemOffset(); in LowerCall()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/ |
D | MSP430ISelLowering.cpp | 457 SmallVectorImpl<CCValAssign> &ArgLocs, in AnalyzeArguments() argument 628 SmallVector<CCValAssign, 16> ArgLocs; in LowerCCCArguments() local 629 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), ArgLocs, in LowerCCCArguments() 631 AnalyzeArguments(CCInfo, ArgLocs, Ins); in LowerCCCArguments() 639 for (unsigned i = 0, e = ArgLocs.size(); i != e; ++i) { in LowerCCCArguments() 640 CCValAssign &VA = ArgLocs[i]; in LowerCCCArguments() 707 for (unsigned i = 0, e = ArgLocs.size(); i != e; ++i) { in LowerCCCArguments() 811 SmallVector<CCValAssign, 16> ArgLocs; in LowerCCCCallTo() local 812 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), ArgLocs, in LowerCCCCallTo() 814 AnalyzeArguments(CCInfo, ArgLocs, Outs); in LowerCCCCallTo() [all …]
|
/external/llvm-project/llvm/lib/Target/MSP430/ |
D | MSP430ISelLowering.cpp | 456 SmallVectorImpl<CCValAssign> &ArgLocs, in AnalyzeArguments() argument 627 SmallVector<CCValAssign, 16> ArgLocs; in LowerCCCArguments() local 628 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), ArgLocs, in LowerCCCArguments() 630 AnalyzeArguments(CCInfo, ArgLocs, Ins); in LowerCCCArguments() 638 for (unsigned i = 0, e = ArgLocs.size(); i != e; ++i) { in LowerCCCArguments() 639 CCValAssign &VA = ArgLocs[i]; in LowerCCCArguments() 706 for (unsigned i = 0, e = ArgLocs.size(); i != e; ++i) { in LowerCCCArguments() 810 SmallVector<CCValAssign, 16> ArgLocs; in LowerCCCCallTo() local 811 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), ArgLocs, in LowerCCCCallTo() 813 AnalyzeArguments(CCInfo, ArgLocs, Outs); in LowerCCCCallTo() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUCallLowering.cpp | 448 SmallVector<CCValAssign, 16> ArgLocs; in lowerFormalArgumentsKernel() local 449 CCState CCInfo(F.getCallingConv(), F.isVarArg(), MF, ArgLocs, F.getContext()); in lowerFormalArgumentsKernel() 588 SmallVector<CCValAssign, 16> ArgLocs; in lowerFormalArguments() local 589 CCState CCInfo(CC, F.isVarArg(), MF, ArgLocs, F.getContext()); in lowerFormalArguments() 709 if (!handleAssignments(CCInfo, ArgLocs, B, SplitArgs, Handler)) in lowerFormalArguments()
|
/external/llvm-project/llvm/lib/Target/AVR/ |
D | AVRISelLowering.cpp | 909 SmallVectorImpl<CCValAssign> &ArgLocs, CCState &CCInfo) { in analyzeArguments() argument 1029 SmallVector<CCValAssign, 16> ArgLocs; in LowerFormalArguments() local 1030 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), ArgLocs, in LowerFormalArguments() 1037 analyzeArguments(nullptr, &MF.getFunction(), &DL, Ins, ArgLocs, CCInfo); in LowerFormalArguments() 1041 for (CCValAssign &VA : ArgLocs) { in LowerFormalArguments() 1138 SmallVector<CCValAssign, 16> ArgLocs; in LowerCall() local 1139 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), ArgLocs, in LowerCall() 1162 analyzeArguments(&CLI, F, &DAG.getDataLayout(), Outs, ArgLocs, CCInfo); in LowerCall() 1175 for (AI = 0, AE = ArgLocs.size(); AI != AE; ++AI) { in LowerCall() 1176 CCValAssign &VA = ArgLocs[AI]; in LowerCall() [all …]
|
/external/llvm-project/llvm/lib/Target/Sparc/ |
D | SparcISelLowering.cpp | 390 SmallVector<CCValAssign, 16> ArgLocs; in LowerFormalArguments_32() local 391 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), ArgLocs, in LowerFormalArguments_32() 399 for (unsigned i = 0, e = ArgLocs.size(); i != e; ++i, ++InIdx) { in LowerFormalArguments_32() 400 CCValAssign &VA = ArgLocs[i]; in LowerFormalArguments_32() 423 CCValAssign &NextVA = ArgLocs[++i]; in LowerFormalArguments_32() 583 SmallVector<CCValAssign, 16> ArgLocs; in LowerFormalArguments_64() local 584 CCState CCInfo(CallConv, IsVarArg, DAG.getMachineFunction(), ArgLocs, in LowerFormalArguments_64() 591 for (unsigned i = 0, e = ArgLocs.size(); i != e; ++i) { in LowerFormalArguments_64() 592 CCValAssign &VA = ArgLocs[i]; in LowerFormalArguments_64() 732 SmallVector<CCValAssign, 16> ArgLocs; in LowerCall_32() local [all …]
|
/external/llvm/lib/Target/Sparc/ |
D | SparcISelLowering.cpp | 390 SmallVector<CCValAssign, 16> ArgLocs; in LowerFormalArguments_32() local 391 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), ArgLocs, in LowerFormalArguments_32() 399 for (unsigned i = 0, e = ArgLocs.size(); i != e; ++i, ++InIdx) { in LowerFormalArguments_32() 400 CCValAssign &VA = ArgLocs[i]; in LowerFormalArguments_32() 424 CCValAssign &NextVA = ArgLocs[++i]; in LowerFormalArguments_32() 592 SmallVector<CCValAssign, 16> ArgLocs; in LowerFormalArguments_64() local 593 CCState CCInfo(CallConv, IsVarArg, DAG.getMachineFunction(), ArgLocs, in LowerFormalArguments_64() 600 for (unsigned i = 0, e = ArgLocs.size(); i != e; ++i) { in LowerFormalArguments_64() 601 CCValAssign &VA = ArgLocs[i]; in LowerFormalArguments_64() 741 SmallVector<CCValAssign, 16> ArgLocs; in LowerCall_32() local [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/ |
D | SparcISelLowering.cpp | 392 SmallVector<CCValAssign, 16> ArgLocs; in LowerFormalArguments_32() local 393 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), ArgLocs, in LowerFormalArguments_32() 401 for (unsigned i = 0, e = ArgLocs.size(); i != e; ++i, ++InIdx) { in LowerFormalArguments_32() 402 CCValAssign &VA = ArgLocs[i]; in LowerFormalArguments_32() 425 CCValAssign &NextVA = ArgLocs[++i]; in LowerFormalArguments_32() 585 SmallVector<CCValAssign, 16> ArgLocs; in LowerFormalArguments_64() local 586 CCState CCInfo(CallConv, IsVarArg, DAG.getMachineFunction(), ArgLocs, in LowerFormalArguments_64() 593 for (unsigned i = 0, e = ArgLocs.size(); i != e; ++i) { in LowerFormalArguments_64() 594 CCValAssign &VA = ArgLocs[i]; in LowerFormalArguments_64() 734 SmallVector<CCValAssign, 16> ArgLocs; in LowerCall_32() local [all …]
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | AMDGPUCallLowering.cpp | 600 SmallVector<CCValAssign, 16> ArgLocs; in lowerFormalArgumentsKernel() local 601 CCState CCInfo(F.getCallingConv(), F.isVarArg(), MF, ArgLocs, F.getContext()); in lowerFormalArgumentsKernel() 800 SmallVector<CCValAssign, 16> ArgLocs; in lowerFormalArguments() local 801 CCState CCInfo(CC, F.isVarArg(), MF, ArgLocs, F.getContext()); in lowerFormalArguments() 930 if (!handleAssignments(CCInfo, ArgLocs, B, SplitArgs, Handler)) in lowerFormalArguments() 1208 SmallVector<CCValAssign, 16> ArgLocs; in lowerCall() local 1209 CCState CCInfo(Info.CallConv, Info.IsVarArg, MF, ArgLocs, F.getContext()); in lowerCall() 1226 if (!handleAssignments(CCInfo, ArgLocs, MIRBuilder, OutArgs, Handler)) in lowerCall()
|
/external/llvm-project/llvm/lib/Target/VE/ |
D | VEISelLowering.cpp | 358 SmallVector<CCValAssign, 16> ArgLocs; in LowerFormalArguments() local 359 CCState CCInfo(CallConv, IsVarArg, DAG.getMachineFunction(), ArgLocs, in LowerFormalArguments() 367 for (unsigned i = 0, e = ArgLocs.size(); i != e; ++i) { in LowerFormalArguments() 368 CCValAssign &VA = ArgLocs[i]; in LowerFormalArguments() 456 unsigned ArgOffset = ArgLocs.size() * 8; in LowerFormalArguments() 506 SmallVector<CCValAssign, 16> ArgLocs; in LowerCall() local 507 CCState CCInfo(CLI.CallConv, CLI.IsVarArg, DAG.getMachineFunction(), ArgLocs, in LowerCall() 595 for (unsigned i = 0, e = ArgLocs.size(); i != e; ++i) { in LowerCall() 596 CCValAssign &VA = ArgLocs[i]; in LowerCall()
|