Home
last modified time | relevance | path

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

/src/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineNegator.cpp189 if (auto *NewInstr = dyn_cast<Instruction>(BO)) { in visitImpl() local
190 NewInstr->copyIRFlags(I); in visitImpl()
191 NewInstr->setName(I->getName() + ".neg"); in visitImpl()
287 if (auto *NewInstr = dyn_cast<Instruction>(BO)) in visitImpl() local
288 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()
/src/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIInstrInfo.cpp7235 MachineInstr *NewInstr = BuildMI(*MBB, &Inst, DL, get(Opc), DestReg) in moveToVALUImpl() local
7241 legalizeOperands(*NewInstr, MDT); in moveToVALUImpl()
7243 addUsersToMoveToVALUWorklist(NewInstr->getOperand(0).getReg(), MRI, in moveToVALUImpl()
7297 auto NewInstr = in moveToVALUImpl() local
7302 NewInstr in moveToVALUImpl()
7309 NewInstr in moveToVALUImpl()
7313 legalizeOperands(*NewInstr, MDT); in moveToVALUImpl()
7344 MachineInstr *NewInstr = BuildMI(*MBB, Inst, DL, get(NewOpcode), NewDst) in moveToVALUImpl() local
7353 legalizeOperands(*NewInstr, MDT); in moveToVALUImpl()
7412 auto NewInstr = BuildMI(*MBB, Inst, Inst.getDebugLoc(), get(NewOpcode)) in moveToVALUImpl() local
[all …]
H A DR600MachineCFGStructurizer.cpp485 MachineInstr *NewInstr = MF->CreateMachineInstr(TII->get(NewOpcode), DL); in insertCondBranchBefore() local
487 blk->insert(I, NewInstr); in insertCondBranchBefore()
488 MachineInstrBuilder(*MF, NewInstr).addReg(RegNum, false); in insertCondBranchBefore()
489 SHOWNEWINSTR(NewInstr); in insertCondBranchBefore()
/src/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVGlobalRegistry.cpp170 bool NewInstr = false; in getOrCreateConstIntReg() local
186 NewInstr = true; in getOrCreateConstIntReg()
188 return std::make_tuple(Res, CI, NewInstr); in getOrCreateConstIntReg()
206 bool NewInstr = false; in getOrCreateConstFloatReg() local
223 NewInstr = true; in getOrCreateConstFloatReg()
225 return std::make_tuple(Res, CI, NewInstr, BitWidth); in getOrCreateConstFloatReg()
/src/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMFrameLowering.cpp324 MachineInstrBuilder NewInstr = in insertSEH() local
326 NewInstr.add(MBBI->getOperand(0)); in insertSEH()
327 NewInstr.add(t1CondCodeOp(/*isDead=*/true)); in insertSEH()
329 NewInstr.add(MO); in insertSEH()
330 MachineBasicBlock::iterator NewMBBI = MBB->insertAfter(MBBI, NewInstr); in insertSEH()
422 MachineInstrBuilder NewInstr = in insertSEH() local
425 NewInstr.add(MBBI->getOperand(i)); in insertSEH()
426 MachineBasicBlock::iterator NewMBBI = MBB->insertAfter(MBBI, NewInstr); in insertSEH()
/src/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCMIPeephole.cpp2013 MachineInstr *NewInstr = in combineSEXTAndSHL() local
2020 (void)NewInstr; in combineSEXTAndSHL()
2023 LLVM_DEBUG(NewInstr->dump()); in combineSEXTAndSHL()
2029 addRegToUpdate(NewInstr->getOperand(1).getReg()); in combineSEXTAndSHL()
/src/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ExpandPseudo.cpp442 MachineInstr *NewInstr = BuildMI(MBB, MBBI, DL, TII->get(X86::LCMPXCHG16B)); in expandMI() local
445 NewInstr->addOperand(MBBI->getOperand(Idx)); in expandMI()