Home
last modified time | relevance | path

Searched refs:NewInst (Results 1 – 25 of 580) sorted by relevance

12345678910>>...24

/dports/lang/pocl/pocl-1.8/lib/llvmopencl/
H A DBreakConstantGEPs.cpp144 Instruction * NewInst = 0; in convertExpression() local
147 NewInst = convertGEP (CE, InsertPt); in convertExpression()
167 NewInst = BinaryOperator::Create (Op, in convertExpression()
189 NewInst = CastInst::Create (Op, in convertExpression()
200 NewInst = CmpInst::Create (Op, in convertExpression()
210 NewInst = SelectInst::Create (CE->getOperand(0), in convertExpression()
231 return NewInst; in convertExpression()
308 PHI->setIncomingValue (i2, NewInst); in runOnFunction()
310 Worklist.push_back (NewInst); in runOnFunction()
322 I->replaceUsesOfWith (CE, NewInst); in runOnFunction()
[all …]
/dports/devel/intel-graphics-compiler/intel-graphics-compiler-igc-1.0.9636/IGC/VectorCompiler/lib/GenXCodeGen/
H A DGenXReduceIntSize.cpp398 if (NewInst) { in reverseProcessInst()
401 NewVal = NewInst; in reverseProcessInst()
544 return NewInst; in truncValue()
571 return NewInst; in truncValue()
630 Inst = NewInst; in forwardProcessInst()
656 NewInst = in forwardProcessInst()
660 NewInst = new ZExtInst(NewInst, Inst->getType(), "", InsertBefore); in forwardProcessInst()
662 NewInst = new SExtInst(NewInst, Inst->getType(), "", InsertBefore); in forwardProcessInst()
861 if (NewInst) { in forwardProcessInst()
864 NewVal = NewInst; in forwardProcessInst()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp121 Phi->addIncoming(NewInst, NewInst->getParent()); in createRetPHINode()
306 CallBase *NewInst = cast<CallBase>(OrigInst->clone()); in versionCallSite() local
307 NewInst->insertBefore(ThenTerm); in versionCallSite()
310 Value *NewRetVal = NewInst; in versionCallSite()
316 NewBitCast->replaceUsesOfWith(OrigInst, NewInst); in versionCallSite()
334 return *NewInst; in versionCallSite()
351 CallBase *NewInst = cast<CallBase>(OrigInst->clone()); in versionCallSite() local
353 NewInst->insertBefore(ThenTerm); in versionCallSite()
359 auto *NewInvoke = cast<InvokeInst>(NewInst); in versionCallSite()
383 return *NewInst; in versionCallSite()
[all …]
H A DCloneFunction.cpp57 Instruction *NewInst = I.clone(); in CloneBasicBlock() local
59 NewInst->setName(I.getName() + NameSuffix); in CloneBasicBlock()
60 NewBB->getInstList().push_back(NewInst); in CloneBasicBlock()
340 Instruction *NewInst = II->clone(); in CloneBlock() local
344 if (!isa<PHINode>(NewInst)) { in CloneBlock()
345 RemapInstruction(NewInst, VMap, in CloneBlock()
359 if (!NewInst->mayHaveSideEffects()) { in CloneBlock()
361 NewInst->deleteValue(); in CloneBlock()
370 NewBB->getInstList().push_back(NewInst); in CloneBlock()
424 Instruction *NewInst = OldTI->clone(); in CloneBlock() local
[all …]
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp119 Phi->addIncoming(NewInst, NewInst->getParent()); in createRetPHINode()
302 CallBase *NewInst = cast<CallBase>(OrigInst->clone()); in versionCallSite() local
303 NewInst->insertBefore(ThenTerm); in versionCallSite()
306 Value *NewRetVal = NewInst; in versionCallSite()
312 NewBitCast->replaceUsesOfWith(OrigInst, NewInst); in versionCallSite()
330 return *NewInst; in versionCallSite()
347 CallBase *NewInst = cast<CallBase>(OrigInst->clone()); in versionCallSite() local
349 NewInst->insertBefore(ThenTerm); in versionCallSite()
355 auto *NewInvoke = cast<InvokeInst>(NewInst); in versionCallSite()
379 return *NewInst; in versionCallSite()
[all …]
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp121 Phi->addIncoming(NewInst, NewInst->getParent()); in createRetPHINode()
306 CallBase *NewInst = cast<CallBase>(OrigInst->clone()); in versionCallSite() local
307 NewInst->insertBefore(ThenTerm); in versionCallSite()
310 Value *NewRetVal = NewInst; in versionCallSite()
316 NewBitCast->replaceUsesOfWith(OrigInst, NewInst); in versionCallSite()
334 return *NewInst; in versionCallSite()
351 CallBase *NewInst = cast<CallBase>(OrigInst->clone()); in versionCallSite() local
353 NewInst->insertBefore(ThenTerm); in versionCallSite()
359 auto *NewInvoke = cast<InvokeInst>(NewInst); in versionCallSite()
383 return *NewInst; in versionCallSite()
[all …]
H A DCloneFunction.cpp57 Instruction *NewInst = I.clone(); in CloneBasicBlock() local
59 NewInst->setName(I.getName() + NameSuffix); in CloneBasicBlock()
60 NewBB->getInstList().push_back(NewInst); in CloneBasicBlock()
333 Instruction *NewInst = II->clone(); in CloneBlock() local
337 if (!isa<PHINode>(NewInst)) { in CloneBlock()
338 RemapInstruction(NewInst, VMap, in CloneBlock()
352 if (!NewInst->mayHaveSideEffects()) { in CloneBlock()
354 NewInst->deleteValue(); in CloneBlock()
363 NewBB->getInstList().push_back(NewInst); in CloneBlock()
417 Instruction *NewInst = OldTI->clone(); in CloneBlock() local
[all …]
/dports/graphics/llvm-mesa/llvm-13.0.1.src/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp119 Phi->addIncoming(NewInst, NewInst->getParent()); in createRetPHINode()
302 CallBase *NewInst = cast<CallBase>(OrigInst->clone()); in versionCallSite() local
303 NewInst->insertBefore(ThenTerm); in versionCallSite()
306 Value *NewRetVal = NewInst; in versionCallSite()
312 NewBitCast->replaceUsesOfWith(OrigInst, NewInst); in versionCallSite()
330 return *NewInst; in versionCallSite()
347 CallBase *NewInst = cast<CallBase>(OrigInst->clone()); in versionCallSite() local
349 NewInst->insertBefore(ThenTerm); in versionCallSite()
355 auto *NewInvoke = cast<InvokeInst>(NewInst); in versionCallSite()
379 return *NewInst; in versionCallSite()
[all …]
/dports/devel/llvm12/llvm-project-12.0.1.src/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp119 Phi->addIncoming(NewInst, NewInst->getParent()); in createRetPHINode()
302 CallBase *NewInst = cast<CallBase>(OrigInst->clone()); in versionCallSite() local
303 NewInst->insertBefore(ThenTerm); in versionCallSite()
306 Value *NewRetVal = NewInst; in versionCallSite()
312 NewBitCast->replaceUsesOfWith(OrigInst, NewInst); in versionCallSite()
330 return *NewInst; in versionCallSite()
347 CallBase *NewInst = cast<CallBase>(OrigInst->clone()); in versionCallSite() local
349 NewInst->insertBefore(ThenTerm); in versionCallSite()
355 auto *NewInvoke = cast<InvokeInst>(NewInst); in versionCallSite()
379 return *NewInst; in versionCallSite()
[all …]
/dports/devel/llvm11/llvm-11.0.1.src/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp121 Phi->addIncoming(NewInst, NewInst->getParent()); in createRetPHINode()
306 CallBase *NewInst = cast<CallBase>(OrigInst->clone()); in versionCallSite() local
307 NewInst->insertBefore(ThenTerm); in versionCallSite()
310 Value *NewRetVal = NewInst; in versionCallSite()
316 NewBitCast->replaceUsesOfWith(OrigInst, NewInst); in versionCallSite()
334 return *NewInst; in versionCallSite()
351 CallBase *NewInst = cast<CallBase>(OrigInst->clone()); in versionCallSite() local
353 NewInst->insertBefore(ThenTerm); in versionCallSite()
359 auto *NewInvoke = cast<InvokeInst>(NewInst); in versionCallSite()
383 return *NewInst; in versionCallSite()
[all …]
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp119 Phi->addIncoming(NewInst, NewInst->getParent()); in createRetPHINode()
302 CallBase *NewInst = cast<CallBase>(OrigInst->clone()); in versionCallSite() local
303 NewInst->insertBefore(ThenTerm); in versionCallSite()
306 Value *NewRetVal = NewInst; in versionCallSite()
312 NewBitCast->replaceUsesOfWith(OrigInst, NewInst); in versionCallSite()
330 return *NewInst; in versionCallSite()
347 CallBase *NewInst = cast<CallBase>(OrigInst->clone()); in versionCallSite() local
349 NewInst->insertBefore(ThenTerm); in versionCallSite()
355 auto *NewInvoke = cast<InvokeInst>(NewInst); in versionCallSite()
379 return *NewInst; in versionCallSite()
[all …]
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp119 Phi->addIncoming(NewInst, NewInst->getParent()); in createRetPHINode()
302 CallBase *NewInst = cast<CallBase>(OrigInst->clone()); in versionCallSite() local
303 NewInst->insertBefore(ThenTerm); in versionCallSite()
306 Value *NewRetVal = NewInst; in versionCallSite()
312 NewBitCast->replaceUsesOfWith(OrigInst, NewInst); in versionCallSite()
330 return *NewInst; in versionCallSite()
347 CallBase *NewInst = cast<CallBase>(OrigInst->clone()); in versionCallSite() local
349 NewInst->insertBefore(ThenTerm); in versionCallSite()
355 auto *NewInvoke = cast<InvokeInst>(NewInst); in versionCallSite()
379 return *NewInst; in versionCallSite()
[all …]
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp119 Phi->addIncoming(NewInst, NewInst->getParent()); in createRetPHINode()
302 CallBase *NewInst = cast<CallBase>(OrigInst->clone()); in versionCallSite() local
303 NewInst->insertBefore(ThenTerm); in versionCallSite()
306 Value *NewRetVal = NewInst; in versionCallSite()
312 NewBitCast->replaceUsesOfWith(OrigInst, NewInst); in versionCallSite()
330 return *NewInst; in versionCallSite()
347 CallBase *NewInst = cast<CallBase>(OrigInst->clone()); in versionCallSite() local
349 NewInst->insertBefore(ThenTerm); in versionCallSite()
355 auto *NewInvoke = cast<InvokeInst>(NewInst); in versionCallSite()
379 return *NewInst; in versionCallSite()
[all …]
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp119 Phi->addIncoming(NewInst, NewInst->getParent()); in createRetPHINode()
302 CallBase *NewInst = cast<CallBase>(OrigInst->clone()); in versionCallSite() local
303 NewInst->insertBefore(ThenTerm); in versionCallSite()
306 Value *NewRetVal = NewInst; in versionCallSite()
312 NewBitCast->replaceUsesOfWith(OrigInst, NewInst); in versionCallSite()
330 return *NewInst; in versionCallSite()
347 CallBase *NewInst = cast<CallBase>(OrigInst->clone()); in versionCallSite() local
349 NewInst->insertBefore(ThenTerm); in versionCallSite()
355 auto *NewInvoke = cast<InvokeInst>(NewInst); in versionCallSite()
379 return *NewInst; in versionCallSite()
[all …]
/dports/devel/llvm13/llvm-project-13.0.1.src/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp119 Phi->addIncoming(NewInst, NewInst->getParent()); in createRetPHINode()
302 CallBase *NewInst = cast<CallBase>(OrigInst->clone()); in versionCallSite() local
303 NewInst->insertBefore(ThenTerm); in versionCallSite()
306 Value *NewRetVal = NewInst; in versionCallSite()
312 NewBitCast->replaceUsesOfWith(OrigInst, NewInst); in versionCallSite()
330 return *NewInst; in versionCallSite()
347 CallBase *NewInst = cast<CallBase>(OrigInst->clone()); in versionCallSite() local
349 NewInst->insertBefore(ThenTerm); in versionCallSite()
355 auto *NewInvoke = cast<InvokeInst>(NewInst); in versionCallSite()
379 return *NewInst; in versionCallSite()
[all …]
/dports/devel/llvm70/llvm-7.0.1.src/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp105 static void createRetPHINode(Instruction *OrigInst, Instruction *NewInst, in createRetPHINode() argument
119 Phi->addIncoming(NewInst, NewInst->getParent()); in createRetPHINode()
285 Instruction *NewInst = OrigInst->clone(); in versionCallSite() local
287 NewInst->insertBefore(ThenTerm); in versionCallSite()
293 auto *NewInvoke = cast<InvokeInst>(NewInst); in versionCallSite()
315 createRetPHINode(OrigInst, NewInst, MergeBlock, Builder); in versionCallSite()
317 return NewInst; in versionCallSite()
419 Instruction *NewInst = versionCallSite(CS, Callee, BranchWeights); in promoteCallWithIfThenElse() local
422 return promoteCall(CallSite(NewInst), Callee); in promoteCallWithIfThenElse()
H A DCloneFunction.cpp57 Instruction *NewInst = I.clone(); in CloneBasicBlock() local
59 NewInst->setName(I.getName() + NameSuffix); in CloneBasicBlock()
60 NewBB->getInstList().push_back(NewInst); in CloneBasicBlock()
321 Instruction *NewInst = II->clone(); in CloneBlock() local
325 if (!isa<PHINode>(NewInst)) { in CloneBlock()
326 RemapInstruction(NewInst, VMap, in CloneBlock()
340 if (!NewInst->mayHaveSideEffects()) { in CloneBlock()
342 NewInst->deleteValue(); in CloneBlock()
351 NewBB->getInstList().push_back(NewInst); in CloneBlock()
405 Instruction *NewInst = OldTI->clone(); in CloneBlock() local
[all …]
/dports/devel/llvm80/llvm-8.0.1.src/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp105 static void createRetPHINode(Instruction *OrigInst, Instruction *NewInst, in createRetPHINode() argument
119 Phi->addIncoming(NewInst, NewInst->getParent()); in createRetPHINode()
285 Instruction *NewInst = OrigInst->clone(); in versionCallSite() local
287 NewInst->insertBefore(ThenTerm); in versionCallSite()
293 auto *NewInvoke = cast<InvokeInst>(NewInst); in versionCallSite()
315 createRetPHINode(OrigInst, NewInst, MergeBlock, Builder); in versionCallSite()
317 return NewInst; in versionCallSite()
446 Instruction *NewInst = versionCallSite(CS, Callee, BranchWeights); in promoteCallWithIfThenElse() local
449 return promoteCall(CallSite(NewInst), Callee); in promoteCallWithIfThenElse()
H A DCloneFunction.cpp58 Instruction *NewInst = I.clone(); in CloneBasicBlock() local
60 NewInst->setName(I.getName() + NameSuffix); in CloneBasicBlock()
61 NewBB->getInstList().push_back(NewInst); in CloneBasicBlock()
322 Instruction *NewInst = II->clone(); in CloneBlock() local
326 if (!isa<PHINode>(NewInst)) { in CloneBlock()
327 RemapInstruction(NewInst, VMap, in CloneBlock()
341 if (!NewInst->mayHaveSideEffects()) { in CloneBlock()
343 NewInst->deleteValue(); in CloneBlock()
352 NewBB->getInstList().push_back(NewInst); in CloneBlock()
406 Instruction *NewInst = OldTI->clone(); in CloneBlock() local
[all …]
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp104 static void createRetPHINode(Instruction *OrigInst, Instruction *NewInst, in createRetPHINode() argument
118 Phi->addIncoming(NewInst, NewInst->getParent()); in createRetPHINode()
284 Instruction *NewInst = OrigInst->clone(); in versionCallSite() local
286 NewInst->insertBefore(ThenTerm); in versionCallSite()
292 auto *NewInvoke = cast<InvokeInst>(NewInst); in versionCallSite()
314 createRetPHINode(OrigInst, NewInst, MergeBlock, Builder); in versionCallSite()
316 return NewInst; in versionCallSite()
455 Instruction *NewInst = versionCallSite(CS, Callee, BranchWeights); in promoteCallWithIfThenElse() local
458 return promoteCall(CallSite(NewInst), Callee); in promoteCallWithIfThenElse()
H A DCloneFunction.cpp57 Instruction *NewInst = I.clone(); in CloneBasicBlock() local
59 NewInst->setName(I.getName() + NameSuffix); in CloneBasicBlock()
60 NewBB->getInstList().push_back(NewInst); in CloneBasicBlock()
336 Instruction *NewInst = II->clone(); in CloneBlock() local
340 if (!isa<PHINode>(NewInst)) { in CloneBlock()
341 RemapInstruction(NewInst, VMap, in CloneBlock()
355 if (!NewInst->mayHaveSideEffects()) { in CloneBlock()
357 NewInst->deleteValue(); in CloneBlock()
366 NewBB->getInstList().push_back(NewInst); in CloneBlock()
420 Instruction *NewInst = OldTI->clone(); in CloneBlock() local
[all …]
/dports/devel/llvm10/llvm-10.0.1.src/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp104 static void createRetPHINode(Instruction *OrigInst, Instruction *NewInst, in createRetPHINode() argument
118 Phi->addIncoming(NewInst, NewInst->getParent()); in createRetPHINode()
284 Instruction *NewInst = OrigInst->clone(); in versionCallSite() local
286 NewInst->insertBefore(ThenTerm); in versionCallSite()
292 auto *NewInvoke = cast<InvokeInst>(NewInst); in versionCallSite()
314 createRetPHINode(OrigInst, NewInst, MergeBlock, Builder); in versionCallSite()
316 return NewInst; in versionCallSite()
455 Instruction *NewInst = versionCallSite(CS, Callee, BranchWeights); in promoteCallWithIfThenElse() local
458 return promoteCall(CallSite(NewInst), Callee); in promoteCallWithIfThenElse()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp104 static void createRetPHINode(Instruction *OrigInst, Instruction *NewInst, in createRetPHINode() argument
118 Phi->addIncoming(NewInst, NewInst->getParent()); in createRetPHINode()
284 Instruction *NewInst = OrigInst->clone(); in versionCallSite() local
286 NewInst->insertBefore(ThenTerm); in versionCallSite()
292 auto *NewInvoke = cast<InvokeInst>(NewInst); in versionCallSite()
314 createRetPHINode(OrigInst, NewInst, MergeBlock, Builder); in versionCallSite()
316 return NewInst; in versionCallSite()
455 Instruction *NewInst = versionCallSite(CS, Callee, BranchWeights); in promoteCallWithIfThenElse() local
458 return promoteCall(CallSite(NewInst), Callee); in promoteCallWithIfThenElse()
/dports/devel/llvm90/llvm-9.0.1.src/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp104 static void createRetPHINode(Instruction *OrigInst, Instruction *NewInst, in createRetPHINode() argument
118 Phi->addIncoming(NewInst, NewInst->getParent()); in createRetPHINode()
284 Instruction *NewInst = OrigInst->clone(); in versionCallSite() local
286 NewInst->insertBefore(ThenTerm); in versionCallSite()
292 auto *NewInvoke = cast<InvokeInst>(NewInst); in versionCallSite()
314 createRetPHINode(OrigInst, NewInst, MergeBlock, Builder); in versionCallSite()
316 return NewInst; in versionCallSite()
455 Instruction *NewInst = versionCallSite(CS, Callee, BranchWeights); in promoteCallWithIfThenElse() local
458 return promoteCall(CallSite(NewInst), Callee); in promoteCallWithIfThenElse()
/dports/devel/spirv-llvm-translator/SPIRV-LLVM-Translator-13.0.0/lib/SPIRV/
H A DSPIRVLowerBitCastToNonStandardType.cpp69 bool lowerBitCastToNonStdVec(Instruction *OldInst, Value *NewInst, in lowerBitCastToNonStdVec() argument
80 VectorType *NewVecTy = getVectorType(NewInst->getType()); in lowerBitCastToNonStdVec()
92 Value *LocalValue = new AddrSpaceCastInst(NewInst, NewVecPtrTy); in lowerBitCastToNonStdVec()
100 Value *LocalValue = Builder.CreateLoad(NewVecTy, NewInst); in lowerBitCastToNonStdVec()
112 Value *LocalValue = Builder.CreateExtractElement(NewInst, NewElemIdx); in lowerBitCastToNonStdVec()
136 OldInst->replaceAllUsesWith(NewInst); in lowerBitCastToNonStdVec()

12345678910>>...24