Home
last modified time | relevance | path

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

/external/llvm/include/llvm/CodeGen/
DTargetSchedule.h106 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()
DMachineScheduler.h721 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/lib/Target/ARM/
DARMBaseInstrInfo.h73 int PIdx = MI->findFirstPredOperandIdx(); in isPredicated() local
74 return PIdx != -1 && MI->getOperand(PIdx).getImm() != ARMCC::AL; in isPredicated()
78 int PIdx = MI->findFirstPredOperandIdx(); in getPredicate() local
79 return PIdx != -1 ? (ARMCC::CondCodes)MI->getOperand(PIdx).getImm() in getPredicate()
DARMBaseRegisterInfo.cpp873 int PIdx = Old->findFirstPredOperandIdx(); in eliminateCallFramePseudoInstr() local
874 ARMCC::CondCodes Pred = (PIdx == -1) in eliminateCallFramePseudoInstr()
875 ? ARMCC::AL : (ARMCC::CondCodes)Old->getOperand(PIdx).getImm(); in eliminateCallFramePseudoInstr()
1201 int PIdx = MI.findFirstPredOperandIdx(); in eliminateFrameIndex() local
1202 ARMCC::CondCodes Pred = (PIdx == -1) in eliminateFrameIndex()
1203 ? ARMCC::AL : (ARMCC::CondCodes)MI.getOperand(PIdx).getImm(); in eliminateFrameIndex()
1204 unsigned PredReg = (PIdx == -1) ? 0 : MI.getOperand(PIdx+1).getReg(); in eliminateFrameIndex()
DThumb1RegisterInfo.cpp649 int PIdx = MI.findFirstPredOperandIdx(); in eliminateFrameIndex() local
650 if (PIdx != -1) in eliminateFrameIndex()
651 removeOperands(MI, PIdx); in eliminateFrameIndex()
DARMBaseInstrInfo.cpp454 int PIdx = MI->findFirstPredOperandIdx(); in PredicateInstruction() local
455 if (PIdx != -1) { in PredicateInstruction()
456 MachineOperand &PMO = MI->getOperand(PIdx); in PredicateInstruction()
458 MI->getOperand(PIdx+1).setReg(Pred[1].getReg()); in PredicateInstruction()
1434 int PIdx = MI->findFirstPredOperandIdx(); in getInstrPredicate() local
1435 if (PIdx == -1) { in getInstrPredicate()
1440 PredReg = MI->getOperand(PIdx+1).getReg(); in getInstrPredicate()
1441 return (ARMCC::CondCodes)MI->getOperand(PIdx).getImm(); in getInstrPredicate()
/external/llvm/lib/CodeGen/
DMachineScheduler.cpp1799 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 …]
DInlineSpiller.cpp1119 SlotIndex PIdx = LIS.getInstructionIndex(*PrevSpill); in rmRedundantSpills() local
1121 MachineInstr *SpillToRm = (CIdx > PIdx) ? CurrentSpill : PrevSpill; in rmRedundantSpills()
1122 MachineInstr *SpillToKeep = (CIdx > PIdx) ? PrevSpill : CurrentSpill; in rmRedundantSpills()
/external/llvm/utils/TableGen/
DCodeGenSchedule.cpp870 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 …]
DCodeGenSchedule.h437 void addWriteRes(Record *ProcWriteResDef, unsigned PIdx);
439 void addReadAdvance(Record *ProcReadAdvanceDef, unsigned PIdx);
DFixedLenDecoderEmitter.cpp1207 unsigned PIdx = getPredicateIndex(TableInfo, PS.str()); in emitPredicateTableEntry() local
1210 encodeULEB128(PIdx, S); in emitPredicateTableEntry()
/external/llvm/lib/Target/ARM/
DARMBaseRegisterInfo.cpp761 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()
DARMBaseInstrInfo.h139 int PIdx = MI.findFirstPredOperandIdx(); in getPredicate() local
140 return PIdx != -1 ? (ARMCC::CondCodes)MI.getOperand(PIdx).getImm() in getPredicate()
DThumbRegisterInfo.cpp564 int PIdx = MI.findFirstPredOperandIdx(); in eliminateFrameIndex() local
565 if (PIdx != -1) in eliminateFrameIndex()
566 removeOperands(MI, PIdx); in eliminateFrameIndex()
DARMBaseInstrInfo.cpp462 int PIdx = I->findFirstPredOperandIdx(); in isPredicated() local
463 if (PIdx != -1 && I->getOperand(PIdx).getImm() != ARMCC::AL) in isPredicated()
469 int PIdx = MI.findFirstPredOperandIdx(); in isPredicated() local
470 return PIdx != -1 && MI.getOperand(PIdx).getImm() != ARMCC::AL; in isPredicated()
484 int PIdx = MI.findFirstPredOperandIdx(); in PredicateInstruction() local
485 if (PIdx != -1) { in PredicateInstruction()
486 MachineOperand &PMO = MI.getOperand(PIdx); in PredicateInstruction()
488 MI.getOperand(PIdx+1).setReg(Pred[1].getReg()); in PredicateInstruction()
1778 int PIdx = MI.findFirstPredOperandIdx(); in getInstrPredicate() local
1779 if (PIdx == -1) { in getInstrPredicate()
[all …]
DARMFrameLowering.cpp1766 int PIdx = Old.findFirstPredOperandIdx(); in eliminateCallFramePseudoInstr() local
1768 (PIdx == -1) ? ARMCC::AL in eliminateCallFramePseudoInstr()
1769 : (ARMCC::CondCodes)Old.getOperand(PIdx).getImm(); in eliminateCallFramePseudoInstr()
/external/clang/lib/Analysis/
DThreadSafetyCommon.cpp688 for (unsigned PIdx = 0; PIdx < ArgIndex; ++PIdx) in makePhiNodeVar() local
689 Ph->values()[PIdx] = CurrE; in makePhiNodeVar()
/external/capstone/arch/XCore/
DXCoreGenDisassemblerTables.inc776 unsigned Start, Len, NumToSkip, PIdx, Opc, DecodeIdx; \
812 PIdx = (uint32_t)decodeULEB128(++Ptr, &Len); \
816 Pred = checkDecoderPredicate(PIdx, Bits); \
/external/llvm/lib/Target/AMDGPU/
DR600InstrInfo.cpp992 int PIdx = MI.findFirstPredOperandIdx(); in PredicateInstruction() local
1013 if (PIdx != -1) { in PredicateInstruction()
1014 MachineOperand &PMO = MI.getOperand(PIdx); in PredicateInstruction()
/external/capstone/arch/Sparc/
DSparcGenDisassemblerTables.inc1955 unsigned Start, Len, NumToSkip, PIdx, Opc, DecodeIdx; \
1991 PIdx = (uint32_t)decodeULEB128(++Ptr, &Len); \
1995 Pred = checkDecoderPredicate(PIdx, Bits); \
/external/capstone/arch/PowerPC/
DPPCGenDisassemblerTables.inc3204 unsigned Start, Len, NumToSkip, PIdx, Opc, DecodeIdx; \
3240 PIdx = (uint32_t)decodeULEB128(++Ptr, &Len); \
3244 Pred = checkDecoderPredicate(PIdx, Bits); \
/external/capstone/arch/SystemZ/
DSystemZGenDisassemblerTables.inc2946 unsigned Start, Len, NumToSkip, PIdx, Opc, DecodeIdx; \
2982 PIdx = (uint32_t)decodeULEB128(++Ptr, &Len); \
2986 Pred = checkDecoderPredicate(PIdx, Bits); \
/external/capstone/arch/Mips/
DMipsGenDisassemblerTables.inc6516 unsigned Start, Len, NumToSkip, PIdx, Opc, DecodeIdx; \
6552 PIdx = (uint32_t)decodeULEB128(++Ptr, &Len); \
6556 Pred = checkDecoderPredicate(PIdx, Bits); \
/external/capstone/arch/ARM/
DARMGenDisassemblerTables.inc13462 unsigned Start, Len, NumToSkip, PIdx, Opc, DecodeIdx; \
13498 PIdx = (uint32_t)decodeULEB128(++Ptr, &Len); \
13502 Pred = checkDecoderPredicate(PIdx, Bits); \
/external/capstone/arch/AArch64/
DAArch64GenDisassemblerTables.inc12677 unsigned Start, Len, NumToSkip, PIdx, Opc, DecodeIdx; \
12713 PIdx = (uint32_t)decodeULEB128(++Ptr, &Len); \
12717 Pred = checkDecoderPredicate(PIdx, Bits); \