Searched refs:OldInst (Results 1 – 7 of 7) sorted by relevance
/openbsd/gnu/llvm/llvm/lib/Target/XCore/ |
H A D | XCoreFrameToArgsOffsetElim.cpp | 55 MachineInstr &OldInst = *MBBI; in runOnMachineFunction() local 56 Register Reg = OldInst.getOperand(0).getReg(); in runOnMachineFunction() 58 OldInst.eraseFromParent(); in runOnMachineFunction()
|
/openbsd/gnu/llvm/llvm/lib/Transforms/Utils/ |
H A D | CloneFunction.cpp | 391 const Instruction &OldInst = *II; in cloneInstruction() local 394 Intrinsic::ID CIID = getConstrainedIntrinsicID(OldInst); in cloneInstruction() 412 TParams.push_back(OldInst.getType()); in cloneInstruction() 414 TParams.push_back(OldInst.getOperand(I - 1)->getType()); in cloneInstruction() 430 unsigned NumOperands = OldInst.getNumOperands(); in cloneInstruction() 431 if (isa<CallInst>(OldInst)) in cloneInstruction() 434 Value *Op = OldInst.getOperand(I); in cloneInstruction() 437 if (const auto *CmpI = dyn_cast<FCmpInst>(&OldInst)) { in cloneInstruction() 452 NewInst = CallInst::Create(IFn, Args, OldInst.getName() + ".strict"); in cloneInstruction()
|
/openbsd/gnu/llvm/llvm/lib/Target/ARM/ |
H A D | ARMInstructionSelector.cpp | 814 MachineInstrBuilder &NewInstBuilder, const MachineInstr &OldInst, in renderVFPF32Imm() argument 816 assert(OldInst.getOpcode() == TargetOpcode::G_FCONSTANT && in renderVFPF32Imm() 819 APFloat FPImmValue = OldInst.getOperand(1).getFPImm()->getValueAPF(); in renderVFPF32Imm() 827 MachineInstrBuilder &NewInstBuilder, const MachineInstr &OldInst, int OpIdx) const { in renderVFPF64Imm() argument 828 assert(OldInst.getOpcode() == TargetOpcode::G_FCONSTANT && in renderVFPF64Imm() 831 APFloat FPImmValue = OldInst.getOperand(1).getFPImm()->getValueAPF(); in renderVFPF64Imm()
|
/openbsd/gnu/llvm/llvm/lib/CodeGen/ |
H A D | BranchFolding.h | 140 void replaceTailWithBranchTo(MachineBasicBlock::iterator OldInst,
|
H A D | BranchFolding.cpp | 358 void BranchFolder::replaceTailWithBranchTo(MachineBasicBlock::iterator OldInst, in replaceTailWithBranchTo() argument 362 MachineBasicBlock &OldMBB = *OldInst->getParent(); in replaceTailWithBranchTo() 370 } while (I != OldInst); in replaceTailWithBranchTo() 384 BuildMI(OldMBB, OldInst, DL, TII->get(TargetOpcode::IMPLICIT_DEF), Reg); in replaceTailWithBranchTo() 388 TII->ReplaceTailWithBranchTo(OldInst, &NewDest); in replaceTailWithBranchTo()
|
/openbsd/gnu/llvm/llvm/lib/Target/AVR/ |
H A D | AVRInstrInfo.cpp | 347 MachineBasicBlock::iterator OldInst = I; in analyzeBranch() local 354 OldInst->eraseFromParent(); in analyzeBranch()
|
/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/ |
H A D | SROA.cpp | 137 uint64_t SliceSizeInBits, Instruction *OldInst, in migrateDebugInfo() argument 140 auto MarkerRange = at::getAssignmentMarkers(OldInst); in migrateDebugInfo() 149 LLVM_DEBUG(dbgs() << " OldInst: " << *OldInst << "\n"); in migrateDebugInfo() 160 DIBuilder DIB(*OldInst->getModule(), /*AllowUnresolved*/ false); in migrateDebugInfo() 4731 auto *OldInst = dyn_cast<Instruction>(U->get()); in rewritePartition() local 4733 if (OldInst) in rewritePartition() 4734 if (isInstructionTriviallyDead(OldInst)) in rewritePartition() 4735 DeadInsts.push_back(OldInst); in rewritePartition()
|