Home
last modified time | relevance | path

Searched refs:PSInputNum (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUCallLowering.cpp181 unsigned PSInputNum = 0; in lowerFormalArguments() local
194 PSInputNum <= 15) { in lowerFormalArguments()
195 if (CurOrigArg->use_empty() && !Info->isPSInputAllocated(PSInputNum)) { in lowerFormalArguments()
197 ++PSInputNum; in lowerFormalArguments()
201 Info->markPSInputAllocated(PSInputNum); in lowerFormalArguments()
203 Info->markPSInputEnabled(PSInputNum); in lowerFormalArguments()
205 ++PSInputNum; in lowerFormalArguments()
DSIISelLowering.cpp1349 for (unsigned I = 0, E = Ins.size(), PSInputNum = 0; I != E; ++I) { in processShaderInputArgs() local
1356 !Arg->Flags.isInReg() && !Arg->Flags.isByVal() && PSInputNum <= 15) { in processShaderInputArgs()
1358 bool SkipArg = !Arg->Used && !Info->isPSInputAllocated(PSInputNum); in processShaderInputArgs()
1376 ++PSInputNum; in processShaderInputArgs()
1380 Info->markPSInputAllocated(PSInputNum); in processShaderInputArgs()
1382 Info->markPSInputEnabled(PSInputNum); in processShaderInputArgs()
1384 ++PSInputNum; in processShaderInputArgs()
/external/llvm/lib/Target/AMDGPU/
DSIISelLowering.cpp615 for (unsigned i = 0, e = Ins.size(), PSInputNum = 0; i != e; ++i) { in LowerFormalArguments() local
620 !Arg.Flags.isByVal() && PSInputNum <= 15) { in LowerFormalArguments()
622 if (!Arg.Used && !Info->isPSInputAllocated(PSInputNum)) { in LowerFormalArguments()
625 ++PSInputNum; in LowerFormalArguments()
629 Info->markPSInputAllocated(PSInputNum); in LowerFormalArguments()
631 Info->PSInputEna |= 1 << PSInputNum; in LowerFormalArguments()
633 ++PSInputNum; in LowerFormalArguments()