/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | TargetSchedule.h | 117 const MCProcResourceDesc *getProcResource(unsigned PIdx) const { in getProcResource() argument 118 return SchedModel.getProcResource(PIdx); in getProcResource() 122 const char *getResourceName(unsigned PIdx) const { in getResourceName() argument 123 if (!PIdx) in getResourceName() 125 return SchedModel.getProcResource(PIdx)->Name; in getResourceName() 164 int getResourceBufferSize(unsigned PIdx) const { in getResourceBufferSize() argument 165 return SchedModel.getProcResource(PIdx)->BufferSize; in getResourceBufferSize()
|
H A D | MachineScheduler.h | 1014 unsigned PIdx, 1018 bool isUnbufferedGroup(unsigned PIdx) const { in isUnbufferedGroup() argument 1019 return SchedModel->getProcResource(PIdx)->SubUnitsIdxBegin && in isUnbufferedGroup() 1020 !SchedModel->getProcResource(PIdx)->BufferSize; in isUnbufferedGroup() 1042 void incExecutedResources(unsigned PIdx, unsigned Count); 1044 unsigned countResource(const MCSchedClassDesc *SC, unsigned PIdx,
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | MachineScheduler.cpp | 2294 unsigned PIdx = PI->ProcResourceIdx; in init() local 2295 unsigned Factor = SchedModel->getResourceFactor(PIdx); in init() 2297 RemainingCounts[PIdx] += in init() 2376 SchedBoundary::getNextResourceCycle(const MCSchedClassDesc *SC, unsigned PIdx, in getNextResourceCycle() argument 2386 unsigned StartIndex = ReservedCyclesIndex[PIdx]; in getNextResourceCycle() 2387 unsigned NumberOfInstances = SchedModel->getProcResource(PIdx)->NumUnits; in getNextResourceCycle() 2391 if (isUnbufferedGroup(PIdx)) { in getNextResourceCycle() 2406 if (ResourceGroupSubUnitMasks[PIdx][PE.ProcResourceIdx]) in getNextResourceCycle() 2411 auto SubUnits = SchedModel->getProcResource(PIdx)->SubUnitsIdxBegin; in getNextResourceCycle() 2437 LLVM_DEBUG(dbgs() << " selecting " << SchedModel->getResourceName(PIdx) in getNextResourceCycle() [all …]
|
H A D | InlineSpiller.cpp | 1387 SlotIndex PIdx = LIS.getInstructionIndex(*PrevSpill); in rmRedundantSpills() local 1389 MachineInstr *SpillToRm = (CIdx > PIdx) ? CurrentSpill : PrevSpill; in rmRedundantSpills() 1390 MachineInstr *SpillToKeep = (CIdx > PIdx) ? PrevSpill : CurrentSpill; in rmRedundantSpills()
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/ |
H A D | CodeGenSchedule.cpp | 1247 for (unsigned PIdx = 0, PEnd = ProcModels.size(); PIdx != PEnd; ++PIdx) { in inferFromItinClass() local 1248 const CodeGenProcModel &PM = ProcModels[PIdx]; in inferFromItinClass() 1262 inferFromRW(Writes, Reads, FromClassIdx, PIdx); in inferFromItinClass() 1284 unsigned PIdx = getProcModel(Rec->getValueAsDef("SchedModel")).Index; in inferFromInstRWs() local 1285 inferFromRW(Writes, Reads, SCIdx, PIdx); // May mutate SchedClasses. in inferFromInstRWs() 1286 SchedClasses[SCIdx].InstRWProcIndices.insert(PIdx); in inferFromInstRWs() 1894 unsigned PIdx = getProcModel(RWModelDef).Index; in collectProcResources() local 1897 collectRWResources(Writes, Reads, PIdx); in collectProcResources() 2038 for (unsigned PIdx = 0, PEnd = ProcModels.size(); PIdx != PEnd; ++PIdx) { in collectItinProcResources() local 2039 const CodeGenProcModel &PM = ProcModels[PIdx]; in collectItinProcResources() [all …]
|
H A D | CodeGenSchedule.h | 647 void addWriteRes(Record *ProcWriteResDef, unsigned PIdx); 649 void addReadAdvance(Record *ProcReadAdvanceDef, unsigned PIdx);
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMLowOverheadLoops.cpp | 89 int PIdx = llvm::findFirstVPTPredOperandIdx(*MI); in isVectorPredicated() local 90 return PIdx != -1 && MI->getOperand(PIdx + 1).getReg() == ARM::VPR; in isVectorPredicated() 891 int PIdx = llvm::findFirstVPTPredOperandIdx(MI); in producesFalseLanesZero() local 892 if (PIdx != -1 && (int)MO.getOperandNo() == PIdx + 2) in producesFalseLanesZero() 1570 int PIdx = llvm::findFirstVPTPredOperandIdx(*MI); in ConvertVPTBlocks() local 1571 assert(PIdx >= 1 && "Trying to unpredicate a non-predicated instruction"); in ConvertVPTBlocks() 1572 assert(MI->getOperand(PIdx).getImm() == ARMVCC::Then && in ConvertVPTBlocks() 1574 MI->getOperand(PIdx).setImm(ARMVCC::None); in ConvertVPTBlocks() 1575 MI->getOperand(PIdx + 1).setReg(0); in ConvertVPTBlocks()
|
H A D | ARMBaseRegisterInfo.cpp | 849 int PIdx = MI.findFirstPredOperandIdx(); in eliminateFrameIndex() local 850 ARMCC::CondCodes Pred = (PIdx == -1) in eliminateFrameIndex() 851 ? ARMCC::AL : (ARMCC::CondCodes)MI.getOperand(PIdx).getImm(); in eliminateFrameIndex() 852 Register PredReg = (PIdx == -1) ? Register() : MI.getOperand(PIdx+1).getReg(); in eliminateFrameIndex()
|
H A D | MVETPAndVPTOptimisationsPass.cpp | 931 int PIdx = llvm::findFirstVPTPredOperandIdx(Instr); in ReplaceConstByVPNOTs() local 932 if (PIdx == -1) in ReplaceConstByVPNOTs() 934 Register VPR = Instr.getOperand(PIdx + 1).getReg(); in ReplaceConstByVPNOTs() 965 Instr.getOperand(PIdx + 1).setReg(LastVPTReg); in ReplaceConstByVPNOTs() 983 Instr.getOperand(PIdx + 1).setReg(NewVPR); in ReplaceConstByVPNOTs()
|
H A D | ThumbRegisterInfo.cpp | 598 int PIdx = MI.findFirstPredOperandIdx(); in eliminateFrameIndex() 599 if (PIdx != -1) in eliminateFrameIndex() 600 removeOperands(MI, PIdx); in eliminateFrameIndex() 520 int PIdx = MI.findFirstPredOperandIdx(); eliminateFrameIndex() local
|
H A D | Thumb2InstrInfo.cpp | 806 int PIdx = findFirstVPTPredOperandIdx(MI); in getVPTInstrPredicate() local 807 if (PIdx == -1) { in getVPTInstrPredicate() 812 PredReg = MI.getOperand(PIdx+1).getReg(); in getVPTInstrPredicate() 813 return (ARMVCC::VPTCodes)MI.getOperand(PIdx).getImm(); in getVPTInstrPredicate()
|
H A D | ARMBaseInstrInfo.h | 171 int PIdx = MI.findFirstPredOperandIdx(); in getPredicate() local 172 return PIdx != -1 ? (ARMCC::CondCodes)MI.getOperand(PIdx).getImm() in getPredicate()
|
H A D | ARMBaseInstrInfo.cpp | 566 int PIdx = I->findFirstPredOperandIdx(); in isPredicated() local 567 if (PIdx != -1 && I->getOperand(PIdx).getImm() != ARMCC::AL) in isPredicated() 573 int PIdx = MI.findFirstPredOperandIdx(); in isPredicated() local 574 return PIdx != -1 && MI.getOperand(PIdx).getImm() != ARMCC::AL; in isPredicated() 613 int PIdx = MI.findFirstPredOperandIdx(); in PredicateInstruction() local 614 if (PIdx != -1) { in PredicateInstruction() 615 MachineOperand &PMO = MI.getOperand(PIdx); in PredicateInstruction() 617 MI.getOperand(PIdx+1).setReg(Pred[1].getReg()); in PredicateInstruction() 2235 int PIdx = MI.findFirstPredOperandIdx(); in getInstrPredicate() local 2236 if (PIdx == -1) { in getInstrPredicate() [all …]
|
H A D | ARMFrameLowering.cpp | 2885 int PIdx = I->findFirstPredOperandIdx(); in eliminateCallFramePseudoInstr() local 2886 ARMCC::CondCodes Pred = (PIdx == -1) in eliminateCallFramePseudoInstr() 2888 : (ARMCC::CondCodes)I->getOperand(PIdx).getImm(); in eliminateCallFramePseudoInstr()
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/GlobalISel/ |
H A D | GIMatchTree.cpp |
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/ |
H A D | ThreadSafetyCommon.cpp | 758 for (unsigned PIdx = 0; PIdx < ArgIndex; ++PIdx) in makePhiNodeVar() local 759 Ph->values()[PIdx] = CurrE; in makePhiNodeVar()
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | GlobalISelCombinerEmitter.cpp | 1676 unsigned PIdx = PF.getParamIdx(ParamName); in emitPatFragMatchPattern() local 1679 if (PIdx == (unsigned)-1) { in emitPatFragMatchPattern() 1689 auto ArgOp = PFP.getOperand(PIdx); in emitPatFragMatchPattern() 1695 PrintWarning("impossible type constraints: operand " + Twine(PIdx) + in emitPatFragMatchPattern() 1700 PrintNote("operand " + Twine(PIdx) + " of '" + PFP.getName() + in emitPatFragMatchPattern() 1703 PrintNote("argument " + Twine(PIdx) + " of '" + PFName + "' is '" + in emitPatFragMatchPattern()
|
H A D | DecoderEmitter.cpp | 1366 unsigned PIdx = getPredicateIndex(TableInfo, PS.str()); in emitPredicateTableEntry() local 1369 encodeULEB128(PIdx, S); in emitPredicateTableEntry()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | R600InstrInfo.cpp | 945 int PIdx = MI.findFirstPredOperandIdx(); in PredicateInstruction() local 966 if (PIdx != -1) { in PredicateInstruction() 967 MachineOperand &PMO = MI.getOperand(PIdx); in PredicateInstruction()
|