Lines Matching refs:Variable
206 Variable *Dest = Instr->getDest();
325 OperandARM32Mem::OperandARM32Mem(Cfg * /* Func */, Type Ty, Variable *Base,
335 OperandARM32Mem::OperandARM32Mem(Cfg *Func, Type Ty, Variable *Base,
336 Variable *Index, ShiftKind ShiftOp,
344 Vars = Func->allocateArrayOf<Variable *>(2);
475 OperandARM32FlexReg::OperandARM32FlexReg(Cfg *Func, Type Ty, Variable *Reg,
480 auto *ShiftVar = llvm::dyn_cast_or_null<Variable>(ShiftAmt);
483 Vars = Func->allocateArrayOf<Variable *>(NumVars);
665 const Variable *Dest = getDest();
691 const Variable *Dest = getDest();
709 const Variable *Dest = getDest();
732 const Variable *Dest = getDest();
765 const Variable *Dest = getDest();
798 const Variable *Dest = getDest();
816 const Variable *Dest = getDest();
834 const Variable *Dest = getDest();
849 const Variable *Dest = getDest();
870 const Variable *Dest = getDest();
889 const Variable *Dest = getDest();
908 const Variable *Dest = getDest();
929 const Variable *Dest = getDest();
947 const Variable *Dest = getDest();
986 const Variable *Dest = getDest();
1018 const Variable *Dest = getDest();
1044 const Variable *Dest = getDest();
1068 InstARM32Call::InstARM32Call(Cfg *Func, Variable *Dest, Operand *CallTarget)
1092 for (Variable *Reg : RegList) {
1147 const Variable *BaseReg,
1166 const Variable *BaseReg,
1178 bool isAssignedConsecutiveRegisters(const Variable *Before,
1179 const Variable *After) {
1192 const auto *Reg = llvm::cast<Variable>(getStackReg(0));
1197 const Variable *LastDest = nullptr;
1199 const Variable *Var = getStackReg(i);
1220 llvm::SmallVector<std::pair<const Variable *, SizeT>, 5> InstData;
1221 const Variable *BaseReg = nullptr;
1224 const Variable *NextReg = getStackReg(i);
1265 for (Variable *Source : Srcs) {
1270 InstARM32Ret::InstARM32Ret(Cfg *Func, Variable *LR, Variable *Source)
1277 InstARM32Str::InstARM32Str(Cfg *Func, Variable *Value, OperandARM32Mem *Mem,
1284 InstARM32Strex::InstARM32Strex(Cfg *Func, Variable *Dest, Variable *Value,
1294 InstARM32Umull::InstARM32Umull(Cfg *Func, Variable *DestLo, Variable *DestHi,
1295 Variable *Src0, Variable *Src1,
1304 InstARM32Vcvt::InstARM32Vcvt(Cfg *Func, Variable *Dest, Variable *Src,
1311 InstARM32Mov::InstARM32Mov(Cfg *Func, Variable *Dest, Operand *Src,
1337 Register getDRegister(const Variable *Src, uint32_t Index) {
1394 Register getSRegister(const Variable *Src, uint32_t Index) {
1417 const auto *Src = llvm::cast<Variable>(getSrc(0));
1488 const Variable *Dest = getDest();
1489 const auto *Src = llvm::cast<Variable>(getSrc(0));
1519 const Variable *Dest = getDest();
1520 const auto *Src = llvm::cast<Variable>(getSrc(0));
1573 InstARM32Vcmp::InstARM32Vcmp(Cfg *Func, Variable *Src0, Operand *Src1,
1586 InstARM32Vabs::InstARM32Vabs(Cfg *Func, Variable *Dest, Variable *Src,
1664 Variable *DestLo = getDest();
1665 Variable *DestHi = getDestHi();
1666 auto *Src = llvm::cast<Variable>(getSrc(0));
1685 Variable *Dest = getDest();
1686 auto *SrcLo = llvm::cast<Variable>(getSrc(0));
1687 auto *SrcHi = llvm::cast<Variable>(getSrc(1));
1706 if (const auto *OpV = llvm::dyn_cast<Variable>(Op)) {
1715 bool isMoveBetweenCoreAndVFPRegisters(Variable *Dest, Operand *Src) {
1728 Variable *Dest = getDest();
1784 const Variable *Dest = getDest();
1834 if (const auto *Var = llvm::dyn_cast<Variable>(Src0)) {
1854 if (const auto *Var = llvm::dyn_cast<Variable>(Src0)) {
1867 if (const auto *Var = llvm::dyn_cast<Variable>(Src0)) {
1909 Variable *Dest = getDest();
1910 Variable *DestHi = getDestHi();
2083 Variable *Dest = getDest();
2108 Variable *Dest = getDest();
2144 Variable *Dest = getDest();
2157 Variable *Dest = getDest();
2224 Variable *Dest = getDest();
2312 Variable *InstARM32Pop::getStackReg(SizeT Index) const { return Dests[Index]; }
2317 const Variable *Reg) const {
2342 const Variable *BaseReg, SizeT RegCount) const {
2358 Variable *InstARM32Push::getStackReg(SizeT Index) const {
2359 return llvm::cast<Variable>(getSrc(Index));
2365 const Variable *Reg) const {
2390 const Variable *BaseReg, SizeT RegCount) const {
2406 auto *LR = llvm::cast<Variable>(getSrc(0));
2509 Variable *Dest = getDest();
2533 Variable *Dest = getDest();
2811 const Variable *Dest = getDest();
3071 Variable *Reg = getReg();