Home
last modified time | relevance | path

Searched refs:ConstUser (Results 1 – 4 of 4) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
DConstantHoisting.cpp477 const ConstantUser &ConstUser) { in emitBaseConstants() argument
480 Instruction *InsertionPt = findMatInsertPt(ConstUser.Inst, in emitBaseConstants()
481 ConstUser.OpndIdx); in emitBaseConstants()
488 Mat->setDebugLoc(ConstUser.Inst->getDebugLoc()); in emitBaseConstants()
490 Value *Opnd = ConstUser.Inst->getOperand(ConstUser.OpndIdx); in emitBaseConstants()
494 DEBUG(dbgs() << "Update: " << *ConstUser.Inst << '\n'); in emitBaseConstants()
495 if (!updateOperand(ConstUser.Inst, ConstUser.OpndIdx, Mat) && Offset) in emitBaseConstants()
497 DEBUG(dbgs() << "To : " << *ConstUser.Inst << '\n'); in emitBaseConstants()
517 DEBUG(dbgs() << "Update: " << *ConstUser.Inst << '\n'); in emitBaseConstants()
518 updateOperand(ConstUser.Inst, ConstUser.OpndIdx, ClonedCastInst); in emitBaseConstants()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DConstantHoisting.cpp636 const ConstantUser &ConstUser) { in emitBaseConstants() argument
639 Instruction *InsertionPt = findMatInsertPt(ConstUser.Inst, in emitBaseConstants()
640 ConstUser.OpndIdx); in emitBaseConstants()
648 Mat->setDebugLoc(ConstUser.Inst->getDebugLoc()); in emitBaseConstants()
650 Value *Opnd = ConstUser.Inst->getOperand(ConstUser.OpndIdx); in emitBaseConstants()
654 LLVM_DEBUG(dbgs() << "Update: " << *ConstUser.Inst << '\n'); in emitBaseConstants()
655 if (!updateOperand(ConstUser.Inst, ConstUser.OpndIdx, Mat) && Offset) in emitBaseConstants()
657 LLVM_DEBUG(dbgs() << "To : " << *ConstUser.Inst << '\n'); in emitBaseConstants()
677 LLVM_DEBUG(dbgs() << "Update: " << *ConstUser.Inst << '\n'); in emitBaseConstants()
678 updateOperand(ConstUser.Inst, ConstUser.OpndIdx, ClonedCastInst); in emitBaseConstants()
[all …]
/external/llvm/include/llvm/Transforms/Scalar/
DConstantHoisting.h142 const consthoist::ConstantUser &ConstUser);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Scalar/
DConstantHoisting.h159 const consthoist::ConstantUser &ConstUser);