Searched refs:getOpcode (Results 1 - 25 of 926) sorted by relevance

1234567891011>>

/external/swiftshader/third_party/LLVM/include/llvm/MC/
H A DMCInstrAnalysis.h32 return Info->get(Inst.getOpcode()).isBranch();
36 return Info->get(Inst.getOpcode()).isBranch();
40 return Info->get(Inst.getOpcode()).isUnconditionalBranch();
44 return Info->get(Inst.getOpcode()).isIndirectBranch();
48 return Info->get(Inst.getOpcode()).isCall();
52 return Info->get(Inst.getOpcode()).isReturn();
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/iface/instruction/
H A DInstruction.java49 Opcode getOpcode(); method in interface:Instruction
/external/llvm/include/llvm/MC/
H A DMCInstrAnalysis.h35 return Info->get(Inst.getOpcode()).isBranch();
39 return Info->get(Inst.getOpcode()).isConditionalBranch();
43 return Info->get(Inst.getOpcode()).isUnconditionalBranch();
47 return Info->get(Inst.getOpcode()).isIndirectBranch();
51 return Info->get(Inst.getOpcode()).isCall();
55 return Info->get(Inst.getOpcode()).isReturn();
59 return Info->get(Inst.getOpcode()).isTerminator();
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
H A DUnresolvedOdexInstruction.java52 @Override public Opcode getOpcode() { method in class:UnresolvedOdexInstruction
53 return originalInstruction.getOpcode();
/external/swiftshader/third_party/LLVM/include/llvm/
H A DOperator.h40 /// getOpcode - Return the opcode for this Instruction or ConstantExpr.
42 unsigned getOpcode() const { function in class:llvm::Operator
44 return I->getOpcode();
45 return cast<ConstantExpr>(this)->getOpcode();
48 /// getOpcode - If V is an Instruction or ConstantExpr, return its
51 static unsigned getOpcode(const Value *V) { function in class:llvm::Operator
53 return I->getOpcode();
55 return CE->getOpcode();
107 return I->getOpcode() == Instruction::Add ||
108 I->getOpcode()
[all...]
/external/llvm/lib/MC/
H A DMCInstrAnalysis.cpp16 Info->get(Inst.getOpcode()).OpInfo[0].OperandType != MCOI::OPERAND_PCREL)
H A DMCInst.cpp45 OS << "<MCInst " << getOpcode();
55 OS << "<MCInst #" << getOpcode();
59 OS << ' ' << Printer->getOpcodeName(getOpcode());
/external/swiftshader/third_party/LLVM/lib/MC/
H A DMCInstrAnalysis.cpp16 Info->get(Inst.getOpcode()).OpInfo[0].OperandType != MCOI::OPERAND_PCREL)
H A DMCInst.cpp39 OS << "<MCInst " << getOpcode();
50 OS << "<MCInst #" << getOpcode();
54 OS << ' ' << Printer->getOpcodeName(getOpcode());
/external/swiftshader/third_party/LLVM/lib/Target/PTX/
H A DPTXMCInstLower.cpp25 OutMI.setOpcode(MI->getOpcode());
/external/annotation-tools/asmx/test/conform/org/objectweb/asm/tree/
H A DUnitTest.java12 assertEquals(in.getOpcode(), NOP);
17 assertEquals(iin.getOpcode(), SIPUSH);
22 assertEquals(vn.getOpcode(), ASTORE);
27 assertEquals(tin.getOpcode(), CHECKCAST);
32 assertEquals(fn.getOpcode(), PUTSTATIC);
40 assertEquals(mn.getOpcode(), INVOKESPECIAL);
45 assertEquals(jn.getOpcode(), IFEQ);
/external/llvm/lib/Target/AMDGPU/
H A DR600EmitClauseMarkers.cpp42 switch (MI.getOpcode()) {
56 if (TII->isLDSRetInstr(MI.getOpcode()))
59 if (TII->isVector(MI) || TII->isCubeOp(MI.getOpcode()) ||
60 TII->isReductionOp(MI.getOpcode()))
75 if (TII->isALUInstr(MI.getOpcode()))
77 if (TII->isVector(MI) || TII->isCubeOp(MI.getOpcode()))
79 switch (MI.getOpcode()) {
93 switch (MI.getOpcode()) {
123 if (!TII->isALUInstr(MI.getOpcode()) && MI.getOpcode() !
[all...]
/external/swiftshader/third_party/LLVM/lib/Target/Sparc/
H A DSparcISelDAGToDAG.cpp80 if (Addr.getOpcode() == ISD::TargetExternalSymbol ||
81 Addr.getOpcode() == ISD::TargetGlobalAddress)
84 if (Addr.getOpcode() == ISD::ADD) {
98 if (Addr.getOperand(0).getOpcode() == SPISD::Lo) {
103 if (Addr.getOperand(1).getOpcode() == SPISD::Lo) {
115 if (Addr.getOpcode() == ISD::FrameIndex) return false;
116 if (Addr.getOpcode() == ISD::TargetExternalSymbol ||
117 Addr.getOpcode() == ISD::TargetGlobalAddress)
120 if (Addr.getOpcode() == ISD::ADD) {
124 if (Addr.getOperand(0).getOpcode()
[all...]
/external/llvm/include/llvm/IR/
H A DOperator.h48 unsigned getOpcode() const { function in class:llvm::Operator
50 return I->getOpcode();
51 return cast<ConstantExpr>(this)->getOpcode();
56 static unsigned getOpcode(const Value *V) { function in class:llvm::Operator
58 return I->getOpcode();
60 return CE->getOpcode();
107 return I->getOpcode() == Instruction::Add ||
108 I->getOpcode() == Instruction::Sub ||
109 I->getOpcode() == Instruction::Mul ||
110 I->getOpcode()
[all...]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
H A DInstructionWriter.java108 writer.write(getOpcodeValue(instruction.getOpcode()));
117 writer.write(getOpcodeValue(instruction.getOpcode()));
126 writer.write(getOpcodeValue(instruction.getOpcode()));
135 writer.write(getOpcodeValue(instruction.getOpcode()));
144 writer.write(getOpcodeValue(instruction.getOpcode()));
153 writer.write(getOpcodeValue(instruction.getOpcode()));
163 writer.write(getOpcodeValue(instruction.getOpcode()));
173 writer.write(getOpcodeValue(instruction.getOpcode()));
183 writer.write(getOpcodeValue(instruction.getOpcode()));
193 writer.write(getOpcodeValue(instruction.getOpcode()));
[all...]
/external/llvm/lib/Target/PowerPC/
H A DPPCBranchSelector.cpp147 if (I->getOpcode() == PPC::BCC && !I->getOperand(2).isImm())
149 else if ((I->getOpcode() == PPC::BC || I->getOpcode() == PPC::BCn) &&
152 else if ((I->getOpcode() == PPC::BDNZ8 || I->getOpcode() == PPC::BDNZ ||
153 I->getOpcode() == PPC::BDZ8 || I->getOpcode() == PPC::BDZ) &&
192 if (I->getOpcode() == PPC::BCC) {
203 } else if (I->getOpcode() == PPC::BC) {
206 } else if (I->getOpcode()
[all...]
H A DPPCEarlyReturn.cpp65 (I->getOpcode() != PPC::BLR && I->getOpcode() != PPC::BLR8) ||
81 if (J->getOpcode() == PPC::B) {
85 BuildMI(**PI, J, J->getDebugLoc(), TII->get(I->getOpcode()))
93 } else if (J->getOpcode() == PPC::BCC) {
107 } else if (J->getOpcode() == PPC::BC || J->getOpcode() == PPC::BCn) {
113 TII->get(J->getOpcode() == PPC::BC ? PPC::BCLR : PPC::BCLRn))
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
H A DInstruction.h111 unsigned getOpcode() const { return getValueID() - InstructionVal; } function in class:llvm::Instruction
113 const char *getOpcodeName() const { return getOpcodeName(getOpcode()); }
114 bool isTerminator() const { return isTerminator(getOpcode()); }
115 bool isBinaryOp() const { return isBinaryOp(getOpcode()); }
116 bool isShift() { return isShift(getOpcode()); }
117 bool isCast() const { return isCast(getOpcode()); }
118 bool isFuncletPad() const { return isFuncletPad(getOpcode()); }
137 return getOpcode() == Shl || getOpcode() == LShr;
142 return getOpcode()
[all...]
/external/llvm/lib/Target/Hexagon/
H A DHexagonNewValueJump.cpp133 if (II->getOpcode() == TargetOpcode::KILL)
183 if (MII->getOpcode() == Hexagon::J2_call)
197 if (MII->getOpcode() == TargetOpcode::KILL ||
198 MII->getOpcode() == TargetOpcode::PHI ||
199 MII->getOpcode() == TargetOpcode::COPY)
206 if (MII->getOpcode() == Hexagon::LDriw_pred ||
207 MII->getOpcode() == Hexagon::STriw_pred)
230 if (!(isUInt<5>(v) || ((MI.getOpcode() == Hexagon::C2_cmpeqi ||
231 MI.getOpcode() == Hexagon::C2_cmpgti) &&
248 if (def->getOpcode()
[all...]
/external/llvm/unittests/Transforms/Utils/
H A DIntegerDivision.cpp42 EXPECT_TRUE(BB->front().getOpcode() == Instruction::SDiv);
47 EXPECT_TRUE(BB->front().getOpcode() == Instruction::AShr);
50 EXPECT_TRUE(Quotient && Quotient->getOpcode() == Instruction::Sub);
72 EXPECT_TRUE(BB->front().getOpcode() == Instruction::UDiv);
77 EXPECT_TRUE(BB->front().getOpcode() == Instruction::ICmp);
80 EXPECT_TRUE(Quotient && Quotient->getOpcode() == Instruction::PHI);
102 EXPECT_TRUE(BB->front().getOpcode() == Instruction::SRem);
107 EXPECT_TRUE(BB->front().getOpcode() == Instruction::AShr);
110 EXPECT_TRUE(Remainder && Remainder->getOpcode() == Instruction::Sub);
132 EXPECT_TRUE(BB->front().getOpcode()
[all...]
/external/llvm/lib/Target/Lanai/
H A DLanaiISelDAGToDAG.cpp114 if (Addr.getOpcode() == ISD::OR &&
115 Addr.getOperand(1).getOpcode() == LanaiISD::SMALL) {
164 if ((Addr.getOpcode() == ISD::TargetExternalSymbol ||
165 Addr.getOpcode() == ISD::TargetGlobalAddress))
169 ISD::NodeType AluOperator = static_cast<ISD::NodeType>(Addr.getOpcode());
193 Addr.getOperand(1).getOpcode() == LanaiISD::SMALL)
215 if (Addr.getOpcode() == ISD::FrameIndex)
219 if ((Addr.getOpcode() == ISD::TargetExternalSymbol ||
220 Addr.getOpcode() == ISD::TargetGlobalAddress))
224 ISD::NodeType AluOperator = static_cast<ISD::NodeType>(Addr.getOpcode());
[all...]
/external/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h163 inline unsigned getOpcode() const;
461 unsigned getOpcode() const { return (unsigned short)NodeType; } function in class:llvm::SDNode
868 inline unsigned SDValue::getOpcode() const {
869 return Node->getOpcode();
963 return isBinOpWithFlags(N->getOpcode());
1006 return N->getOpcode() == ISD::ADDRSPACECAST;
1090 return getOperand(getOpcode() == ISD::STORE ? 2 : 1);
1097 return N->getOpcode() == ISD::LOAD ||
1098 N->getOpcode() == ISD::STORE ||
1099 N->getOpcode()
[all...]
/external/swiftshader/third_party/LLVM/lib/Target/Alpha/
H A DAlphaBranchSelector.cpp51 if (MBBI->getOpcode() == Alpha::COND_BRANCH_I ||
52 MBBI->getOpcode() == Alpha::COND_BRANCH_F) {
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
H A DMachineInstr.h193 /// getOpcode - Returns the opcode of this MachineInstr.
195 int getOpcode() const { return MCID->Opcode; } function in class:llvm::MachineInstr
258 return getOpcode() == TargetOpcode::PROLOG_LABEL ||
259 getOpcode() == TargetOpcode::EH_LABEL ||
260 getOpcode() == TargetOpcode::GC_LABEL;
264 return getOpcode() == TargetOpcode::PROLOG_LABEL;
266 bool isEHLabel() const { return getOpcode() == TargetOpcode::EH_LABEL; }
267 bool isGCLabel() const { return getOpcode() == TargetOpcode::GC_LABEL; }
268 bool isDebugValue() const { return getOpcode() == TargetOpcode::DBG_VALUE; }
270 bool isPHI() const { return getOpcode()
[all...]
/external/llvm/lib/Target/WebAssembly/InstPrinter/
H A DWebAssemblyInstPrinter.cpp54 const MCInstrDesc &Desc = MII.get(MI->getOpcode());
68 switch (MI->getOpcode()) {
141 assert((OpNo < MII.get(MI->getOpcode()).getNumOperands() ||
142 MII.get(MI->getOpcode()).TSFlags == 0) &&
147 else if (OpNo >= MII.get(MI->getOpcode()).getNumDefs())
154 if (OpNo < MII.get(MI->getOpcode()).getNumDefs())
157 assert((OpNo < MII.get(MI->getOpcode()).getNumOperands() ||
158 (MII.get(MI->getOpcode()).TSFlags &
162 // TODO: (MII.get(MI->getOpcode()).TSFlags &
168 const MCInstrDesc &Desc = MII.get(MI->getOpcode());
[all...]

Completed in 718 milliseconds

1234567891011>>