Lines Matching refs:inst
75 EDInst *inst = ((EDDisassembler*)disassembler)->createInst(byteReader,
78 if (!inst)
81 insts[index] = inst;
82 address += inst->byteSize();
88 void EDReleaseInst(EDInstRef inst) {
89 delete ((EDInst*)inst);
92 int EDInstByteSize(EDInstRef inst) {
93 return ((EDInst*)inst)->byteSize();
97 EDInstRef inst) {
98 return ((EDInst*)inst)->getString(*buf);
101 int EDInstID(unsigned *instID, EDInstRef inst) {
102 *instID = ((EDInst*)inst)->instID();
106 int EDInstIsBranch(EDInstRef inst) {
107 return ((EDInst*)inst)->isBranch();
110 int EDInstIsMove(EDInstRef inst) {
111 return ((EDInst*)inst)->isMove();
114 int EDBranchTargetID(EDInstRef inst) {
115 return ((EDInst*)inst)->branchTargetID();
118 int EDMoveSourceID(EDInstRef inst) {
119 return ((EDInst*)inst)->moveSourceID();
122 int EDMoveTargetID(EDInstRef inst) {
123 return ((EDInst*)inst)->moveTargetID();
126 int EDNumTokens(EDInstRef inst) {
127 return ((EDInst*)inst)->numTokens();
131 EDInstRef inst,
133 return ((EDInst*)inst)->getToken(*(EDToken**)token, index);
187 int EDNumOperands(EDInstRef inst) {
188 return ((EDInst*)inst)->numOperands();
192 EDInstRef inst,
194 return ((EDInst*)inst)->getOperand(*(EDOperand**)operand, index);
258 int EDBlockVisitTokens(EDInstRef inst, ::EDTokenVisitor_t visitor) {
259 return ((EDInst*)inst)->visitTokens((llvm::EDTokenVisitor_t)visitor);