Home | History | Annotate | Download | only in Scalar

Lines Matching refs:getInstruction

296   Instruction *inst = CS.getInstruction();
1402 Instruction *InsertBefore = CS.getInstruction();
1453 CallInst *ToReplace = cast<CallInst>(CS.getInstruction());
1477 InvokeInst *ToReplace = cast<InvokeInst>(CS.getInstruction());
1534 if (!CS.getType()->isVoidTy() && !CS.getInstruction()->use_empty()) {
1536 CS.getInstruction()->hasName() ? CS.getInstruction()->getName() : "";
1540 // We cannot RAUW or delete CS.getInstruction() because it could be in the
1546 Replacements.emplace_back(CS.getInstruction(), GCResult);
1548 Replacements.emplace_back(CS.getInstruction(), nullptr);
1551 assert(!CS.getInstruction()->hasNUsesOrMore(2) &&
1553 assert(!CS.getInstruction()->hasOneUse() ||
1554 isGCResult(cast<Instruction>(*CS.getInstruction()->user_begin())));
1557 Token->takeName(CS.getInstruction());
1562 CS.getInstruction()->replaceAllUsesWith(Token);
1563 CS.getInstruction()->eraseFromParent();
1920 Module *M = CS.getInstruction()->getModule();
1927 &*++CS.getInstruction()->getIterator()));
1932 auto *II = cast<InvokeInst>(CS.getInstruction());
2251 Instruction *InsertBefore = CS.getInstruction()->getNextNode();
2256 InvokeInst *Invoke = cast<InvokeInst>(CS.getInstruction());
2289 assert(CS.getInstruction()->getParent()->getParent() == &F);
2302 auto *II = cast<InvokeInst>(CS.getInstruction());
2402 Instruction *Statepoint = ToUpdate[i].getInstruction();
2880 Instruction *Inst = CS.getInstruction();