|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
include/llvm/IR/Instruction.h 630 Instruction *clone() const;
References
lib/CodeGen/CodeGenPrepare.cpp 6194 Instruction *NI = UI->clone();
lib/IR/Core.cpp 2761 return wrap(C->clone());
lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp 572 Instruction *const NewI = I.clone();
lib/Target/ARM/MVETailPredication.cpp 409 Instruction *PredClone = NewPred->clone();
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp 328 M.insert({U, U->clone()});
lib/Target/Hexagon/HexagonVectorLoopCarriedReuse.cpp 613 Instruction *InstInPreheader = Inst2Replace->clone();
lib/Target/X86/X86WinEHState.cpp 445 GEP = cast<GetElementPtrInst>(GEP->clone());
lib/Transforms/Coroutines/CoroFrame.cpp 848 auto *NewLP = OriginalPad->clone();
972 CurrentMaterialization = cast<Instruction>(CurrentDef)->clone();
lib/Transforms/Coroutines/CoroSplit.cpp 914 ReplaceInstWithInst(InitialInst, I->clone());
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp 912 Instruction *NewGEPI = GEPI->clone();
lib/Transforms/InstCombine/InstCombineSelect.cpp 876 IntrinsicInst *NewI = cast<IntrinsicInst>(II->clone());
lib/Transforms/InstCombine/InstructionCombining.cpp 1761 auto *NewGEP = cast<GetElementPtrInst>(Op1->clone());
3184 cast<DbgVariableIntrinsic>(DII->clone())};
lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp 375 Instruction *NewInst = MI->clone();
lib/Transforms/Scalar/CallSiteSplitting.cpp 225 Instruction *Copy = I->clone();
lib/Transforms/Scalar/ConstantHoisting.cpp 778 ClonedCastInst = CastInst->clone();
lib/Transforms/Scalar/GVN.cpp 2366 PREInstr = CurInst->clone();
lib/Transforms/Scalar/GVNHoist.cpp 854 Instruction *ClonedGep = Gep->clone();
lib/Transforms/Scalar/JumpThreading.cpp 2010 Instruction *New = BI->clone();
2326 Instruction *New = BI->clone();
lib/Transforms/Scalar/LICM.cpp 1389 New = I.clone();
lib/Transforms/Scalar/LoopInterchange.cpp 1257 Instruction *NewI = WorkList[i]->clone();
1412 PHINode *NewPhi = dyn_cast<PHINode>(P.clone());
lib/Transforms/Scalar/LoopSink.cpp 229 Instruction *IC = I.clone();
lib/Transforms/Scalar/LoopStrengthReduce.cpp 2481 Cond = cast<ICmpInst>(Cond->clone());
lib/Transforms/Scalar/MergeICmps.cpp 620 Value *const Lhs = Builder.Insert(FirstCmp.Lhs().GEP->clone());
621 Value *const Rhs = Builder.Insert(FirstCmp.Rhs().GEP->clone());
lib/Transforms/Scalar/MergedLoadStoreMotion.cpp 257 StoreInst *SNew = cast<StoreInst>(S0->clone());
258 Instruction *ANew = A0->clone();
lib/Transforms/Scalar/NewGVN.cpp 2760 Instruction *ValueOp = I->clone();
lib/Transforms/Scalar/PartiallyInlineLibCalls.cpp 65 Instruction *LibCall = Call->clone();
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp 2102 Instruction *ClonedValue = Instr->clone();
lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp 624 Instruction *Ext = (*I)->clone();
1060 Instruction *NewGEP = GEP->clone();
lib/Transforms/Scalar/SimpleLoopUnswitch.cpp 464 ParentBB->getInstList().push_back(BI.clone());
2044 Instruction *NewTI = TI.clone();
lib/Transforms/Scalar/SpeculateAroundPHIs.cpp 658 auto *NewI = OrigI->clone();
lib/Transforms/Utils/BasicBlockUtils.cpp 738 Instruction *Clone1 = LPad->clone();
743 Instruction *Clone2 = LPad->clone();
772 Instruction *NewRet = RI->clone();
785 NewBC = BCI->clone();
lib/Transforms/Utils/CallPromotionUtils.cpp 284 Instruction *NewInst = OrigInst->clone();
lib/Transforms/Utils/CloneFunction.cpp 57 Instruction *NewInst = I.clone();
336 Instruction *NewInst = II->clone();
420 Instruction *NewInst = OldTI->clone();
863 Instruction *New = BI->clone();
lib/Transforms/Utils/Local.cpp 1479 Instruction *NewDbgII = DbgII->clone();
lib/Transforms/Utils/LoopRotationUtils.cpp 341 Instruction *C = Inst->clone();
lib/Transforms/Utils/SimplifyCFG.cpp 1376 Instruction *NT = I1->clone();
2242 Instruction *N = BBI->clone();
2734 Instruction *NewBonusInst = BonusInst->clone();
2753 Instruction *CondInPred = Cond->clone();
2870 I.clone()->insertBefore(PBI);
lib/Transforms/Utils/SimplifyLibCalls.cpp 2392 CallInst *New = cast<CallInst>(CI->clone());
2405 CallInst *New = cast<CallInst>(CI->clone());
2487 CallInst *New = cast<CallInst>(CI->clone());
2500 CallInst *New = cast<CallInst>(CI->clone());
2660 CallInst *New = cast<CallInst>(CI->clone());
2673 CallInst *New = cast<CallInst>(CI->clone());
lib/Transforms/Vectorize/LoopVectorize.cpp 2494 Instruction *Cloned = Instr->clone();
4088 auto *Clone = Builder.Insert(GEP->clone());
tools/clang/lib/CodeGen/CGException.cpp 1739 RecoverCall = cast<llvm::CallInst>(ParentRecover->clone());
tools/polly/lib/CodeGen/BlockGenerators.cpp 222 Instruction *NewInst = Inst->clone();
tools/polly/lib/Support/ScopHelper.cpp 276 auto *InstClone = Inst->clone();
unittests/Analysis/MemorySSATest.cpp 280 LoadInst *LoadInstClone = cast<LoadInst>(LoadInst1->clone());
unittests/IR/InstructionsTest.cpp 522 std::unique_ptr<CallInst> Clone(cast<CallInst>(Call->clone()));
533 std::unique_ptr<CallInst> Clone(cast<CallInst>(Call->clone()));
unittests/Transforms/Utils/CloningTest.cpp 39 Value *V2 = V1->clone();