Home
last modified time | relevance | path

Searched refs:NewInstr (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineNegator.cpp185 if (auto *NewInstr = dyn_cast<Instruction>(BO)) { in visitImpl() local
186 NewInstr->copyIRFlags(I); in visitImpl()
187 NewInstr->setName(I->getName() + ".neg"); in visitImpl()
283 if (auto *NewInstr = dyn_cast<Instruction>(BO)) in visitImpl() local
284 NewInstr->setIsExact(I->isExact()); in visitImpl()
H A DInstCombineAddSub.cpp678 void FAddCombine::createInstPostProc(Instruction *NewInstr, bool NoNumber) { in createInstPostProc() argument
679 NewInstr->setDebugLoc(Instr->getDebugLoc()); in createInstPostProc()
686 NewInstr->setFastMathFlags(Instr->getFastMathFlags()); in createInstPostProc()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVPreLegalizerCombiner.cpp88 MachineInstrBuilder NewInstr = in applySPIRVDistance() local
90 NewInstr in applySPIRVDistance()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIInstrInfo.cpp7600 MachineInstr *NewInstr = BuildMI(*MBB, &Inst, DL, get(Opc), DestReg) in moveToVALUImpl() local
7606 legalizeOperands(*NewInstr, MDT); in moveToVALUImpl()
7608 addUsersToMoveToVALUWorklist(NewInstr->getOperand(0).getReg(), MRI, in moveToVALUImpl()
7648 auto NewInstr = in moveToVALUImpl() local
7653 NewInstr in moveToVALUImpl()
7660 NewInstr.add(Inst.getOperand(0)).add(Inst.getOperand(1)); in moveToVALUImpl()
7662 legalizeOperands(*NewInstr, MDT); in moveToVALUImpl()
7684 auto NewInstr = in moveToVALUImpl() local
7688 NewInstr in moveToVALUImpl()
7695 NewInstr.addImm(0); // op_sel0 in moveToVALUImpl()
[all …]
H A DR600MachineCFGStructurizer.cpp476 MachineInstr *NewInstr = MF->CreateMachineInstr(TII->get(NewOpcode), DL); in insertCondBranchBefore() local
478 blk->insert(I, NewInstr); in insertCondBranchBefore()
479 MachineInstrBuilder(*MF, NewInstr).addReg(RegNum, false); in insertCondBranchBefore()
480 SHOWNEWINSTR(NewInstr); in insertCondBranchBefore()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ExpandPseudo.cpp444 MachineInstr *NewInstr = BuildMI(MBB, MBBI, DL, TII->get(X86::LCMPXCHG16B)); in expandMI() local
449 NewInstr->addOperand(MachineOperand::CreateReg( in expandMI()
455 NewInstr->addOperand(Base); in expandMI()
457 NewInstr->addOperand(MBBI->getOperand(Idx)); in expandMI()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMFrameLowering.cpp461 MachineInstrBuilder NewInstr = in insertSEH() local
463 NewInstr.add(MBBI->getOperand(0)); in insertSEH()
464 NewInstr.add(t1CondCodeOp(/*isDead=*/true)); in insertSEH()
466 NewInstr.add(MO); in insertSEH()
467 MachineBasicBlock::iterator NewMBBI = MBB->insertAfter(MBBI, NewInstr); in insertSEH()
559 MachineInstrBuilder NewInstr = in insertSEH() local
562 NewInstr.add(MBBI->getOperand(i)); in insertSEH()
563 MachineBasicBlock::iterator NewMBBI = MBB->insertAfter(MBBI, NewInstr); in insertSEH()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCMIPeephole.cpp2017 MachineInstr *NewInstr = in combineSEXTAndSHL() local
2024 (void)NewInstr; in combineSEXTAndSHL()
2027 LLVM_DEBUG(NewInstr->dump()); in combineSEXTAndSHL()
2033 addRegToUpdate(NewInstr->getOperand(1).getReg()); in combineSEXTAndSHL()