Lines Matching refs:Instruction
23 Instruction::Instruction(Type *ty, unsigned it, Use *Ops, unsigned NumOps, in Instruction() function in Instruction
24 Instruction *InsertBefore) in Instruction()
37 Instruction::Instruction(Type *ty, unsigned it, Use *Ops, unsigned NumOps, in Instruction() function in Instruction
50 Instruction::~Instruction() { in ~Instruction()
57 void Instruction::setParent(BasicBlock *P) { in setParent()
67 void Instruction::removeFromParent() { in removeFromParent()
71 void Instruction::eraseFromParent() { in eraseFromParent()
77 void Instruction::insertBefore(Instruction *InsertPos) { in insertBefore()
83 void Instruction::insertAfter(Instruction *InsertPos) { in insertAfter()
90 void Instruction::moveBefore(Instruction *MovePos) { in moveBefore()
96 const char *Instruction::getOpcodeName(unsigned OpCode) { in getOpcodeName()
173 bool Instruction::isIdenticalTo(const Instruction *I) const { in isIdenticalTo()
181 bool Instruction::isIdenticalToWhenDefined(const Instruction *I) const { in isIdenticalToWhenDefined()
236 bool Instruction::isSameOperationAs(const Instruction *I) const { in isSameOperationAs()
292 bool Instruction::isUsedOutsideOfBlock(const BasicBlock *BB) const { in isUsedOutsideOfBlock()
299 if (cast<Instruction>(U)->getParent() != BB) in isUsedOutsideOfBlock()
312 bool Instruction::mayReadFromMemory() const { in mayReadFromMemory()
315 case Instruction::VAArg: in mayReadFromMemory()
316 case Instruction::Load: in mayReadFromMemory()
317 case Instruction::Fence: // FIXME: refine definition of mayReadFromMemory in mayReadFromMemory()
318 case Instruction::AtomicCmpXchg: in mayReadFromMemory()
319 case Instruction::AtomicRMW: in mayReadFromMemory()
321 case Instruction::Call: in mayReadFromMemory()
323 case Instruction::Invoke: in mayReadFromMemory()
325 case Instruction::Store: in mayReadFromMemory()
332 bool Instruction::mayWriteToMemory() const { in mayWriteToMemory()
335 case Instruction::Fence: // FIXME: refine definition of mayWriteToMemory in mayWriteToMemory()
336 case Instruction::Store: in mayWriteToMemory()
337 case Instruction::VAArg: in mayWriteToMemory()
338 case Instruction::AtomicCmpXchg: in mayWriteToMemory()
339 case Instruction::AtomicRMW: in mayWriteToMemory()
341 case Instruction::Call: in mayWriteToMemory()
343 case Instruction::Invoke: in mayWriteToMemory()
345 case Instruction::Load: in mayWriteToMemory()
352 bool Instruction::mayThrow() const { in mayThrow()
364 bool Instruction::isAssociative(unsigned Opcode) { in isAssociative()
376 bool Instruction::isCommutative(unsigned op) { in isCommutative()
391 Instruction *Instruction::clone() const { in clone()
392 Instruction *New = clone_impl(); in clone()