Lines Matching refs:CurInstr
849 Inst *CurInstr = iteratorToInst(Context.getCur()); in findMaxStackOutArgsSize() local
850 if (auto *Call = llvm::dyn_cast<InstCall>(CurInstr)) { in findMaxStackOutArgsSize()
2041 Inst *CurInstr = iteratorToInst(Context.getCur()); in postLowerLegalization() local
2044 Legalizer.resetTempBaseIfClobberedBy(CurInstr); in postLowerLegalization()
2046 if (auto *MovInstr = llvm::dyn_cast<InstARM32Mov>(CurInstr)) { in postLowerLegalization()
2048 } else if (auto *LdrInstr = llvm::dyn_cast<InstARM32Ldr>(CurInstr)) { in postLowerLegalization()
2051 Sandboxer(this).ldr(CurInstr->getDest(), LegalMem, in postLowerLegalization()
2053 CurInstr->setDeleted(); in postLowerLegalization()
2055 } else if (auto *LdrexInstr = llvm::dyn_cast<InstARM32Ldrex>(CurInstr)) { in postLowerLegalization()
2060 Sandboxer(this).ldrex(CurInstr->getDest(), LegalMem, in postLowerLegalization()
2062 CurInstr->setDeleted(); in postLowerLegalization()
2064 } else if (auto *StrInstr = llvm::dyn_cast<InstARM32Str>(CurInstr)) { in postLowerLegalization()
2067 Sandboxer(this).str(llvm::cast<Variable>(CurInstr->getSrc(0)), in postLowerLegalization()
2069 CurInstr->setDeleted(); in postLowerLegalization()
2071 } else if (auto *StrexInstr = llvm::dyn_cast<InstARM32Strex>(CurInstr)) { in postLowerLegalization()
2076 Sandboxer(this).strex(CurInstr->getDest(), in postLowerLegalization()
2077 llvm::cast<Variable>(CurInstr->getSrc(0)), in postLowerLegalization()
2079 CurInstr->setDeleted(); in postLowerLegalization()