Home
last modified time | relevance | path

Searched refs:numRegs (Results 1 – 11 of 11) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Target/PTX/
DPTXAsmPrinter.cpp183 unsigned numRegs; in EmitFunctionBodyStart() local
186 numRegs = MFI->getNumRegistersForClass(PTX::RegPredRegisterClass); in EmitFunctionBodyStart()
187 if(numRegs > 0) { in EmitFunctionBodyStart()
189 regDefs += utostr(numRegs); in EmitFunctionBodyStart()
194 numRegs = MFI->getNumRegistersForClass(PTX::RegI16RegisterClass); in EmitFunctionBodyStart()
195 if(numRegs > 0) { in EmitFunctionBodyStart()
197 regDefs += utostr(numRegs); in EmitFunctionBodyStart()
202 numRegs = MFI->getNumRegistersForClass(PTX::RegI32RegisterClass); in EmitFunctionBodyStart()
203 if(numRegs > 0) { in EmitFunctionBodyStart()
205 regDefs += utostr(numRegs); in EmitFunctionBodyStart()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/PBQP/Heuristics/
DBriggs.h316 unsigned numRegs = eCosts.getRows() - 1, in computeEdgeContributions() local
319 std::vector<unsigned> rowInfCounts(numRegs, 0), in computeEdgeContributions()
325 ed.unsafe.resize(numRegs, 0); in computeEdgeContributions()
329 for (unsigned i = 0; i < numRegs; ++i) { in computeEdgeContributions()
362 unsigned numRegs = getGraph().getNodeCosts(nItr).getLength() - 1; in addEdgeContributions() local
369 for (unsigned r = 0; r < numRegs; ++r) { in addEdgeContributions()
389 unsigned numRegs = getGraph().getNodeCosts(nItr).getLength() - 1; in subtractEdgeContributions() local
396 for (unsigned r = 0; r < numRegs; ++r) { in subtractEdgeContributions()
408 unsigned numRegs = getGraph().getNodeCosts(nItr).getLength() - 1; in updateAllocability() local
409 nd.isAllocable = nd.numDenied < numRegs || nd.numSafe > 0; in updateAllocability()
[all …]
/external/mesa3d/src/mesa/program/
Dprog_print.h79 const char *opcode_string, GLuint numRegs,
85 const char *opcode_string, GLuint numRegs);
Dprog_print.c558 const char *opcode_string, GLuint numRegs, in _mesa_fprint_alu_instruction() argument
578 if (numRegs > 0) in _mesa_fprint_alu_instruction()
581 for (j = 0; j < numRegs; j++) { in _mesa_fprint_alu_instruction()
583 if (j + 1 < numRegs) in _mesa_fprint_alu_instruction()
593 const char *opcode_string, GLuint numRegs) in _mesa_print_alu_instruction() argument
596 numRegs, PROG_PRINT_DEBUG, NULL); in _mesa_print_alu_instruction()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DRegAllocBasic.cpp186 unionVRegs(new LiveVirtRegBitSet[PhysReg2LiveUnion.numRegs()]); in verify()
189 for (unsigned PhysReg = 0; PhysReg < PhysReg2LiveUnion.numRegs(); ++PhysReg) { in verify()
239 if (NumRegs != PhysReg2LiveUnion.numRegs()) { in init()
242 Queries.reset(new LiveIntervalUnion::Query[PhysReg2LiveUnion.numRegs()]); in init()
257 for (unsigned r = 0, e = PhysReg2LiveUnion.numRegs(); r != e; ++r) in releaseMemory()
437 for (unsigned PhysReg = 0; PhysReg < PhysReg2LiveUnion.numRegs(); ++PhysReg) { in addMBBLiveIns()
DRegAllocBase.h79 unsigned numRegs() const { return NumRegs; } in numRegs() function
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/AsmParser/
DMBlazeAsmLexer.cpp45 unsigned numRegs = info->getNumRegs(); in InitRegisterMap() local
47 for (unsigned i = 0; i < numRegs; ++i) { in InitRegisterMap()
/external/swiftshader/third_party/LLVM/lib/Target/ARM/AsmParser/
DARMAsmLexer.cpp46 unsigned numRegs = info->getNumRegs(); in InitRegisterMap() local
48 for (unsigned i = 0; i < numRegs; ++i) { in InitRegisterMap()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_cmd.c794 uint32 numRegs, // IN in SVGA3D_SetShaderConsts() argument
803 sizeof *cmd + (numRegs - 1) * sizeof cmd->values, in SVGA3D_SetShaderConsts()
813 memcpy(&cmd->values, values, numRegs * sizeof cmd->values); in SVGA3D_SetShaderConsts()
1899 unsigned numRegs, in SVGA3D_SetGBShaderConstsInline() argument
1906 assert(numRegs > 0); in SVGA3D_SetGBShaderConstsInline()
1910 sizeof *cmd + numRegs * sizeof(float[4]), in SVGA3D_SetGBShaderConstsInline()
1920 memcpy(&cmd[1], values, numRegs * sizeof(float[4])); in SVGA3D_SetGBShaderConstsInline()
Dsvga_cmd.h238 uint32 numRegs,
310 unsigned numRegs,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp2016 unsigned numRegs = 1; in markLibCallAttributes() local
2018 numRegs = 2; in markLibCallAttributes()
2019 if (ParamRegs < numRegs) in markLibCallAttributes()
2021 ParamRegs -= numRegs; in markLibCallAttributes()