Lines Matching refs:CurInst

411       if (CurInst->getOpcode() != X86::JMP64m)  in match()
414 int MemOpNo = MIB.getMemoryOperandNo(*CurInst); in match()
432 MIB.addAnnotation(*CurInst, Annotation, true); in annotate()
461 if (CurInst->getOpcode() != X86::JMP64r) in match()
468 MIB.addAnnotation(*CurInst, Annotation, true); in annotate()
497 if (CurInst->getOpcode() != X86::MOV64rm && in match()
498 CurInst->getOpcode() != X86::MOVSX64rm32) in match()
501 int MemOpNo = MIB.getMemoryOperandNo(*CurInst); in match()
519 MIB.addAnnotation(*CurInst, Annotation, true); in annotate()
550 if (CurInst->getOpcode() == X86::ADD64rr || in match()
551 CurInst->getOpcode() == X86::ADD64rr_DB || in match()
552 CurInst->getOpcode() == X86::ADD64rr_REV) { in match()
571 MIB.addAnnotation(*CurInst, Annotation, true); in annotate()
595 if (CurInst->getOpcode() != X86::LEA64r) in match()
598 if (CurInst->getOperand(1 + X86::AddrScaleAmt).getImm() != 1 || in match()
599 CurInst->getOperand(1 + X86::AddrIndexReg).getReg() != in match()
601 (CurInst->getOperand(1 + X86::AddrBaseReg).getReg() != in match()
603 CurInst->getOperand(1 + X86::AddrBaseReg).getReg() != X86::RIP)) in match()
610 MIB.addAnnotation(*CurInst, Annotation, true); in annotate()
2332 MCInst &CurInst = *Itr++; in analyzeVirtualMethodCall() local
2333 const MCInstrDesc &Desc = Info->get(CurInst.getOpcode()); in analyzeVirtualMethodCall()
2334 if (Desc.hasDefOfPhysReg(CurInst, MethodRegNum, *RegInfo)) { in analyzeVirtualMethodCall()
2335 if (isLoad(CurInst) && in analyzeVirtualMethodCall()
2336 evaluateX86MemoryOperand(CurInst, &BaseReg, &Scale, &IndexReg, in analyzeVirtualMethodCall()
2344 MethodFetchInsns.push_back(&CurInst); in analyzeVirtualMethodCall()
2359 MCInst &CurInst = *Itr++; in analyzeVirtualMethodCall() local
2360 const MCInstrDesc &Desc = Info->get(CurInst.getOpcode()); in analyzeVirtualMethodCall()
2361 if (Desc.hasDefOfPhysReg(CurInst, VtableRegNum, *RegInfo)) { in analyzeVirtualMethodCall()
2362 if (isADDri(CurInst)) { in analyzeVirtualMethodCall()
2364 MethodOffset = CurInst.getOperand(2).getImm(); in analyzeVirtualMethodCall()
2365 MethodFetchInsns.insert(MethodFetchInsns.begin(), &CurInst); in analyzeVirtualMethodCall()