Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DMachineCombiner.cpp215 for (auto *InstrPtr : InsInstrs) { // for each Use in getDepth() local
217 for (const MachineOperand &MO : InstrPtr->operands()) { in getDepth()
235 int UseIdx = InstrPtr->findRegisterUseOperandIdx(MO.getReg()); in getDepth()
237 InstrPtr, UseIdx); in getDepth()
245 InstrPtr, InstrPtr->findRegisterUseOperandIdx(MO.getReg())); in getDepth()
428 for (auto *InstrPtr : Instrs) { in instr2instrSC() local
429 unsigned Opc = InstrPtr->getOpcode(); in instr2instrSC()
509 for (auto *InstrPtr : InsInstrs) in insertDeleteInstructions() local
510 MBB->insert((MachineBasicBlock::iterator)&MI, InstrPtr); in insertDeleteInstructions()
512 for (auto *InstrPtr : DelInstrs) { in insertDeleteInstructions() local
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/SPIRV/
H A DSPIRVModuleAnalysis.cpp798 const MachineInstr *InstrPtr = &MI; in addInstrRequirements() local
801 InstrPtr = MRI.getVRegDef(MI.getOperand(3).getReg()); in addInstrRequirements()
802 assert(InstrPtr && "Unexpected type instruction for OpAtomicStore"); in addInstrRequirements()
804 assert(InstrPtr->getOperand(1).isReg() && "Unexpected operand in atomic"); in addInstrRequirements()
805 Register TypeReg = InstrPtr->getOperand(1).getReg(); in addInstrRequirements()