Home
last modified time | relevance | path

Searched refs:RegCount (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64LowerHomogeneousPrologEpilog.cpp360 auto RegCount = Regs.size(); in shouldUseFrameHelper() local
361 assert(RegCount > 0 && (RegCount % 2 == 0)); in shouldUseFrameHelper()
363 int InstCount = RegCount / 2; in shouldUseFrameHelper()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.h679 SmallVector<unsigned, 4> RegCount; member
699 RegCount.push_back(RHS.Regs.size()); in append()
728 return std::accumulate(RegCount.begin(), RegCount.end(), 0) > 1; in occupiesMultipleRegs()
H A DSelectionDAGBuilder.cpp791 RegCount(1, regs.size()), CallConv(CC) {} in RegsForValue()
812 RegCount.push_back(NumRegs); in RegsForValue()
833 unsigned NumRegs = RegCount[Value]; in getCopyFromRegs()
915 unsigned NumParts = RegCount[Value]; in getCopyToRegs()
1017 for (auto CountAndVT : zip_first(RegCount, RegVTs)) { in getRegsAndSizes()
1018 unsigned RegCount = std::get<0>(CountAndVT); in getRegsAndSizes() local
1021 for (unsigned E = I + RegCount; I != E; ++I) in getRegsAndSizes()
/llvm-project-15.0.7/llvm/lib/Target/X86/MCTargetDesc/
H A DX86AsmBackend.cpp1269 uint32_t encodeCompactUnwindRegistersWithoutFrame(unsigned RegCount) const { in encodeCompactUnwindRegistersWithoutFrame()
1283 for (unsigned i = 0; i < RegCount; ++i) { in encodeCompactUnwindRegistersWithoutFrame()
1293 for (unsigned i = CU_NUM_SAVED_REGS - RegCount; i < CU_NUM_SAVED_REGS; ++i){ in encodeCompactUnwindRegistersWithoutFrame()
1295 for (unsigned j = CU_NUM_SAVED_REGS - RegCount; j < i; ++j) in encodeCompactUnwindRegistersWithoutFrame()
1304 switch (RegCount) { in encodeCompactUnwindRegistersWithoutFrame()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DSIInstrInfo.cpp4228 uint32_t RegCount = in verifyInstruction() local
4236 RegCount >>= 1; in verifyInstruction()
4240 RegCount += 1; in verifyInstruction()
4248 if (RegCount > DstSize) { in verifyInstruction()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DTargetInfo.cpp7654 llvm::Value *RegCount = CGF.Builder.CreateLoad(RegCountPtr, "reg_count"); in EmitVAArg() local
7656 llvm::Value *InRegs = CGF.Builder.CreateICmpULT(RegCount, MaxRegsV, in EmitVAArg()
7669 CGF.Builder.CreateMul(RegCount, PaddedSizeV, "scaled_reg_count"); in EmitVAArg()
7688 CGF.Builder.CreateAdd(RegCount, One, "reg_count"); in EmitVAArg()