Searched refs:OpCode (Results 1 - 8 of 8) sorted by relevance
/external/llvm/bindings/python/llvm/tests/ |
H A D | test_core.py | 2 from ..core import OpCode namespace 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/ |
H A D | core.py | 27 class OpCode(object): class in inherits: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(nam [all...] |
/external/llvm/include/llvm/ |
H A D | Instruction.h | 90 static const char* getOpcodeName(unsigned OpCode); 92 static inline bool isTerminator(unsigned OpCode) { argument 93 return OpCode >= TermOpsBegin && OpCode < TermOpsEnd; 116 /// @brief Determine if the OpCode is one of the CastInst instructions. 117 static inline bool isCast(unsigned OpCode) { argument 118 return OpCode >= CastOpsBegin && OpCode < CastOpsEnd;
|
/external/llvm/lib/VMCore/ |
H A D | Instruction.cpp | 96 const char *Instruction::getOpcodeName(unsigned OpCode) { argument 97 switch (OpCode) {
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAGBuilder.h | 472 void visitBinary(const User &I, unsigned OpCode);
|
H A D | SelectionDAGBuilder.cpp | 2614 void SelectionDAGBuilder::visitBinary(const User &I, unsigned OpCode) { argument 2617 setValue(&I, DAG.getNode(OpCode, getCurDebugLoc(), 2708 ISD::NodeType OpCode = Cond.getValueType().isVector() ? local 2712 Values[i] = DAG.getNode(OpCode, getCurDebugLoc(),
|
/external/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.cpp | 10318 unsigned OpCode = ((MOV64ri | N86R11) << 8) | REX_WB; // movabsq r11 local 10320 OutChains[0] = DAG.getStore(Root, dl, DAG.getConstant(OpCode, MVT::i16), 10332 OpCode = ((MOV64ri | N86R10) << 8) | REX_WB; // movabsq r10 10335 OutChains[2] = DAG.getStore(Root, dl, DAG.getConstant(OpCode, MVT::i16), 10346 OpCode = (JMP64r << 8) | REX_WB; // jmpq *... 10349 OutChains[4] = DAG.getStore(Root, dl, DAG.getConstant(OpCode, MVT::i16),
|
/external/llvm/lib/Target/PowerPC/ |
H A D | PPCISelLowering.cpp | 4991 unsigned OpCode = MI->getOpcode() == PPC::SELECT_CC_I8 ? local 5010 BuildMI(*BB, MI, dl, TII->get(OpCode), MI->getOperand(0).getReg())
|
Completed in 289 milliseconds