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()
35 Instruction::Instruction(Type *ty, unsigned it, Use *Ops, unsigned NumOps, in Instruction() function in Instruction
46 Instruction::~Instruction() { in ~Instruction()
53 void Instruction::setParent(BasicBlock *P) { in setParent()
57 const Module *Instruction::getModule() const { in getModule()
61 Module *Instruction::getModule() { in getModule()
65 Function *Instruction::getFunction() { return getParent()->getParent(); } in getFunction()
67 const Function *Instruction::getFunction() const { in getFunction()
71 void Instruction::removeFromParent() { in removeFromParent()
75 iplist<Instruction>::iterator Instruction::eraseFromParent() { in eraseFromParent()
81 void Instruction::insertBefore(Instruction *InsertPos) { in insertBefore()
87 void Instruction::insertAfter(Instruction *InsertPos) { in insertAfter()
94 void Instruction::moveBefore(Instruction *MovePos) { in moveBefore()
99 void Instruction::setHasNoUnsignedWrap(bool b) { in setHasNoUnsignedWrap()
103 void Instruction::setHasNoSignedWrap(bool b) { in setHasNoSignedWrap()
107 void Instruction::setIsExact(bool b) { in setIsExact()
111 bool Instruction::hasNoUnsignedWrap() const { in hasNoUnsignedWrap()
115 bool Instruction::hasNoSignedWrap() const { in hasNoSignedWrap()
119 bool Instruction::isExact() const { in isExact()
126 void Instruction::setHasUnsafeAlgebra(bool B) { in setHasUnsafeAlgebra()
133 void Instruction::setHasNoNaNs(bool B) { in setHasNoNaNs()
140 void Instruction::setHasNoInfs(bool B) { in setHasNoInfs()
148 void Instruction::setHasNoSignedZeros(bool B) { in setHasNoSignedZeros()
156 void Instruction::setHasAllowReciprocal(bool B) { in setHasAllowReciprocal()
164 void Instruction::setFastMathFlags(FastMathFlags FMF) { in setFastMathFlags()
169 void Instruction::copyFastMathFlags(FastMathFlags FMF) { in copyFastMathFlags()
175 bool Instruction::hasUnsafeAlgebra() const { in hasUnsafeAlgebra()
181 bool Instruction::hasNoNaNs() const { in hasNoNaNs()
187 bool Instruction::hasNoInfs() const { in hasNoInfs()
193 bool Instruction::hasNoSignedZeros() const { in hasNoSignedZeros()
199 bool Instruction::hasAllowReciprocal() const { in hasAllowReciprocal()
207 FastMathFlags Instruction::getFastMathFlags() const { in getFastMathFlags()
213 void Instruction::copyFastMathFlags(const Instruction *I) { in copyFastMathFlags()
217 void Instruction::copyIRFlags(const Value *V) { in copyIRFlags()
237 void Instruction::andIRFlags(const Value *V) { in andIRFlags()
258 const char *Instruction::getOpcodeName(unsigned OpCode) { in getOpcodeName()
341 static bool haveSameSpecialState(const Instruction *I1, const Instruction *I2, in haveSameSpecialState()
400 bool Instruction::isIdenticalTo(const Instruction *I) const { in isIdenticalTo()
408 bool Instruction::isIdenticalToWhenDefined(const Instruction *I) const { in isIdenticalToWhenDefined()
434 bool Instruction::isSameOperationAs(const Instruction *I, in isSameOperationAs()
461 bool Instruction::isUsedOutsideOfBlock(const BasicBlock *BB) const { in isUsedOutsideOfBlock()
465 const Instruction *I = cast<Instruction>(U.getUser()); in isUsedOutsideOfBlock()
481 bool Instruction::mayReadFromMemory() const { in mayReadFromMemory()
484 case Instruction::VAArg: in mayReadFromMemory()
485 case Instruction::Load: in mayReadFromMemory()
486 case Instruction::Fence: // FIXME: refine definition of mayReadFromMemory in mayReadFromMemory()
487 case Instruction::AtomicCmpXchg: in mayReadFromMemory()
488 case Instruction::AtomicRMW: in mayReadFromMemory()
489 case Instruction::CatchPad: in mayReadFromMemory()
490 case Instruction::CatchRet: in mayReadFromMemory()
492 case Instruction::Call: in mayReadFromMemory()
494 case Instruction::Invoke: in mayReadFromMemory()
496 case Instruction::Store: in mayReadFromMemory()
503 bool Instruction::mayWriteToMemory() const { in mayWriteToMemory()
506 case Instruction::Fence: // FIXME: refine definition of mayWriteToMemory in mayWriteToMemory()
507 case Instruction::Store: in mayWriteToMemory()
508 case Instruction::VAArg: in mayWriteToMemory()
509 case Instruction::AtomicCmpXchg: in mayWriteToMemory()
510 case Instruction::AtomicRMW: in mayWriteToMemory()
511 case Instruction::CatchPad: in mayWriteToMemory()
512 case Instruction::CatchRet: in mayWriteToMemory()
514 case Instruction::Call: in mayWriteToMemory()
516 case Instruction::Invoke: in mayWriteToMemory()
518 case Instruction::Load: in mayWriteToMemory()
523 bool Instruction::isAtomic() const { in isAtomic()
527 case Instruction::AtomicCmpXchg: in isAtomic()
528 case Instruction::AtomicRMW: in isAtomic()
529 case Instruction::Fence: in isAtomic()
531 case Instruction::Load: in isAtomic()
533 case Instruction::Store: in isAtomic()
538 bool Instruction::mayThrow() const { in mayThrow()
554 bool Instruction::isAssociative(unsigned Opcode) { in isAssociative()
559 bool Instruction::isAssociative() const { in isAssociative()
580 bool Instruction::isCommutative(unsigned op) { in isCommutative()
601 bool Instruction::isIdempotent(unsigned Opcode) { in isIdempotent()
614 bool Instruction::isNilpotent(unsigned Opcode) { in isNilpotent()
618 Instruction *Instruction::cloneImpl() const { in cloneImpl()
622 Instruction *Instruction::clone() const { in clone()
623 Instruction *New = nullptr; in clone()
628 case Instruction::opc: \ in clone()