/external/llvm/include/llvm/CodeGen/ |
D | TargetSchedule.h | 106 const MCProcResourceDesc *getProcResource(unsigned PIdx) const { in getProcResource() argument 107 return SchedModel.getProcResource(PIdx); in getProcResource() 111 const char *getResourceName(unsigned PIdx) const { in getResourceName() argument 112 if (!PIdx) in getResourceName() 114 return SchedModel.getProcResource(PIdx)->Name; in getResourceName() 153 int getResourceBufferSize(unsigned PIdx) const { in getResourceBufferSize() argument 154 return SchedModel.getProcResource(PIdx)->BufferSize; in getResourceBufferSize()
|
D | MachineScheduler.h | 721 unsigned getNextResourceCycle(unsigned PIdx, unsigned Cycles); 737 void incExecutedResources(unsigned PIdx, unsigned Count); 739 unsigned countResource(unsigned PIdx, unsigned Cycles, unsigned ReadyCycle);
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | TargetSchedule.h | 118 const MCProcResourceDesc *getProcResource(unsigned PIdx) const { in getProcResource() argument 119 return SchedModel.getProcResource(PIdx); in getProcResource() 123 const char *getResourceName(unsigned PIdx) const { in getResourceName() argument 124 if (!PIdx) in getResourceName() 126 return SchedModel.getProcResource(PIdx)->Name; in getResourceName() 165 int getResourceBufferSize(unsigned PIdx) const { in getResourceBufferSize() argument 166 return SchedModel.getProcResource(PIdx)->BufferSize; in getResourceBufferSize()
|
D | MachineScheduler.h | 751 std::pair<unsigned, unsigned> getNextResourceCycle(unsigned PIdx, 773 void incExecutedResources(unsigned PIdx, unsigned Count); 775 unsigned countResource(unsigned PIdx, unsigned Cycles, unsigned ReadyCycle);
|
/external/llvm-project/llvm/include/llvm/CodeGen/ |
D | TargetSchedule.h | 118 const MCProcResourceDesc *getProcResource(unsigned PIdx) const { in getProcResource() argument 119 return SchedModel.getProcResource(PIdx); in getProcResource() 123 const char *getResourceName(unsigned PIdx) const { in getResourceName() argument 124 if (!PIdx) in getResourceName() 126 return SchedModel.getProcResource(PIdx)->Name; in getResourceName() 165 int getResourceBufferSize(unsigned PIdx) const { in getResourceBufferSize() argument 166 return SchedModel.getProcResource(PIdx)->BufferSize; in getResourceBufferSize()
|
D | MachineScheduler.h | 754 std::pair<unsigned, unsigned> getNextResourceCycle(unsigned PIdx, 776 void incExecutedResources(unsigned PIdx, unsigned Count); 778 unsigned countResource(unsigned PIdx, unsigned Cycles, unsigned ReadyCycle);
|
/external/llvm/lib/CodeGen/ |
D | MachineScheduler.cpp | 1799 unsigned PIdx = PI->ProcResourceIdx; in init() local 1800 unsigned Factor = SchedModel->getResourceFactor(PIdx); in init() 1801 RemainingCounts[PIdx] += (Factor * PI->Cycles); in init() 1838 getNextResourceCycle(unsigned PIdx, unsigned Cycles) { in getNextResourceCycle() argument 1839 unsigned NextUnreserved = ReservedCycles[PIdx]; in getNextResourceCycle() 1926 for (unsigned PIdx = 1, PEnd = SchedModel->getNumProcResourceKinds(); in getOtherResourceCount() local 1927 PIdx != PEnd; ++PIdx) { in getOtherResourceCount() 1928 unsigned OtherCount = getResourceCount(PIdx) + Rem->RemainingCounts[PIdx]; in getOtherResourceCount() 1931 OtherCritIdx = PIdx; in getOtherResourceCount() 2021 void SchedBoundary::incExecutedResources(unsigned PIdx, unsigned Count) { in incExecutedResources() argument [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | MachineScheduler.cpp | 1897 unsigned PIdx = PI->ProcResourceIdx; in init() local 1898 unsigned Factor = SchedModel->getResourceFactor(PIdx); in init() 1899 RemainingCounts[PIdx] += (Factor * PI->Cycles); in init() 1960 SchedBoundary::getNextResourceCycle(unsigned PIdx, unsigned Cycles) { in getNextResourceCycle() argument 1963 unsigned StartIndex = ReservedCyclesIndex[PIdx]; in getNextResourceCycle() 1964 unsigned NumberOfInstances = SchedModel->getProcResource(PIdx)->NumUnits; in getNextResourceCycle() 2069 for (unsigned PIdx = 1, PEnd = SchedModel->getNumProcResourceKinds(); in getOtherResourceCount() local 2070 PIdx != PEnd; ++PIdx) { in getOtherResourceCount() 2071 unsigned OtherCount = getResourceCount(PIdx) + Rem->RemainingCounts[PIdx]; in getOtherResourceCount() 2074 OtherCritIdx = PIdx; in getOtherResourceCount() [all …]
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | MachineScheduler.cpp | 2033 unsigned PIdx = PI->ProcResourceIdx; in init() local 2034 unsigned Factor = SchedModel->getResourceFactor(PIdx); in init() 2035 RemainingCounts[PIdx] += (Factor * PI->Cycles); in init() 2096 SchedBoundary::getNextResourceCycle(unsigned PIdx, unsigned Cycles) { in getNextResourceCycle() argument 2099 unsigned StartIndex = ReservedCyclesIndex[PIdx]; in getNextResourceCycle() 2100 unsigned NumberOfInstances = SchedModel->getProcResource(PIdx)->NumUnits; in getNextResourceCycle() 2205 for (unsigned PIdx = 1, PEnd = SchedModel->getNumProcResourceKinds(); in getOtherResourceCount() local 2206 PIdx != PEnd; ++PIdx) { in getOtherResourceCount() 2207 unsigned OtherCount = getResourceCount(PIdx) + Rem->RemainingCounts[PIdx]; in getOtherResourceCount() 2210 OtherCritIdx = PIdx; in getOtherResourceCount() [all …]
|
/external/llvm-project/llvm/utils/TableGen/ |
D | CodeGenSchedule.cpp | 1245 for (unsigned PIdx = 0, PEnd = ProcModels.size(); PIdx != PEnd; ++PIdx) { in inferFromItinClass() local 1246 const CodeGenProcModel &PM = ProcModels[PIdx]; in inferFromItinClass() 1260 inferFromRW(Writes, Reads, FromClassIdx, PIdx); in inferFromItinClass() 1282 unsigned PIdx = getProcModel(Rec->getValueAsDef("SchedModel")).Index; in inferFromInstRWs() local 1283 inferFromRW(Writes, Reads, SCIdx, PIdx); // May mutate SchedClasses. in inferFromInstRWs() 1284 SchedClasses[SCIdx].InstRWProcIndices.insert(PIdx); in inferFromInstRWs() 1899 unsigned PIdx = getProcModel(RWModelDef).Index; in collectProcResources() local 1902 collectRWResources(Writes, Reads, PIdx); in collectProcResources() 2042 for (unsigned PIdx = 0, PEnd = ProcModels.size(); PIdx != PEnd; ++PIdx) { in collectItinProcResources() local 2043 const CodeGenProcModel &PM = ProcModels[PIdx]; in collectItinProcResources() [all …]
|
/external/llvm/utils/TableGen/ |
D | CodeGenSchedule.cpp | 870 for (unsigned PIdx = 0, PEnd = ProcModels.size(); PIdx != PEnd; ++PIdx) { in inferFromItinClass() local 871 const CodeGenProcModel &PM = ProcModels[PIdx]; in inferFromItinClass() 886 IdxVec ProcIndices(1, PIdx); in inferFromItinClass() 909 unsigned PIdx = getProcModel(Rec->getValueAsDef("SchedModel")).Index; in inferFromInstRWs() local 910 IdxVec ProcIndices(1, PIdx); in inferFromInstRWs() 1603 for (unsigned PIdx = 0, PEnd = ProcModels.size(); PIdx != PEnd; ++PIdx) { in collectItinProcResources() local 1604 const CodeGenProcModel &PM = ProcModels[PIdx]; in collectItinProcResources() 1619 IdxVec ProcIndices(1, PIdx); in collectItinProcResources() 1740 void CodeGenSchedModels::addWriteRes(Record *ProcWriteResDef, unsigned PIdx) { in addWriteRes() argument 1741 assert(PIdx && "don't add resources to an invalid Processor model"); in addWriteRes() [all …]
|
D | CodeGenSchedule.h | 437 void addWriteRes(Record *ProcWriteResDef, unsigned PIdx); 439 void addReadAdvance(Record *ProcReadAdvanceDef, unsigned PIdx);
|
/external/llvm-project/llvm/lib/Target/ARM/ |
D | MVEVPTOptimisationsPass.cpp | 663 int PIdx = llvm::findFirstVPTPredOperandIdx(Instr); in ReplaceConstByVPNOTs() local 664 if (PIdx == -1) in ReplaceConstByVPNOTs() 666 Register VPR = Instr.getOperand(PIdx + 1).getReg(); in ReplaceConstByVPNOTs() 696 Instr.getOperand(PIdx + 1).setReg(LastVPTReg); in ReplaceConstByVPNOTs() 713 Instr.getOperand(PIdx + 1).setReg(NewVPR); in ReplaceConstByVPNOTs()
|
D | ARMBaseRegisterInfo.cpp | 823 int PIdx = MI.findFirstPredOperandIdx(); in eliminateFrameIndex() local 824 ARMCC::CondCodes Pred = (PIdx == -1) in eliminateFrameIndex() 825 ? ARMCC::AL : (ARMCC::CondCodes)MI.getOperand(PIdx).getImm(); in eliminateFrameIndex() 826 Register PredReg = (PIdx == -1) ? Register() : MI.getOperand(PIdx+1).getReg(); in eliminateFrameIndex()
|
D | ARMLowOverheadLoops.cpp | 83 int PIdx = llvm::findFirstVPTPredOperandIdx(*MI); in isVectorPredicated() local 84 return PIdx != -1 && MI->getOperand(PIdx + 1).getReg() == ARM::VPR; in isVectorPredicated() 1428 if (int PIdx = llvm::findFirstVPTPredOperandIdx(*MI)) { in ConvertVPTBlocks() local 1429 assert(MI->getOperand(PIdx).getImm() == ARMVCC::Then && in ConvertVPTBlocks() 1431 MI->getOperand(PIdx).setImm(ARMVCC::None); in ConvertVPTBlocks() 1432 MI->getOperand(PIdx+1).setReg(0); in ConvertVPTBlocks()
|
D | ThumbRegisterInfo.cpp | 506 int PIdx = MI.findFirstPredOperandIdx(); in eliminateFrameIndex() local 507 if (PIdx != -1) in eliminateFrameIndex() 508 removeOperands(MI, PIdx); in eliminateFrameIndex()
|
D | Thumb2InstrInfo.cpp | 778 int PIdx = findFirstVPTPredOperandIdx(MI); in getVPTInstrPredicate() local 779 if (PIdx == -1) { in getVPTInstrPredicate() 784 PredReg = MI.getOperand(PIdx+1).getReg(); in getVPTInstrPredicate() 785 return (ARMVCC::VPTCodes)MI.getOperand(PIdx).getImm(); in getVPTInstrPredicate()
|
/external/llvm/lib/Target/ARM/ |
D | ARMBaseRegisterInfo.cpp | 761 int PIdx = MI.findFirstPredOperandIdx(); in eliminateFrameIndex() local 762 ARMCC::CondCodes Pred = (PIdx == -1) in eliminateFrameIndex() 763 ? ARMCC::AL : (ARMCC::CondCodes)MI.getOperand(PIdx).getImm(); in eliminateFrameIndex() 764 unsigned PredReg = (PIdx == -1) ? 0 : MI.getOperand(PIdx+1).getReg(); in eliminateFrameIndex()
|
D | ARMBaseInstrInfo.h | 139 int PIdx = MI.findFirstPredOperandIdx(); in getPredicate() local 140 return PIdx != -1 ? (ARMCC::CondCodes)MI.getOperand(PIdx).getImm() in getPredicate()
|
D | ThumbRegisterInfo.cpp | 564 int PIdx = MI.findFirstPredOperandIdx(); in eliminateFrameIndex() local 565 if (PIdx != -1) in eliminateFrameIndex() 566 removeOperands(MI, PIdx); in eliminateFrameIndex()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMBaseRegisterInfo.cpp | 808 int PIdx = MI.findFirstPredOperandIdx(); in eliminateFrameIndex() local 809 ARMCC::CondCodes Pred = (PIdx == -1) in eliminateFrameIndex() 810 ? ARMCC::AL : (ARMCC::CondCodes)MI.getOperand(PIdx).getImm(); in eliminateFrameIndex() 811 Register PredReg = (PIdx == -1) ? Register() : MI.getOperand(PIdx+1).getReg(); in eliminateFrameIndex()
|
D | ThumbRegisterInfo.cpp | 507 int PIdx = MI.findFirstPredOperandIdx(); in eliminateFrameIndex() local 508 if (PIdx != -1) in eliminateFrameIndex() 509 removeOperands(MI, PIdx); in eliminateFrameIndex()
|
D | Thumb2InstrInfo.cpp | 731 int PIdx = findFirstVPTPredOperandIdx(MI); in getVPTInstrPredicate() local 732 if (PIdx == -1) { in getVPTInstrPredicate() 737 PredReg = MI.getOperand(PIdx+1).getReg(); in getVPTInstrPredicate() 738 return (ARMVCC::VPTCodes)MI.getOperand(PIdx).getImm(); in getVPTInstrPredicate()
|
D | ARMBaseInstrInfo.h | 150 int PIdx = MI.findFirstPredOperandIdx(); in getPredicate() local 151 return PIdx != -1 ? (ARMCC::CondCodes)MI.getOperand(PIdx).getImm() in getPredicate()
|
D | ARMLowOverheadLoops.cpp | 886 if (int PIdx = llvm::findFirstVPTPredOperandIdx(*MI)) { in ConvertVPTBlocks() local 887 assert(MI->getOperand(PIdx).getImm() == ARMVCC::Then && in ConvertVPTBlocks() 889 MI->getOperand(PIdx).setImm(ARMVCC::None); in ConvertVPTBlocks() 890 MI->getOperand(PIdx+1).setReg(0); in ConvertVPTBlocks()
|