/dports/devel/intel-graphics-compiler/intel-graphics-compiler-igc-1.0.9636/IGC/VectorCompiler/include/vc/Utils/General/ |
H A D | InstRebuilder.h | 231 auto *Replace = createNonPhiInst(OrigInst); in rebuildNonPhiInst() 232 Replacement[OrigInst.User] = Replace; in rebuildNonPhiInst() 233 ToErase.push_back(OrigInst.User); in rebuildNonPhiInst() 239 if (IsSpecialInst(OrigInst)) in createNonPhiInst() 240 return CreateSpecialInst(OrigInst); in createNonPhiInst() 242 vc::cloneInstWithNewOps(*OrigInst.User, createNewOperands(OrigInst)); in createNonPhiInst() 244 return coverNonCloneCase(*OrigInst.User, createNewOperands(OrigInst)); in createNonPhiInst() 245 Replace->takeName(OrigInst.User); in createNonPhiInst() 246 Replace->insertBefore(OrigInst.User); in createNonPhiInst() 257 return {OrigInst.value_op_begin(), OrigInst.value_op_end()}; in getOrigOperands() [all …]
|
/dports/devel/llvm70/llvm-7.0.1.src/lib/Transforms/Utils/ |
H A D | CallPromotionUtils.cpp | 108 if (OrigInst->getType()->isVoidTy() || OrigInst->use_empty()) in createRetPHINode() 112 PHINode *Phi = Builder.CreatePHI(OrigInst->getType(), 0); in createRetPHINode() 114 for (User *U : OrigInst->users()) in createRetPHINode() 117 U->replaceUsesOfWith(OrigInst, Phi); in createRetPHINode() 118 Phi->addIncoming(OrigInst, OrigInst->getParent()); in createRetPHINode() 261 Instruction *OrigInst = CS.getInstruction(); in versionCallSite() local 262 BasicBlock *OrigBlock = OrigInst->getParent(); in versionCallSite() 279 BasicBlock *MergeBlock = OrigInst->getParent(); in versionCallSite() 285 Instruction *NewInst = OrigInst->clone(); in versionCallSite() 286 OrigInst->moveBefore(ElseTerm); in versionCallSite() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/llvm/lib/Transforms/Utils/ |
H A D | CallPromotionUtils.cpp | 110 if (OrigInst->getType()->isVoidTy() || OrigInst->use_empty()) in createRetPHINode() 116 for (User *U : OrigInst->users()) in createRetPHINode() 119 U->replaceUsesOfWith(OrigInst, Phi); in createRetPHINode() 120 Phi->addIncoming(OrigInst, OrigInst->getParent()); in createRetPHINode() 290 CallBase *OrigInst = &CB; in versionCallSite() local 291 BasicBlock *OrigBlock = OrigInst->getParent(); in versionCallSite() 299 if (OrigInst->isMustTailCall()) { in versionCallSite() 311 auto Next = OrigInst->getNextNode(); in versionCallSite() 313 assert(BitCast->getOperand(0) == OrigInst && in versionCallSite() 345 BasicBlock *MergeBlock = OrigInst->getParent(); in versionCallSite() [all …]
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/llvm/lib/Transforms/Utils/ |
H A D | CallPromotionUtils.cpp | 110 if (OrigInst->getType()->isVoidTy() || OrigInst->use_empty()) in createRetPHINode() 117 U->replaceUsesOfWith(OrigInst, Phi); in createRetPHINode() 118 Phi->addIncoming(OrigInst, OrigInst->getParent()); in createRetPHINode() 286 CallBase *OrigInst = &CB; in versionCallSite() local 287 BasicBlock *OrigBlock = OrigInst->getParent(); in versionCallSite() 295 if (OrigInst->isMustTailCall()) { in versionCallSite() 307 auto Next = OrigInst->getNextNode(); in versionCallSite() 309 assert(BitCast->getOperand(0) == OrigInst && in versionCallSite() 312 NewBitCast->replaceUsesOfWith(OrigInst, NewInst); in versionCallSite() 341 BasicBlock *MergeBlock = OrigInst->getParent(); in versionCallSite() [all …]
|
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/llvm/lib/Transforms/Utils/ |
H A D | CallPromotionUtils.cpp | 110 if (OrigInst->getType()->isVoidTy() || OrigInst->use_empty()) in createRetPHINode() 116 for (User *U : OrigInst->users()) in createRetPHINode() 119 U->replaceUsesOfWith(OrigInst, Phi); in createRetPHINode() 120 Phi->addIncoming(OrigInst, OrigInst->getParent()); in createRetPHINode() 290 CallBase *OrigInst = &CB; in versionCallSite() local 291 BasicBlock *OrigBlock = OrigInst->getParent(); in versionCallSite() 299 if (OrigInst->isMustTailCall()) { in versionCallSite() 311 auto Next = OrigInst->getNextNode(); in versionCallSite() 313 assert(BitCast->getOperand(0) == OrigInst && in versionCallSite() 345 BasicBlock *MergeBlock = OrigInst->getParent(); in versionCallSite() [all …]
|
H A D | LoopVersioning.cpp | 226 const Instruction *OrigInst) { in annotateInstWithNoAlias() argument 231 const Value *Ptr = isa<LoadInst>(OrigInst) in annotateInstWithNoAlias() 232 ? cast<LoadInst>(OrigInst)->getPointerOperand() in annotateInstWithNoAlias() 233 : cast<StoreInst>(OrigInst)->getPointerOperand(); in annotateInstWithNoAlias()
|
/dports/graphics/llvm-mesa/llvm-13.0.1.src/lib/Transforms/Utils/ |
H A D | CallPromotionUtils.cpp | 110 if (OrigInst->getType()->isVoidTy() || OrigInst->use_empty()) in createRetPHINode() 117 U->replaceUsesOfWith(OrigInst, Phi); in createRetPHINode() 118 Phi->addIncoming(OrigInst, OrigInst->getParent()); in createRetPHINode() 286 CallBase *OrigInst = &CB; in versionCallSite() local 287 BasicBlock *OrigBlock = OrigInst->getParent(); in versionCallSite() 295 if (OrigInst->isMustTailCall()) { in versionCallSite() 307 auto Next = OrigInst->getNextNode(); in versionCallSite() 309 assert(BitCast->getOperand(0) == OrigInst && in versionCallSite() 312 NewBitCast->replaceUsesOfWith(OrigInst, NewInst); in versionCallSite() 341 BasicBlock *MergeBlock = OrigInst->getParent(); in versionCallSite() [all …]
|
/dports/devel/llvm12/llvm-project-12.0.1.src/llvm/lib/Transforms/Utils/ |
H A D | CallPromotionUtils.cpp | 110 if (OrigInst->getType()->isVoidTy() || OrigInst->use_empty()) in createRetPHINode() 117 U->replaceUsesOfWith(OrigInst, Phi); in createRetPHINode() 118 Phi->addIncoming(OrigInst, OrigInst->getParent()); in createRetPHINode() 286 CallBase *OrigInst = &CB; in versionCallSite() local 287 BasicBlock *OrigBlock = OrigInst->getParent(); in versionCallSite() 295 if (OrigInst->isMustTailCall()) { in versionCallSite() 307 auto Next = OrigInst->getNextNode(); in versionCallSite() 309 assert(BitCast->getOperand(0) == OrigInst && in versionCallSite() 312 NewBitCast->replaceUsesOfWith(OrigInst, NewInst); in versionCallSite() 341 BasicBlock *MergeBlock = OrigInst->getParent(); in versionCallSite() [all …]
|
/dports/devel/llvm11/llvm-11.0.1.src/lib/Transforms/Utils/ |
H A D | CallPromotionUtils.cpp | 110 if (OrigInst->getType()->isVoidTy() || OrigInst->use_empty()) in createRetPHINode() 116 for (User *U : OrigInst->users()) in createRetPHINode() 119 U->replaceUsesOfWith(OrigInst, Phi); in createRetPHINode() 120 Phi->addIncoming(OrigInst, OrigInst->getParent()); in createRetPHINode() 290 CallBase *OrigInst = &CB; in versionCallSite() local 291 BasicBlock *OrigBlock = OrigInst->getParent(); in versionCallSite() 299 if (OrigInst->isMustTailCall()) { in versionCallSite() 311 auto Next = OrigInst->getNextNode(); in versionCallSite() 313 assert(BitCast->getOperand(0) == OrigInst && in versionCallSite() 345 BasicBlock *MergeBlock = OrigInst->getParent(); in versionCallSite() [all …]
|
H A D | LoopVersioning.cpp | 226 const Instruction *OrigInst) { in annotateInstWithNoAlias() argument 231 const Value *Ptr = isa<LoadInst>(OrigInst) in annotateInstWithNoAlias() 232 ? cast<LoadInst>(OrigInst)->getPointerOperand() in annotateInstWithNoAlias() 233 : cast<StoreInst>(OrigInst)->getPointerOperand(); in annotateInstWithNoAlias()
|
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | CallPromotionUtils.cpp | 110 if (OrigInst->getType()->isVoidTy() || OrigInst->use_empty()) in createRetPHINode() 117 U->replaceUsesOfWith(OrigInst, Phi); in createRetPHINode() 118 Phi->addIncoming(OrigInst, OrigInst->getParent()); in createRetPHINode() 286 CallBase *OrigInst = &CB; in versionCallSite() local 287 BasicBlock *OrigBlock = OrigInst->getParent(); in versionCallSite() 295 if (OrigInst->isMustTailCall()) { in versionCallSite() 307 auto Next = OrigInst->getNextNode(); in versionCallSite() 309 assert(BitCast->getOperand(0) == OrigInst && in versionCallSite() 312 NewBitCast->replaceUsesOfWith(OrigInst, NewInst); in versionCallSite() 341 BasicBlock *MergeBlock = OrigInst->getParent(); in versionCallSite() [all …]
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/llvm/lib/Transforms/Utils/ |
H A D | CallPromotionUtils.cpp | 110 if (OrigInst->getType()->isVoidTy() || OrigInst->use_empty()) in createRetPHINode() 117 U->replaceUsesOfWith(OrigInst, Phi); in createRetPHINode() 118 Phi->addIncoming(OrigInst, OrigInst->getParent()); in createRetPHINode() 286 CallBase *OrigInst = &CB; in versionCallSite() local 287 BasicBlock *OrigBlock = OrigInst->getParent(); in versionCallSite() 295 if (OrigInst->isMustTailCall()) { in versionCallSite() 307 auto Next = OrigInst->getNextNode(); in versionCallSite() 309 assert(BitCast->getOperand(0) == OrigInst && in versionCallSite() 312 NewBitCast->replaceUsesOfWith(OrigInst, NewInst); in versionCallSite() 341 BasicBlock *MergeBlock = OrigInst->getParent(); in versionCallSite() [all …]
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/llvm/lib/Transforms/Utils/ |
H A D | CallPromotionUtils.cpp | 110 if (OrigInst->getType()->isVoidTy() || OrigInst->use_empty()) in createRetPHINode() 117 U->replaceUsesOfWith(OrigInst, Phi); in createRetPHINode() 118 Phi->addIncoming(OrigInst, OrigInst->getParent()); in createRetPHINode() 286 CallBase *OrigInst = &CB; in versionCallSite() local 287 BasicBlock *OrigBlock = OrigInst->getParent(); in versionCallSite() 295 if (OrigInst->isMustTailCall()) { in versionCallSite() 307 auto Next = OrigInst->getNextNode(); in versionCallSite() 309 assert(BitCast->getOperand(0) == OrigInst && in versionCallSite() 312 NewBitCast->replaceUsesOfWith(OrigInst, NewInst); in versionCallSite() 341 BasicBlock *MergeBlock = OrigInst->getParent(); in versionCallSite() [all …]
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/llvm/lib/Transforms/Utils/ |
H A D | CallPromotionUtils.cpp | 110 if (OrigInst->getType()->isVoidTy() || OrigInst->use_empty()) in createRetPHINode() 117 U->replaceUsesOfWith(OrigInst, Phi); in createRetPHINode() 118 Phi->addIncoming(OrigInst, OrigInst->getParent()); in createRetPHINode() 286 CallBase *OrigInst = &CB; in versionCallSite() local 287 BasicBlock *OrigBlock = OrigInst->getParent(); in versionCallSite() 295 if (OrigInst->isMustTailCall()) { in versionCallSite() 307 auto Next = OrigInst->getNextNode(); in versionCallSite() 309 assert(BitCast->getOperand(0) == OrigInst && in versionCallSite() 312 NewBitCast->replaceUsesOfWith(OrigInst, NewInst); in versionCallSite() 341 BasicBlock *MergeBlock = OrigInst->getParent(); in versionCallSite() [all …]
|
/dports/devel/llvm13/llvm-project-13.0.1.src/llvm/lib/Transforms/Utils/ |
H A D | CallPromotionUtils.cpp | 110 if (OrigInst->getType()->isVoidTy() || OrigInst->use_empty()) in createRetPHINode() 117 U->replaceUsesOfWith(OrigInst, Phi); in createRetPHINode() 118 Phi->addIncoming(OrigInst, OrigInst->getParent()); in createRetPHINode() 286 CallBase *OrigInst = &CB; in versionCallSite() local 287 BasicBlock *OrigBlock = OrigInst->getParent(); in versionCallSite() 295 if (OrigInst->isMustTailCall()) { in versionCallSite() 307 auto Next = OrigInst->getNextNode(); in versionCallSite() 309 assert(BitCast->getOperand(0) == OrigInst && in versionCallSite() 312 NewBitCast->replaceUsesOfWith(OrigInst, NewInst); in versionCallSite() 341 BasicBlock *MergeBlock = OrigInst->getParent(); in versionCallSite() [all …]
|
/dports/devel/llvm80/llvm-8.0.1.src/lib/Transforms/Utils/ |
H A D | CallPromotionUtils.cpp | 108 if (OrigInst->getType()->isVoidTy() || OrigInst->use_empty()) in createRetPHINode() 112 PHINode *Phi = Builder.CreatePHI(OrigInst->getType(), 0); in createRetPHINode() 114 for (User *U : OrigInst->users()) in createRetPHINode() 117 U->replaceUsesOfWith(OrigInst, Phi); in createRetPHINode() 118 Phi->addIncoming(OrigInst, OrigInst->getParent()); in createRetPHINode() 261 Instruction *OrigInst = CS.getInstruction(); in versionCallSite() local 262 BasicBlock *OrigBlock = OrigInst->getParent(); in versionCallSite() 279 BasicBlock *MergeBlock = OrigInst->getParent(); in versionCallSite() 285 Instruction *NewInst = OrigInst->clone(); in versionCallSite() 286 OrigInst->moveBefore(ElseTerm); in versionCallSite() [all …]
|
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | CallPromotionUtils.cpp | 107 if (OrigInst->getType()->isVoidTy() || OrigInst->use_empty()) in createRetPHINode() 111 PHINode *Phi = Builder.CreatePHI(OrigInst->getType(), 0); in createRetPHINode() 113 for (User *U : OrigInst->users()) in createRetPHINode() 116 U->replaceUsesOfWith(OrigInst, Phi); in createRetPHINode() 117 Phi->addIncoming(OrigInst, OrigInst->getParent()); in createRetPHINode() 260 Instruction *OrigInst = CS.getInstruction(); in versionCallSite() local 261 BasicBlock *OrigBlock = OrigInst->getParent(); in versionCallSite() 278 BasicBlock *MergeBlock = OrigInst->getParent(); in versionCallSite() 284 Instruction *NewInst = OrigInst->clone(); in versionCallSite() 285 OrigInst->moveBefore(ElseTerm); in versionCallSite() [all …]
|
H A D | LoopVersioning.cpp | 225 const Instruction *OrigInst) { in annotateInstWithNoAlias() argument 230 const Value *Ptr = isa<LoadInst>(OrigInst) in annotateInstWithNoAlias() 231 ? cast<LoadInst>(OrigInst)->getPointerOperand() in annotateInstWithNoAlias() 232 : cast<StoreInst>(OrigInst)->getPointerOperand(); in annotateInstWithNoAlias()
|
/dports/devel/llvm10/llvm-10.0.1.src/lib/Transforms/Utils/ |
H A D | CallPromotionUtils.cpp | 107 if (OrigInst->getType()->isVoidTy() || OrigInst->use_empty()) in createRetPHINode() 111 PHINode *Phi = Builder.CreatePHI(OrigInst->getType(), 0); in createRetPHINode() 113 for (User *U : OrigInst->users()) in createRetPHINode() 116 U->replaceUsesOfWith(OrigInst, Phi); in createRetPHINode() 117 Phi->addIncoming(OrigInst, OrigInst->getParent()); in createRetPHINode() 260 Instruction *OrigInst = CS.getInstruction(); in versionCallSite() local 261 BasicBlock *OrigBlock = OrigInst->getParent(); in versionCallSite() 278 BasicBlock *MergeBlock = OrigInst->getParent(); in versionCallSite() 284 Instruction *NewInst = OrigInst->clone(); in versionCallSite() 285 OrigInst->moveBefore(ElseTerm); in versionCallSite() [all …]
|
H A D | LoopVersioning.cpp | 225 const Instruction *OrigInst) { in annotateInstWithNoAlias() argument 230 const Value *Ptr = isa<LoadInst>(OrigInst) in annotateInstWithNoAlias() 231 ? cast<LoadInst>(OrigInst)->getPointerOperand() in annotateInstWithNoAlias() 232 : cast<StoreInst>(OrigInst)->getPointerOperand(); in annotateInstWithNoAlias()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
H A D | CallPromotionUtils.cpp | 107 if (OrigInst->getType()->isVoidTy() || OrigInst->use_empty()) in createRetPHINode() 111 PHINode *Phi = Builder.CreatePHI(OrigInst->getType(), 0); in createRetPHINode() 113 for (User *U : OrigInst->users()) in createRetPHINode() 116 U->replaceUsesOfWith(OrigInst, Phi); in createRetPHINode() 117 Phi->addIncoming(OrigInst, OrigInst->getParent()); in createRetPHINode() 260 Instruction *OrigInst = CS.getInstruction(); in versionCallSite() local 261 BasicBlock *OrigBlock = OrigInst->getParent(); in versionCallSite() 278 BasicBlock *MergeBlock = OrigInst->getParent(); in versionCallSite() 284 Instruction *NewInst = OrigInst->clone(); in versionCallSite() 285 OrigInst->moveBefore(ElseTerm); in versionCallSite() [all …]
|
H A D | LoopVersioning.cpp | 225 const Instruction *OrigInst) { in annotateInstWithNoAlias() argument 230 const Value *Ptr = isa<LoadInst>(OrigInst) in annotateInstWithNoAlias() 231 ? cast<LoadInst>(OrigInst)->getPointerOperand() in annotateInstWithNoAlias() 232 : cast<StoreInst>(OrigInst)->getPointerOperand(); in annotateInstWithNoAlias()
|
/dports/devel/llvm90/llvm-9.0.1.src/lib/Transforms/Utils/ |
H A D | CallPromotionUtils.cpp | 107 if (OrigInst->getType()->isVoidTy() || OrigInst->use_empty()) in createRetPHINode() 111 PHINode *Phi = Builder.CreatePHI(OrigInst->getType(), 0); in createRetPHINode() 113 for (User *U : OrigInst->users()) in createRetPHINode() 116 U->replaceUsesOfWith(OrigInst, Phi); in createRetPHINode() 117 Phi->addIncoming(OrigInst, OrigInst->getParent()); in createRetPHINode() 260 Instruction *OrigInst = CS.getInstruction(); in versionCallSite() local 261 BasicBlock *OrigBlock = OrigInst->getParent(); in versionCallSite() 278 BasicBlock *MergeBlock = OrigInst->getParent(); in versionCallSite() 284 Instruction *NewInst = OrigInst->clone(); in versionCallSite() 285 OrigInst->moveBefore(ElseTerm); in versionCallSite() [all …]
|
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/algo/align/ngalign/ |
H A D | unordered_spliter.cpp | 110 const CBioseq::TInst& OrigInst = OrigHandle.GetInst(); in SplitId() local 112 if(OrigInst.CanGetExt() && OrigInst.GetExt().IsDelta()) { in SplitId() 114 } else if(OrigInst.CanGetSeq_data()) { in SplitId() 133 const CBioseq::TInst& OrigInst = OrigHandle.GetInst(); in SplitLoc() local 137 if(OrigInst.CanGetExt() && OrigInst.GetExt().IsDelta()) { in SplitLoc() 139 } else if(OrigInst.CanGetSeq_data()) { in SplitLoc() 213 const CBioseq::TInst& OrigInst = OrigHandle.GetInst(); in x_SplitDeltaExt() local 221 CurrBioseq->SetInst().SetRepr() = OrigInst.GetRepr(); in x_SplitDeltaExt() 222 CurrBioseq->SetInst().SetMol() = OrigInst.GetMol(); in x_SplitDeltaExt() 369 const CBioseq::TInst& OrigInst = OrigHandle.GetInst(); in x_SplitSeqData() local [all …]
|
/dports/devel/intel-graphics-compiler/intel-graphics-compiler-igc-1.0.9636/IGC/VectorCompiler/lib/Utils/General/ |
H A D | InstRebuilder.cpp | 169 Instruction *vc::cloneInstWithNewOps(Instruction &OrigInst, in cloneInstWithNewOps() argument 171 Instruction *NewInst = cloneInstWithNewOpsImpl{NewOps}.visit(OrigInst); in cloneInstWithNewOps() 173 NewInst->copyIRFlags(&OrigInst); in cloneInstWithNewOps() 174 NewInst->copyMetadata(OrigInst); in cloneInstWithNewOps()
|