/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | CallPromotionUtils.cpp | 101 /// For example, if \p OrigInst is defined in "else_bb" and \p NewInst is 107 static void createRetPHINode(Instruction *OrigInst, Instruction *NewInst, argument 121 Phi->addIncoming(NewInst, NewInst->getParent()); 306 CallBase *NewInst = cast<CallBase>(OrigInst->clone()); local 307 NewInst->insertBefore(ThenTerm); 310 Value *NewRetVal = NewInst; 316 NewBitCast->replaceUsesOfWith(OrigInst, NewInst); 334 return *NewInst; 351 CallBase *NewInst local 533 CallBase &NewInst = versionCallSite(CB, Callee, BranchWeights); local [all...] |
H A D | CloneFunction.cpp | 57 Instruction *NewInst = I.clone(); local 59 NewInst->setName(I.getName() + NameSuffix); 60 NewBB->getInstList().push_back(NewInst); 61 VMap[&I] = NewInst; // Add instruction map to value. 333 Instruction *NewInst = II->clone(); local 337 if (!isa<PHINode>(NewInst)) { 338 RemapInstruction(NewInst, VMap, 345 SimplifyInstruction(NewInst, BB->getModule()->getDataLayout())) { 352 if (!NewInst->mayHaveSideEffects()) { 354 NewInst 417 Instruction *NewInst = OldTI->clone(); local [all...] |
H A D | LibCallsShrinkWrap.cpp | 490 Instruction *NewInst = local 492 BasicBlock *CallBB = NewInst->getParent();
|
H A D | InlineFunction.cpp | 2163 Instruction *NewInst = CallBase::Create(I, OpBundles, I); local 2164 NewInst->takeName(I); 2165 I->replaceAllUsesWith(NewInst);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/XCore/ |
H A D | XCoreLowerThreadLocal.cpp | 143 Instruction *NewInst = createReplacementInstr(CE, InsertPos); local 144 PN->setOperand(I, NewInst); 147 Instruction *NewInst = createReplacementInstr(CE, Instr); local 148 Instr->replaceUsesOfWith(CE, NewInst);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | IndirectCallPromotion.cpp | 308 CallBase &NewInst = local 312 MDBuilder MDB(NewInst.getContext()); 313 NewInst.setMetadata( 327 return NewInst;
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonCommonGEP.cpp | 1089 GetElementPtrInst *NewInst = nullptr; local 1119 NewInst = GetElementPtrInst::Create(ElTy, Input, A, "cgep", &*At); 1120 NewInst->setIsInBounds(RN->Flags & GepNode::InBounds); 1121 LLVM_DEBUG(dbgs() << "new GEP: " << *NewInst << '\n'); 1122 Input = NewInst; 1126 return NewInst; 1206 Value *NewInst = fabricateGEP(NA, InsertAt, LastB); local 1216 CN->BaseVal = NewInst; 1229 U->set(NewInst);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LoopDistribute.cpp | 222 Instruction *NewInst = &Inst; local 224 NewInst = cast<Instruction>(VMap[NewInst]); 226 assert(!isa<BranchInst>(NewInst) && 228 Unused.push_back(NewInst);
|
H A D | LoopUnswitch.cpp | 378 const SwitchInst *NewInst = cast_or_null<SwitchInst>(NewI); local 379 assert(NewInst && "All instructions that are in SrcBB must be in VMap."); 381 NewLoopProps.UnswitchedVals[NewInst] = OldLoopProps.UnswitchedVals[OldInst];
|
H A D | Reassociate.cpp | 2045 Value *NewInst = IsFSub ? Builder.CreateFAddFMF(OtherOp, Op, I) 2047 I->replaceAllUsesWith(NewInst); 2049 return dyn_cast<Instruction>(NewInst);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | MipsInstructionSelector.cpp | 260 MachineInstr *NewInst = local 266 if (!constrainSelectedInstRegOperands(*NewInst, TII, TRI, RBI)) 274 MachineInstr *NewInst = local 281 if (!constrainSelectedInstRegOperands(*NewInst, TII, TRI, RBI))
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | TypePromotion.cpp | 467 if (auto *NewInst = dyn_cast<Instruction>(NewVal)) { 468 NewInst->copyIRFlags(I); 469 NewInsts.insert(NewInst);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | VectorUtils.cpp | 1258 void InterleaveGroup<InstT>::addMetadata(InstT *NewInst) const { 1264 void InterleaveGroup<Instruction>::addMetadata(Instruction *NewInst) const { 1268 propagateMetadata(NewInst, VL);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/AsmParser/ |
H A D | HexagonAsmParser.cpp | 538 MCInst NewInst; local 539 NewInst.setOpcode(MCI.getOpcode()); 543 NewInst.addOperand(MCOperand::createExpr(HexagonMCExpr::create( 549 NewInst.addOperand(I); 551 MCI = NewInst;
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | VectorUtils.h | 675 /// NewInst. 680 void addMetadata(InstTy *NewInst) const;
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AVR/ |
H A D | AVRExpandPseudoInsts.cpp | 831 MachineInstr &NewInst = local 833 f(NewInst);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineAddSub.cpp | 199 void createInstPostProc(Instruction *NewInst, bool NoNumber = false);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | LegalizerHelper.cpp | 2853 MachineInstr *NewInst = local 2856 NewInst->setFlags(MI.getFlags());
|