Home
last modified time | relevance | path

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

/external/llvm/lib/Target/AMDGPU/
DSIRegisterInfo.cpp433 unsigned NumSubRegs = getNumSubRegsForSpillOp(MI->getOpcode()); in buildScratchLoadStore() local
434 unsigned Size = NumSubRegs * 4; in buildScratchLoadStore()
463 for (unsigned i = 0, e = NumSubRegs; i != e; ++i, Offset += 4) { in buildScratchLoadStore()
464 unsigned SubReg = NumSubRegs > 1 ? in buildScratchLoadStore()
517 unsigned NumSubRegs = getNumSubRegsForSpillOp(MI->getOpcode()); in eliminateFrameIndex() local
523 unsigned SubKillState = getKillRegState((NumSubRegs == 1) && IsKill); in eliminateFrameIndex()
524 for (unsigned i = 0, e = NumSubRegs; i < e; ++i) { in eliminateFrameIndex()
551 if (NumSubRegs > 1) { in eliminateFrameIndex()
576 MFI->addToSpilledSGPRs(NumSubRegs); in eliminateFrameIndex()
586 unsigned NumSubRegs = getNumSubRegsForSpillOp(MI->getOpcode()); in eliminateFrameIndex() local
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DSIRegisterInfo.cpp540 unsigned NumSubRegs = AMDGPU::getRegBitWidth(RC->getID()) / (EltSize * CHAR_BIT); in buildSpillLoadStore() local
541 unsigned Size = NumSubRegs * EltSize; in buildSpillLoadStore()
584 for (unsigned i = 0, e = NumSubRegs; i != e; ++i, Offset += EltSize) { in buildSpillLoadStore()
585 unsigned SubReg = NumSubRegs == 1 ? in buildSpillLoadStore()
611 if (NumSubRegs > 1) in buildSpillLoadStore()
696 unsigned NumSubRegs = SplitParts.empty() ? 1 : SplitParts.size(); in spillSGPR() local
699 unsigned SubKillState = getKillRegState((NumSubRegs == 1) && IsKill); in spillSGPR()
700 for (unsigned i = 0, e = NumSubRegs; i < e; ++i) { in spillSGPR()
701 unsigned SubReg = NumSubRegs == 1 ? in spillSGPR()
783 if (NumSubRegs > 1) { in spillSGPR()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp36588 unsigned NumSubRegs = InVT.getSizeInBits() / 128; in combineVectorTruncationWithPACKUS() local
36591 SmallVector<SDValue, 8> SubVecs(NumSubRegs); in combineVectorTruncationWithPACKUS()
36597 for (unsigned i = 0; i < NumSubRegs; i++) { in combineVectorTruncationWithPACKUS()