/freebsd-current/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | X86CompressEVEXTablesEmitter.cpp | 117 bool operator()(const CodeGenInstruction *NewInst) { argument 118 RecognizableInstrBase NewRI(*NewInst); 132 Record *NewOpRec = NewInst->Operands[I].Rec; 195 const CodeGenInstruction *NewInst = nullptr; local 199 NewInst = &Target.getInstruction(NewRec); 202 NewInst = &Target.getInstruction(NewRec); 207 NewInst = &TempInst; 215 NewInst = *Match; 218 if (!NewInst) 221 Table.push_back(std::make_pair(Inst, NewInst)); [all...] |
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | CallPromotionUtils.cpp | 102 /// For example, if \p OrigInst is defined in "else_bb" and \p NewInst is 108 static void createRetPHINode(Instruction *OrigInst, Instruction *NewInst, argument 120 Phi->addIncoming(NewInst, NewInst->getParent()); 303 CallBase *NewInst = cast<CallBase>(OrigInst->clone()); local 304 NewInst->insertBefore(ThenTerm); 307 Value *NewRetVal = NewInst; 313 NewBitCast->replaceUsesOfWith(OrigInst, NewInst); 331 return *NewInst; 348 CallBase *NewInst local 556 CallBase &NewInst = versionCallSite(CB, Callee, BranchWeights); local [all...] |
H A D | CloneFunction.cpp | 59 Instruction *NewInst = I.clone(); local 61 NewInst->setName(I.getName() + NameSuffix); 63 NewInst->insertBefore(*NewBB, NewBB->end()); 64 NewInst->cloneDebugInfoFrom(&I); 66 VMap[&I] = NewInst; // Add instruction map to value. 402 Instruction *NewInst = nullptr; local 462 NewInst = CallInst::Create(IFn, Args, OldInst.getName() + ".strict"); 465 if (!NewInst) 466 NewInst = II->clone(); 467 return NewInst; 526 Instruction *NewInst = cloneInstruction(II); local 625 Instruction *NewInst = OldTI->clone(); local 646 Instruction *NewInst = NewBB->getTerminator(); local [all...] |
H A D | LibCallsShrinkWrap.cpp | 472 Instruction *NewInst = local 474 BasicBlock *CallBB = NewInst->getParent();
|
H A D | SCCPSolver.cpp | 171 Instruction *NewInst = nullptr; local 180 NewInst = new ZExtInst(Op0, Inst.getType(), "", &Inst); 181 NewInst->setNonNeg(); 189 NewInst = BinaryOperator::CreateLShr(Op0, Inst.getOperand(1), "", &Inst); 190 NewInst->setIsExact(Inst.isExact()); 202 NewInst = BinaryOperator::Create(NewOpcode, Op0, Op1, "", &Inst); 204 NewInst->setIsExact(Inst.isExact()); 212 assert(NewInst && "Expected replacement instruction"); 213 NewInst->takeName(&Inst); 214 InsertedValues.insert(NewInst); [all...] |
H A D | InlineFunction.cpp | 975 Instruction *NewInst = CallBase::Create(I, OpBundles, I); local 976 NewInst->takeName(I); 977 I->replaceAllUsesWith(NewInst);
|
/freebsd-current/contrib/llvm-project/llvm/lib/Target/XCore/ |
H A D | XCoreLowerThreadLocal.cpp | 92 Instruction *NewInst = CE->getAsInstruction(InsertPos); local 93 PN->setOperand(I, NewInst); 96 Instruction *NewInst = CE->getAsInstruction(Instr); local 97 Instr->replaceUsesOfWith(CE, NewInst);
|
/freebsd-current/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86LowerAMXType.cpp | 250 Value *NewInst = Builder.CreateIntrinsic(Intrinsic::x86_tileloadd64_internal, local 252 Bitcast->replaceAllUsesWith(NewInst); 326 Value *NewInst = Builder.CreateIntrinsic( local 328 Bitcast->replaceAllUsesWith(NewInst); 346 Value *NewInst = Builder.CreateLoad(Bitcast->getType(), AllocaAddr); local 347 Bitcast->replaceAllUsesWith(NewInst); 795 Instruction *NewInst = Builder.CreateIntrinsic( local 797 NewInst->moveBefore(&*Iter); 798 NewInst = Builder.CreateIntrinsic(Intrinsic::x86_cast_tile_to_vector, 799 {IncValue->getType()}, {NewInst}); 984 Value *NewInst = Builder.CreateIntrinsic(Intrinsic::x86_tileloadd64_internal, local 1172 Value *NewInst = Builder.CreateIntrinsic( local 1194 Value *NewInst = Builder.CreateLoad(AMXCast->getType(), AllocaAddr); local [all...] |
/freebsd-current/contrib/llvm-project/llvm/lib/Target/BPF/ |
H A D | BPFAdjustOpt.cpp | 131 auto *NewInst = CallInst::Create(Fn, {Opcode, Op0, ConstOp1}); local 132 NewInst->insertBefore(&I); 133 Icmp->replaceAllUsesWith(NewInst);
|
H A D | BPFAbstractMemberAccess.cpp | 111 auto *NewInst = CallInst::Create(Fn, {SeqNumVal, Input}); local 112 NewInst->insertBefore(Before); 113 return NewInst;
|
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | IndirectCallPromotion.cpp | 256 CallBase &NewInst = local 260 setBranchWeights(NewInst, {static_cast<uint32_t>(Count)}); 272 return NewInst;
|
/freebsd-current/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXLowerArgs.cpp | 208 Value *NewInst = CloneInstInParamAS(I); local 210 if (NewInst && NewInst != I.OldInstruction) { 215 ItemsToConvert.push_back({cast<Instruction>(V), NewInst});
|
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LoopDistribute.cpp | 216 Instruction *NewInst = &Inst; local 218 NewInst = cast<Instruction>(VMap[NewInst]); 220 assert(!isa<BranchInst>(NewInst) && 222 Unused.push_back(NewInst);
|
H A D | LowerMatrixIntrinsics.cpp | 803 auto NewInst = distributeTransposes( local 810 updateShapeAndReplaceAllUsesWith(I, NewInst); 813 return NewInst; 825 auto NewInst = distributeTransposes( local 835 updateShapeAndReplaceAllUsesWith(I, NewInst); 838 return NewInst; 845 auto NewInst = distributeTransposes( local 856 updateShapeAndReplaceAllUsesWith(I, NewInst); 859 return NewInst; 889 Instruction *NewInst local 904 Instruction *NewInst = MBuilder.CreateMatrixTranspose( local [all...] |
H A D | SimpleLoopUnswitch.cpp | 297 Instruction *NewInst = Inst->clone(); local 298 NewInst->insertInto(&BB, BB.end()); 299 RemapInstruction(NewInst, VMap, 301 VMap[Val] = NewInst; 320 MSSAU->createMemoryAccessInBB(NewInst, DefiningAccess, 321 NewInst->getParent(),
|
H A D | Reassociate.cpp | 2192 Value *NewInst = IsFSub ? Builder.CreateFAddFMF(OtherOp, Op, I) 2194 I->replaceAllUsesWith(NewInst); 2196 return dyn_cast<Instruction>(NewInst);
|
/freebsd-current/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonCommonGEP.cpp | 1086 GetElementPtrInst *NewInst = nullptr; local 1112 NewInst = GetElementPtrInst::Create(InpTy, Input, IdxList, "cgep", &*At); 1113 NewInst->setIsInBounds(RN->Flags & GepNode::InBounds); 1114 LLVM_DEBUG(dbgs() << "new GEP: " << *NewInst << '\n'); 1116 Input = NewInst; 1121 return NewInst; 1201 Value *NewInst = fabricateGEP(NA, InsertAt, LastB); local 1210 CN->BaseVal = NewInst; 1222 U->set(NewInst);
|
/freebsd-current/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-current/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | ExpandVectorPredication.cpp | 102 auto *NewInst = dyn_cast<Instruction>(&NewVal); local 103 if (!NewInst || !isa<FPMathOperator>(NewVal)) 110 NewInst->setFastMathFlags(OldFMOp->getFastMathFlags());
|
/freebsd-current/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | VectorUtils.cpp | 1474 void InterleaveGroup<InstT>::addMetadata(InstT *NewInst) const { 1480 void InterleaveGroup<Instruction>::addMetadata(Instruction *NewInst) const { 1484 propagateMetadata(NewInst, VL);
|
/freebsd-current/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGCUDANV.cpp | 494 auto *NewInst = CE->getAsInstruction(I); local 495 NewInst->replaceUsesOfWith(OldV, NewV); 497 NewV = NewInst;
|
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | VectorUtils.h | 534 /// NewInst. 539 void addMetadata(InstTy *NewInst) const;
|
/freebsd-current/contrib/llvm-project/llvm/lib/Target/Hexagon/AsmParser/ |
H A D | HexagonAsmParser.cpp | 535 MCInst NewInst; local 536 NewInst.setOpcode(MCI.getOpcode()); 540 NewInst.addOperand(MCOperand::createExpr(HexagonMCExpr::create( 546 NewInst.addOperand(I); 548 MCI = NewInst;
|
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | WholeProgramDevirt.cpp | 1209 // given callee, 'NewInst' will be executed, otherwise the original call 1211 CallBase &NewInst = versionCallSite(CB, Callee, Weights); 1212 NewInst.setCalledOperand(Callee); 1216 NewInst.setMetadata(LLVMContext::MD_prof, nullptr); 1217 NewInst.setMetadata(LLVMContext::MD_callees, nullptr);
|
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | VectorCombine.cpp | 1402 if (auto *NewInst = dyn_cast<Instruction>(NewBO)) { 1403 NewInst->copyIRFlags(B0); 1404 NewInst->andIRFlags(B1);
|