Home
last modified time | relevance | path

Searched refs:PIdx (Results 1 – 19 of 19) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetSchedule.h130 const MCProcResourceDesc *getProcResource(unsigned PIdx) const { in getProcResource() argument
131 return SchedModel.getProcResource(PIdx); in getProcResource()
135 const char *getResourceName(unsigned PIdx) const { in getResourceName() argument
136 if (!PIdx) in getResourceName()
138 return SchedModel.getProcResource(PIdx)->Name; in getResourceName()
177 int getResourceBufferSize(unsigned PIdx) const { in getResourceBufferSize() argument
178 return SchedModel.getProcResource(PIdx)->BufferSize; in getResourceBufferSize()
H A DMachineScheduler.h1022 getNextResourceCycle(const MCSchedClassDesc *SC, unsigned PIdx,
1025 bool isUnbufferedGroup(unsigned PIdx) const { in isUnbufferedGroup() argument
1026 return SchedModel->getProcResource(PIdx)->SubUnitsIdxBegin && in isUnbufferedGroup()
1027 !SchedModel->getProcResource(PIdx)->BufferSize; in isUnbufferedGroup()
1049 LLVM_ABI void incExecutedResources(unsigned PIdx, unsigned Count);
1051 LLVM_ABI unsigned countResource(const MCSchedClassDesc *SC, unsigned PIdx,
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineScheduler.cpp2567 unsigned PIdx = PI->ProcResourceIdx; in init() local
2568 unsigned Factor = SchedModel->getResourceFactor(PIdx); in init()
2570 RemainingCounts[PIdx] += in init()
2649 SchedBoundary::getNextResourceCycle(const MCSchedClassDesc *SC, unsigned PIdx, in getNextResourceCycle() argument
2659 unsigned StartIndex = ReservedCyclesIndex[PIdx]; in getNextResourceCycle()
2660 unsigned NumberOfInstances = SchedModel->getProcResource(PIdx)->NumUnits; in getNextResourceCycle()
2664 if (isUnbufferedGroup(PIdx)) { in getNextResourceCycle()
2679 if (ResourceGroupSubUnitMasks[PIdx][PE.ProcResourceIdx]) in getNextResourceCycle()
2684 auto SubUnits = SchedModel->getProcResource(PIdx)->SubUnitsIdxBegin; in getNextResourceCycle()
2710 LLVM_DEBUG(dbgs() << " selecting " << SchedModel->getResourceName(PIdx) in getNextResourceCycle()
[all …]
H A DInlineSpiller.cpp1414 SlotIndex PIdx = LIS.getInstructionIndex(*PrevSpill); in rmRedundantSpills() local
1416 MachineInstr *SpillToRm = (CIdx > PIdx) ? CurrentSpill : PrevSpill; in rmRedundantSpills()
1417 MachineInstr *SpillToKeep = (CIdx > PIdx) ? PrevSpill : CurrentSpill; in rmRedundantSpills()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DCodeGenSchedule.cpp1201 for (unsigned PIdx = 0, PEnd = ProcModels.size(); PIdx != PEnd; ++PIdx) { in inferFromItinClass() local
1202 const CodeGenProcModel &PM = ProcModels[PIdx]; in inferFromItinClass()
1216 inferFromRW(Writes, Reads, FromClassIdx, PIdx); in inferFromItinClass()
1238 unsigned PIdx = getProcModel(Rec->getValueAsDef("SchedModel")).Index; in inferFromInstRWs() local
1239 inferFromRW(Writes, Reads, SCIdx, PIdx); // May mutate SchedClasses. in inferFromInstRWs()
1240 SchedClasses[SCIdx].InstRWProcIndices.insert(PIdx); in inferFromInstRWs()
1839 unsigned PIdx = getProcModel(RWModelDef).Index; in collectProcResources() local
1842 collectRWResources(Writes, Reads, PIdx); in collectProcResources()
1980 for (unsigned PIdx = 0, PEnd = ProcModels.size(); PIdx != PEnd; ++PIdx) { in collectItinProcResources() local
1981 const CodeGenProcModel &PM = ProcModels[PIdx]; in collectItinProcResources()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMLowOverheadLoops.cpp87 int PIdx = llvm::findFirstVPTPredOperandIdx(*MI); in isVectorPredicated() local
88 return PIdx != -1 && MI->getOperand(PIdx + 1).getReg() == ARM::VPR; in isVectorPredicated()
885 int PIdx = llvm::findFirstVPTPredOperandIdx(MI); in producesFalseLanesZero() local
886 if (PIdx != -1 && (int)MO.getOperandNo() == PIdx + 2) in producesFalseLanesZero()
1564 int PIdx = llvm::findFirstVPTPredOperandIdx(*MI); in ConvertVPTBlocks() local
1565 assert(PIdx >= 1 && "Trying to unpredicate a non-predicated instruction"); in ConvertVPTBlocks()
1566 assert(MI->getOperand(PIdx).getImm() == ARMVCC::Then && in ConvertVPTBlocks()
1568 MI->getOperand(PIdx).setImm(ARMVCC::None); in ConvertVPTBlocks()
1569 MI->getOperand(PIdx + 1).setReg(0); in ConvertVPTBlocks()
H A DARMBaseRegisterInfo.cpp878 int PIdx = MI.findFirstPredOperandIdx(); in eliminateFrameIndex() local
879 ARMCC::CondCodes Pred = (PIdx == -1) in eliminateFrameIndex()
880 ? ARMCC::AL : (ARMCC::CondCodes)MI.getOperand(PIdx).getImm(); in eliminateFrameIndex()
881 Register PredReg = (PIdx == -1) ? Register() : MI.getOperand(PIdx+1).getReg(); in eliminateFrameIndex()
H A DMVETPAndVPTOptimisationsPass.cpp929 int PIdx = llvm::findFirstVPTPredOperandIdx(Instr); in ReplaceConstByVPNOTs() local
930 if (PIdx == -1) in ReplaceConstByVPNOTs()
932 Register VPR = Instr.getOperand(PIdx + 1).getReg(); in ReplaceConstByVPNOTs()
963 Instr.getOperand(PIdx + 1).setReg(LastVPTReg); in ReplaceConstByVPNOTs()
981 Instr.getOperand(PIdx + 1).setReg(NewVPR); in ReplaceConstByVPNOTs()
H A DThumb2InstrInfo.cpp808 int PIdx = findFirstVPTPredOperandIdx(MI); in getVPTInstrPredicate() local
809 if (PIdx == -1) { in getVPTInstrPredicate()
814 PredReg = MI.getOperand(PIdx+1).getReg(); in getVPTInstrPredicate()
815 return (ARMVCC::VPTCodes)MI.getOperand(PIdx).getImm(); in getVPTInstrPredicate()
H A DThumbRegisterInfo.cpp596 int PIdx = MI.findFirstPredOperandIdx(); in eliminateFrameIndex() local
597 if (PIdx != -1) in eliminateFrameIndex()
598 removeOperands(MI, PIdx); in eliminateFrameIndex()
H A DARMBaseInstrInfo.h168 int PIdx = MI.findFirstPredOperandIdx(); in getPredicate() local
169 return PIdx != -1 ? (ARMCC::CondCodes)MI.getOperand(PIdx).getImm() in getPredicate()
H A DARMBaseInstrInfo.cpp391 int PIdx = I->findFirstPredOperandIdx(); in isPredicated() local
392 if (PIdx != -1 && I->getOperand(PIdx).getImm() != ARMCC::AL) in isPredicated()
398 int PIdx = MI.findFirstPredOperandIdx(); in isPredicated() local
399 return PIdx != -1 && MI.getOperand(PIdx).getImm() != ARMCC::AL; in isPredicated()
438 int PIdx = MI.findFirstPredOperandIdx(); in PredicateInstruction() local
439 if (PIdx != -1) { in PredicateInstruction()
440 MachineOperand &PMO = MI.getOperand(PIdx); in PredicateInstruction()
442 MI.getOperand(PIdx+1).setReg(Pred[1].getReg()); in PredicateInstruction()
2078 int PIdx = MI.findFirstPredOperandIdx(); in getInstrPredicate() local
2079 if (PIdx == -1) { in getInstrPredicate()
[all …]
H A DARMFrameLowering.cpp3177 int PIdx = I->findFirstPredOperandIdx(); in eliminateCallFramePseudoInstr() local
3178 ARMCC::CondCodes Pred = (PIdx == -1) in eliminateCallFramePseudoInstr()
3180 : (ARMCC::CondCodes)I->getOperand(PIdx).getImm(); in eliminateCallFramePseudoInstr()
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DProgram.cpp222 unsigned &PIdx = GlobalIndices[P]; in createGlobal() local
224 if (Globals[PIdx]->block()->isExtern()) in createGlobal()
225 Globals[PIdx] = Globals[*Idx]; in createGlobal()
227 PIdx = *Idx; in createGlobal()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/GlobalISel/
H A DGIMatchTree.cpp
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DThreadSafetyCommon.cpp775 for (unsigned PIdx = 0; PIdx < ArgIndex; ++PIdx) in makePhiNodeVar() local
776 Ph->values()[PIdx] = CurrE; in makePhiNodeVar()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DGlobalISelCombinerEmitter.cpp1770 unsigned PIdx = PF.getParamIdx(ParamName); in emitPatFragMatchPattern() local
1773 if (PIdx == (unsigned)-1) { in emitPatFragMatchPattern()
1783 auto ArgOp = PFP.getOperand(PIdx); in emitPatFragMatchPattern()
1789 PrintWarning("impossible type constraints: operand " + Twine(PIdx) + in emitPatFragMatchPattern()
1794 PrintNote("operand " + Twine(PIdx) + " of '" + PFP.getName() + in emitPatFragMatchPattern()
1797 PrintNote("argument " + Twine(PIdx) + " of '" + PFName + "' is '" + in emitPatFragMatchPattern()
H A DDecoderEmitter.cpp1394 unsigned PIdx = getPredicateIndex(TableInfo, PS.str()); in emitPredicateTableEntry() local
1400 TableInfo.Table.insertULEB128(PIdx); in emitPredicateTableEntry()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600InstrInfo.cpp935 int PIdx = MI.findFirstPredOperandIdx(); in PredicateInstruction() local
956 if (PIdx != -1) { in PredicateInstruction()
957 MachineOperand &PMO = MI.getOperand(PIdx); in PredicateInstruction()