Home
last modified time | relevance | path

Searched refs:OpCode (Results 1 – 22 of 22) sorted by relevance

/minix3/external/bsd/llvm/dist/llvm/include/llvm/IR/
H A DInstruction.h95 static const char* getOpcodeName(unsigned OpCode);
97 static inline bool isTerminator(unsigned OpCode) { in isTerminator() argument
98 return OpCode >= TermOpsBegin && OpCode < TermOpsEnd; in isTerminator()
122 static inline bool isCast(unsigned OpCode) { in isCast() argument
123 return OpCode >= CastOpsBegin && OpCode < CastOpsEnd; in isCast()
/minix3/external/bsd/llvm/dist/llvm/bindings/python/llvm/tests/
H A Dtest_core.py7 from ..core import OpCode
117 inst_list = [('arg1', OpCode.ExtractValue),
118 ('arg2', OpCode.ExtractValue),
119 ('', OpCode.Call),
120 ('', OpCode.Ret)]
H A Dtest_bitreader.py2 from ..core import OpCode
/minix3/external/bsd/llvm/dist/llvm/lib/Target/XCore/
H A DXCoreLowerThreadLocal.cpp80 unsigned OpCode = CE->getOpcode(); in createReplacementInstr() local
81 switch (OpCode) { in createReplacementInstr()
104 Builder.CreateBinOp((Instruction::BinaryOps)OpCode, in createReplacementInstr()
120 Builder.CreateCast((Instruction::CastOps)OpCode, in createReplacementInstr()
H A DXCoreRegisterInfo.cpp169 unsigned OpCode = MI.getOpcode(); in InsertSPConstInst() local
172 if (OpCode==XCore::STWFI) { in InsertSPConstInst()
182 switch (OpCode) { in InsertSPConstInst()
/minix3/external/mit/lua/dist/src/
H A Dlcode.c97 static int condjump (FuncState *fs, OpCode op, int A, int B, int C) { in condjump()
250 int luaK_codeABC (FuncState *fs, OpCode o, int a, int b, int c) { in luaK_codeABC()
259 int luaK_codeABx (FuncState *fs, OpCode o, int a, unsigned int bc) { in luaK_codeABx()
427 OpCode op = OP_GETTABUP; /* assume 't' is in an upvalue */ in luaK_dischargevars()
617 OpCode op = (var->u.ind.vt == VLOCAL) ? OP_SETTABLE : OP_SETTABUP; in luaK_storevar()
822 static void codeexpval (FuncState *fs, OpCode op,
853 static void codecomp (FuncState *fs, OpCode op, int cond, expdesc *e1,
874 codeexpval(fs, cast(OpCode, (op - OPR_MINUS) + OP_UNM), e, &e2, line);
958 codeexpval(fs, cast(OpCode, (op - OPR_ADD) + OP_ADD), e1, e2, line);
962 codecomp(fs, cast(OpCode, (op - OPR_EQ) + OP_EQ), 1, e1, e2);
[all …]
H A Dlcode.h57 LUAI_FUNC int luaK_codeABx (FuncState *fs, OpCode o, int A, unsigned int Bx);
58 LUAI_FUNC int luaK_codeABC (FuncState *fs, OpCode o, int A, int B, int C);
H A Dlopcodes.h91 #define GET_OPCODE(i) (cast(OpCode, ((i)>>POS_OP) & MASK1(SIZE_OP,0)))
236 } OpCode; typedef
H A Dldebug.c378 OpCode op = GET_OPCODE(i); in findsetreg()
428 OpCode op = GET_OPCODE(i); in getobjname()
H A Dluac.c297 OpCode o=GET_OPCODE(i); in PrintCode()
H A Dlvm.c662 OpCode op = GET_OPCODE(inst);
H A Dlparser.c1144 OpCode op = (v->k == VLOCAL) ? OP_MOVE : OP_GETUPVAL; in check_conflict()
/minix3/external/bsd/llvm/dist/llvm/bindings/python/llvm/
H A Dbit_reader.py8 from .core import OpCode
H A Dcore.py82 class OpCode(LLVMEnumeration): class
88 super(OpCode, self).__init__(name, value)
417 return OpCode.from_value(lib.LLVMGetInstructionOpcode(self))
597 (OpCode, enumerations.OpCodes),
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/
H A DIndVarSimplify.cpp776 unsigned OpCode) const;
857 unsigned OpCode) const { in GetSCEVByOpCode()
858 if (OpCode == Instruction::Add) in GetSCEVByOpCode()
860 if (OpCode == Instruction::Sub) in GetSCEVByOpCode()
862 if (OpCode == Instruction::Mul) in GetSCEVByOpCode()
875 const unsigned OpCode = DU.NarrowUse->getOpcode(); in GetExtendedOperandRecurrence() local
877 if (OpCode != Instruction::Add && OpCode != Instruction::Sub && in GetExtendedOperandRecurrence()
878 OpCode != Instruction::Mul) in GetExtendedOperandRecurrence()
912 dyn_cast<SCEVAddRecExpr>(GetSCEVByOpCode(lhs, rhs, OpCode)); in GetExtendedOperandRecurrence()
/minix3/external/bsd/llvm/dist/llvm/lib/IR/
H A DInstruction.cpp184 const char *Instruction::getOpcodeName(unsigned OpCode) { in getOpcodeName() argument
185 switch (OpCode) { in getOpcodeName()
H A DDebugInfo.cpp1380 uint64_t OpCode = getElement(I); in printInternal() local
1381 OS << " [" << OperationEncodingString(OpCode); in printInternal()
1382 switch (OpCode) { in printInternal()
/minix3/external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.h722 void visitBinary(const User &I, unsigned OpCode);
H A DSelectionDAGBuilder.cpp2828 void SelectionDAGBuilder::visitBinary(const User &I, unsigned OpCode) { in visitBinary() argument
2844 SDValue BinNodeValue = DAG.getNode(OpCode, getCurSDLoc(), Op1.getValueType(), in visitBinary()
2955 ISD::NodeType OpCode = Cond.getValueType().isVector() ? in visitSelect() local
2959 Values[i] = DAG.getNode(OpCode, getCurSDLoc(), in visitSelect()
/minix3/external/bsd/llvm/dist/llvm/lib/Target/PowerPC/
H A DPPCInstrInfo.cpp656 unsigned OpCode = Is64Bit ? PPC::ISEL8 : PPC::ISEL; in insertSelect() local
692 BuildMI(MBB, MI, dl, get(OpCode), DestReg) in insertSelect()
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp424 static Value *getIdentityValue(Instruction::BinaryOps OpCode, Value *V) { in getIdentityValue() argument
428 if (OpCode == Instruction::Mul) in getIdentityValue()
/minix3/external/bsd/llvm/dist/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp17897 unsigned OpCode = ((MOV64ri | N86R11) << 8) | REX_WB; // movabsq r11 in LowerINIT_TRAMPOLINE() local
17899 OutChains[0] = DAG.getStore(Root, dl, DAG.getConstant(OpCode, MVT::i16), in LowerINIT_TRAMPOLINE()
17911 OpCode = ((MOV64ri | N86R10) << 8) | REX_WB; // movabsq r10 in LowerINIT_TRAMPOLINE()
17914 OutChains[2] = DAG.getStore(Root, dl, DAG.getConstant(OpCode, MVT::i16), in LowerINIT_TRAMPOLINE()
17925 OpCode = (JMP64r << 8) | REX_WB; // jmpq *... in LowerINIT_TRAMPOLINE()
17928 OutChains[4] = DAG.getStore(Root, dl, DAG.getConstant(OpCode, MVT::i16), in LowerINIT_TRAMPOLINE()