HomeSort by relevance Sort by last modified time
    Searched refs:OpCode (Results 1 - 12 of 12) sorted by null

  /external/llvm/bindings/python/llvm/tests/
test_core.py 2 from ..core import OpCode
7 self.assertTrue(hasattr(OpCode, 'Ret'))
8 self.assertTrue(isinstance(OpCode.Ret, OpCode))
9 self.assertEqual(OpCode.Ret.value, 1)
11 op = OpCode.from_value(1)
12 self.assertTrue(isinstance(op, OpCode))
13 self.assertEqual(op, OpCode.Ret)
  /external/llvm/bindings/python/llvm/
core.py 27 class OpCode(object):
28 """Represents an individual OpCode enumeration."""
37 return 'OpCode.%s' % self.name
41 """Obtain an OpCode instance from a numeric value."""
42 result = OpCode._value_map.get(value, None)
45 raise ValueError('Unknown OpCode: %d' % value)
51 """Registers a new OpCode enumeration.
56 if value in OpCode._value_map:
57 raise ValueError('OpCode value already registered: %d' % value)
59 opcode = OpCode(name, value
    [all...]
  /external/llvm/include/llvm/
Instruction.h 90 static const char* getOpcodeName(unsigned OpCode);
92 static inline bool isTerminator(unsigned OpCode) {
93 return OpCode >= TermOpsBegin && OpCode < TermOpsEnd;
96 static inline bool isBinaryOp(unsigned Opcode) {
97 return Opcode >= BinaryOpsBegin && Opcode < BinaryOpsEnd;
100 /// @brief Determine if the Opcode is one of the shift instructions.
101 static inline bool isShift(unsigned Opcode) {
102 return Opcode >= Shl && Opcode <= AShr
    [all...]
  /external/llvm/lib/VMCore/
Instruction.cpp 96 const char *Instruction::getOpcodeName(unsigned OpCode) {
97 switch (OpCode) {
187 // We have two instructions of identical opcode and #operands. Check to see
255 // We have two instructions of identical opcode and #operands. Check to see
382 bool Instruction::isAssociative(unsigned Opcode) {
383 return Opcode == And || Opcode == Or || Opcode == Xor ||
384 Opcode == Add || Opcode == Mul
    [all...]
  /external/llvm/lib/CodeGen/SelectionDAG/
SelectionDAGBuilder.h 380 void visit(unsigned Opcode, const User &I);
472 void visitBinary(const User &I, unsigned OpCode);
473 void visitShift(const User &I, unsigned Opcode);
528 bool visitUnaryFloatCall(const CallInst &I, unsigned Opcode);
SelectionDAGBuilder.cpp     [all...]
  /tools/motodev/src/plugins/android/
jakarta-oro-2.0.8.jar 
  /tools/motodev/src/plugins/common/
jakarta-oro-2.0.8.jar 
  /tools/motodev/src/plugins/emulator/lib/
jakarta-oro-2.0.8.jar 
  /tools/motodev/src/plugins/translation/
jakarta-oro-2.0.8.jar 
  /external/llvm/lib/Target/PowerPC/
PPCISelLowering.cpp 489 const char *PPCTargetLowering::getTargetNodeName(unsigned Opcode) const {
490 switch (Opcode) {
    [all...]
  /external/llvm/lib/Target/X86/
X86ISelLowering.cpp 14669 unsigned opcode; local
    [all...]

Completed in 170 milliseconds