Home
last modified time | relevance | path

Searched refs:ConstExprInst (Results 1 – 17 of 17) sorted by relevance

/dports/devel/llvm70/llvm-7.0.1.src/lib/Transforms/Scalar/
H A DConstantHoisting.cpp685 Instruction *ConstExprInst = ConstExpr->getAsInstruction(); in emitBaseConstants() local
686 ConstExprInst->setOperand(0, Mat); in emitBaseConstants()
687 ConstExprInst->insertBefore(findMatInsertPt(ConstUser.Inst, in emitBaseConstants()
691 ConstExprInst->setDebugLoc(ConstUser.Inst->getDebugLoc()); in emitBaseConstants()
693 LLVM_DEBUG(dbgs() << "Create instruction: " << *ConstExprInst << '\n' in emitBaseConstants()
696 if (!updateOperand(ConstUser.Inst, ConstUser.OpndIdx, ConstExprInst)) { in emitBaseConstants()
697 ConstExprInst->eraseFromParent(); in emitBaseConstants()
/dports/devel/llvm80/llvm-8.0.1.src/lib/Transforms/Scalar/
H A DConstantHoisting.cpp798 Instruction *ConstExprInst = ConstExpr->getAsInstruction(); in emitBaseConstants() local
799 ConstExprInst->setOperand(0, Mat); in emitBaseConstants()
800 ConstExprInst->insertBefore(findMatInsertPt(ConstUser.Inst, in emitBaseConstants()
804 ConstExprInst->setDebugLoc(ConstUser.Inst->getDebugLoc()); in emitBaseConstants()
806 LLVM_DEBUG(dbgs() << "Create instruction: " << *ConstExprInst << '\n' in emitBaseConstants()
809 if (!updateOperand(ConstUser.Inst, ConstUser.OpndIdx, ConstExprInst)) { in emitBaseConstants()
810 ConstExprInst->eraseFromParent(); in emitBaseConstants()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp810 Instruction *ConstExprInst = ConstExpr->getAsInstruction(); in emitBaseConstants() local
811 ConstExprInst->setOperand(0, Mat); in emitBaseConstants()
812 ConstExprInst->insertBefore(findMatInsertPt(ConstUser.Inst, in emitBaseConstants()
816 ConstExprInst->setDebugLoc(ConstUser.Inst->getDebugLoc()); in emitBaseConstants()
818 LLVM_DEBUG(dbgs() << "Create instruction: " << *ConstExprInst << '\n' in emitBaseConstants()
821 if (!updateOperand(ConstUser.Inst, ConstUser.OpndIdx, ConstExprInst)) { in emitBaseConstants()
822 ConstExprInst->eraseFromParent(); in emitBaseConstants()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp822 Instruction *ConstExprInst = ConstExpr->getAsInstruction();
823 ConstExprInst->setOperand(0, Mat);
824 ConstExprInst->insertBefore(findMatInsertPt(ConstUser.Inst,
828 ConstExprInst->setDebugLoc(ConstUser.Inst->getDebugLoc());
830 LLVM_DEBUG(dbgs() << "Create instruction: " << *ConstExprInst << '\n'
833 if (!updateOperand(ConstUser.Inst, ConstUser.OpndIdx, ConstExprInst)) {
834 ConstExprInst->eraseFromParent();
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp814 Instruction *ConstExprInst = ConstExpr->getAsInstruction(); in emitBaseConstants() local
815 ConstExprInst->setOperand(0, Mat); in emitBaseConstants()
816 ConstExprInst->insertBefore(findMatInsertPt(ConstUser.Inst, in emitBaseConstants()
820 ConstExprInst->setDebugLoc(ConstUser.Inst->getDebugLoc()); in emitBaseConstants()
822 LLVM_DEBUG(dbgs() << "Create instruction: " << *ConstExprInst << '\n' in emitBaseConstants()
825 if (!updateOperand(ConstUser.Inst, ConstUser.OpndIdx, ConstExprInst)) { in emitBaseConstants()
826 ConstExprInst->eraseFromParent(); in emitBaseConstants()
/dports/devel/llvm10/llvm-10.0.1.src/lib/Transforms/Scalar/
H A DConstantHoisting.cpp810 Instruction *ConstExprInst = ConstExpr->getAsInstruction(); in emitBaseConstants() local
811 ConstExprInst->setOperand(0, Mat); in emitBaseConstants()
812 ConstExprInst->insertBefore(findMatInsertPt(ConstUser.Inst, in emitBaseConstants()
816 ConstExprInst->setDebugLoc(ConstUser.Inst->getDebugLoc()); in emitBaseConstants()
818 LLVM_DEBUG(dbgs() << "Create instruction: " << *ConstExprInst << '\n' in emitBaseConstants()
821 if (!updateOperand(ConstUser.Inst, ConstUser.OpndIdx, ConstExprInst)) { in emitBaseConstants()
822 ConstExprInst->eraseFromParent(); in emitBaseConstants()
/dports/graphics/llvm-mesa/llvm-13.0.1.src/lib/Transforms/Scalar/
H A DConstantHoisting.cpp822 Instruction *ConstExprInst = ConstExpr->getAsInstruction(); in emitBaseConstants() local
823 ConstExprInst->setOperand(0, Mat); in emitBaseConstants()
824 ConstExprInst->insertBefore(findMatInsertPt(ConstUser.Inst, in emitBaseConstants()
828 ConstExprInst->setDebugLoc(ConstUser.Inst->getDebugLoc()); in emitBaseConstants()
830 LLVM_DEBUG(dbgs() << "Create instruction: " << *ConstExprInst << '\n' in emitBaseConstants()
833 if (!updateOperand(ConstUser.Inst, ConstUser.OpndIdx, ConstExprInst)) { in emitBaseConstants()
834 ConstExprInst->eraseFromParent(); in emitBaseConstants()
/dports/devel/llvm12/llvm-project-12.0.1.src/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp815 Instruction *ConstExprInst = ConstExpr->getAsInstruction(); in emitBaseConstants() local
816 ConstExprInst->setOperand(0, Mat); in emitBaseConstants()
817 ConstExprInst->insertBefore(findMatInsertPt(ConstUser.Inst, in emitBaseConstants()
821 ConstExprInst->setDebugLoc(ConstUser.Inst->getDebugLoc()); in emitBaseConstants()
823 LLVM_DEBUG(dbgs() << "Create instruction: " << *ConstExprInst << '\n' in emitBaseConstants()
826 if (!updateOperand(ConstUser.Inst, ConstUser.OpndIdx, ConstExprInst)) { in emitBaseConstants()
827 ConstExprInst->eraseFromParent(); in emitBaseConstants()
/dports/devel/llvm11/llvm-11.0.1.src/lib/Transforms/Scalar/
H A DConstantHoisting.cpp814 Instruction *ConstExprInst = ConstExpr->getAsInstruction(); in emitBaseConstants() local
815 ConstExprInst->setOperand(0, Mat); in emitBaseConstants()
816 ConstExprInst->insertBefore(findMatInsertPt(ConstUser.Inst, in emitBaseConstants()
820 ConstExprInst->setDebugLoc(ConstUser.Inst->getDebugLoc()); in emitBaseConstants()
822 LLVM_DEBUG(dbgs() << "Create instruction: " << *ConstExprInst << '\n' in emitBaseConstants()
825 if (!updateOperand(ConstUser.Inst, ConstUser.OpndIdx, ConstExprInst)) { in emitBaseConstants()
826 ConstExprInst->eraseFromParent(); in emitBaseConstants()
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp822 Instruction *ConstExprInst = ConstExpr->getAsInstruction(); in emitBaseConstants() local
823 ConstExprInst->setOperand(0, Mat); in emitBaseConstants()
824 ConstExprInst->insertBefore(findMatInsertPt(ConstUser.Inst, in emitBaseConstants()
828 ConstExprInst->setDebugLoc(ConstUser.Inst->getDebugLoc()); in emitBaseConstants()
830 LLVM_DEBUG(dbgs() << "Create instruction: " << *ConstExprInst << '\n' in emitBaseConstants()
833 if (!updateOperand(ConstUser.Inst, ConstUser.OpndIdx, ConstExprInst)) { in emitBaseConstants()
834 ConstExprInst->eraseFromParent(); in emitBaseConstants()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp810 Instruction *ConstExprInst = ConstExpr->getAsInstruction(); in emitBaseConstants() local
811 ConstExprInst->setOperand(0, Mat); in emitBaseConstants()
812 ConstExprInst->insertBefore(findMatInsertPt(ConstUser.Inst, in emitBaseConstants()
816 ConstExprInst->setDebugLoc(ConstUser.Inst->getDebugLoc()); in emitBaseConstants()
818 LLVM_DEBUG(dbgs() << "Create instruction: " << *ConstExprInst << '\n' in emitBaseConstants()
821 if (!updateOperand(ConstUser.Inst, ConstUser.OpndIdx, ConstExprInst)) { in emitBaseConstants()
822 ConstExprInst->eraseFromParent(); in emitBaseConstants()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp822 Instruction *ConstExprInst = ConstExpr->getAsInstruction(); in emitBaseConstants() local
823 ConstExprInst->setOperand(0, Mat); in emitBaseConstants()
824 ConstExprInst->insertBefore(findMatInsertPt(ConstUser.Inst, in emitBaseConstants()
828 ConstExprInst->setDebugLoc(ConstUser.Inst->getDebugLoc()); in emitBaseConstants()
830 LLVM_DEBUG(dbgs() << "Create instruction: " << *ConstExprInst << '\n' in emitBaseConstants()
833 if (!updateOperand(ConstUser.Inst, ConstUser.OpndIdx, ConstExprInst)) { in emitBaseConstants()
834 ConstExprInst->eraseFromParent(); in emitBaseConstants()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp822 Instruction *ConstExprInst = ConstExpr->getAsInstruction(); in emitBaseConstants() local
823 ConstExprInst->setOperand(0, Mat); in emitBaseConstants()
824 ConstExprInst->insertBefore(findMatInsertPt(ConstUser.Inst, in emitBaseConstants()
828 ConstExprInst->setDebugLoc(ConstUser.Inst->getDebugLoc()); in emitBaseConstants()
830 LLVM_DEBUG(dbgs() << "Create instruction: " << *ConstExprInst << '\n' in emitBaseConstants()
833 if (!updateOperand(ConstUser.Inst, ConstUser.OpndIdx, ConstExprInst)) { in emitBaseConstants()
834 ConstExprInst->eraseFromParent(); in emitBaseConstants()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp815 Instruction *ConstExprInst = ConstExpr->getAsInstruction(); in emitBaseConstants() local
816 ConstExprInst->setOperand(0, Mat); in emitBaseConstants()
817 ConstExprInst->insertBefore(findMatInsertPt(ConstUser.Inst, in emitBaseConstants()
821 ConstExprInst->setDebugLoc(ConstUser.Inst->getDebugLoc()); in emitBaseConstants()
823 LLVM_DEBUG(dbgs() << "Create instruction: " << *ConstExprInst << '\n' in emitBaseConstants()
826 if (!updateOperand(ConstUser.Inst, ConstUser.OpndIdx, ConstExprInst)) { in emitBaseConstants()
827 ConstExprInst->eraseFromParent(); in emitBaseConstants()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp815 Instruction *ConstExprInst = ConstExpr->getAsInstruction(); in emitBaseConstants() local
816 ConstExprInst->setOperand(0, Mat); in emitBaseConstants()
817 ConstExprInst->insertBefore(findMatInsertPt(ConstUser.Inst, in emitBaseConstants()
821 ConstExprInst->setDebugLoc(ConstUser.Inst->getDebugLoc()); in emitBaseConstants()
823 LLVM_DEBUG(dbgs() << "Create instruction: " << *ConstExprInst << '\n' in emitBaseConstants()
826 if (!updateOperand(ConstUser.Inst, ConstUser.OpndIdx, ConstExprInst)) { in emitBaseConstants()
827 ConstExprInst->eraseFromParent(); in emitBaseConstants()
/dports/devel/llvm13/llvm-project-13.0.1.src/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp822 Instruction *ConstExprInst = ConstExpr->getAsInstruction(); in emitBaseConstants() local
823 ConstExprInst->setOperand(0, Mat); in emitBaseConstants()
824 ConstExprInst->insertBefore(findMatInsertPt(ConstUser.Inst, in emitBaseConstants()
828 ConstExprInst->setDebugLoc(ConstUser.Inst->getDebugLoc()); in emitBaseConstants()
830 LLVM_DEBUG(dbgs() << "Create instruction: " << *ConstExprInst << '\n' in emitBaseConstants()
833 if (!updateOperand(ConstUser.Inst, ConstUser.OpndIdx, ConstExprInst)) { in emitBaseConstants()
834 ConstExprInst->eraseFromParent(); in emitBaseConstants()
/dports/devel/llvm90/llvm-9.0.1.src/lib/Transforms/Scalar/
H A DConstantHoisting.cpp805 Instruction *ConstExprInst = ConstExpr->getAsInstruction(); in emitBaseConstants() local
806 ConstExprInst->setOperand(0, Mat); in emitBaseConstants()
807 ConstExprInst->insertBefore(findMatInsertPt(ConstUser.Inst, in emitBaseConstants()
811 ConstExprInst->setDebugLoc(ConstUser.Inst->getDebugLoc()); in emitBaseConstants()
813 LLVM_DEBUG(dbgs() << "Create instruction: " << *ConstExprInst << '\n' in emitBaseConstants()
816 if (!updateOperand(ConstUser.Inst, ConstUser.OpndIdx, ConstExprInst)) { in emitBaseConstants()
817 ConstExprInst->eraseFromParent(); in emitBaseConstants()