Home
last modified time | relevance | path

Searched refs:InstrPtr (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineCombiner.cpp212 for (auto *InstrPtr : InsInstrs) { // for each Use in getDepth() local
214 for (const MachineOperand &MO : InstrPtr->all_uses()) { in getDepth()
232 InstrPtr->findRegisterUseOperandIdx(MO.getReg(), /*TRI=*/nullptr); in getDepth()
234 InstrPtr, UseIdx); in getDepth()
246 InstrPtr, in getDepth()
247 InstrPtr->findRegisterUseOperandIdx(MO.getReg(), in getDepth()
416 for (auto *InstrPtr : Instrs) { in instr2instrSC() local
417 unsigned Opc = InstrPtr->getOpcode(); in instr2instrSC()
497 for (auto *InstrPtr : InsInstrs) in insertDeleteInstructions() local
498 MBB->insert((MachineBasicBlock::iterator)&MI, InstrPtr); in insertDeleteInstructions()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVModuleAnalysis.cpp1378 const MachineInstr *InstrPtr = &MI; in addInstrRequirements() local
1381 InstrPtr = MRI.getVRegDef(MI.getOperand(3).getReg()); in addInstrRequirements()
1382 assert(InstrPtr && "Unexpected type instruction for OpAtomicStore"); in addInstrRequirements()
1384 assert(InstrPtr->getOperand(1).isReg() && "Unexpected operand in atomic"); in addInstrRequirements()
1385 Register TypeReg = InstrPtr->getOperand(1).getReg(); in addInstrRequirements()