Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DInstruction.h140 static const char* getOpcodeName(unsigned OpCode);
142 static inline bool isTerminator(unsigned OpCode) {
143 return OpCode >= TermOpsBegin && OpCode < TermOpsEnd;
183 static inline bool isCast(unsigned OpCode) {
184 return OpCode >= CastOpsBegin && OpCode < CastOpsEnd;
188 static inline bool isFuncletPad(unsigned OpCode) {
189 return OpCode >= FuncletPadOpsBegin && OpCode < FuncletPadOpsEnd;
193 static inline bool isExceptionalTerminator(unsigned OpCode) {
194 switch (OpCode) {
/freebsd-12.1/contrib/llvm/lib/Target/XCore/
H A DXCoreLowerThreadLocal.cpp80 unsigned OpCode = CE->getOpcode(); in createReplacementInstr() local
81 switch (OpCode) { in createReplacementInstr()
105 Builder.CreateBinOp((Instruction::BinaryOps)OpCode, in createReplacementInstr()
121 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()
/freebsd-12.1/contrib/lua/src/
H A Dlcode.c158 static int condjump (FuncState *fs, OpCode op, int A, int B, int C) { in condjump()
312 int luaK_codeABC (FuncState *fs, OpCode o, int a, int b, int c) { in luaK_codeABC()
324 int luaK_codeABx (FuncState *fs, OpCode o, int a, unsigned int bc) { in luaK_codeABx()
568 OpCode op; in luaK_dischargevars()
795 OpCode op = (var->u.ind.vt == VLOCAL) ? OP_SETTABLE : OP_SETTABUP; in luaK_storevar()
1004 static void codeunexpval (FuncState *fs, OpCode op, expdesc *e, int line) { in codeunexpval()
1022 static void codebinexpval (FuncState *fs, OpCode op, in codebinexpval()
1049 OpCode op = cast(OpCode, (opr - OPR_NE) + OP_EQ); in codecomp()
1054 OpCode op = cast(OpCode, (opr - OPR_EQ) + OP_EQ); in codecomp()
1074 codeunexpval(fs, cast(OpCode, op + OP_UNM), e, line); in luaK_prefix()
[all …]
H A Dlcode.h52 LUAI_FUNC int luaK_codeABx (FuncState *fs, OpCode o, int A, unsigned int Bx);
53 LUAI_FUNC int luaK_codeABC (FuncState *fs, OpCode o, int A, int B, int C);
H A Dlopcodes.h89 #define GET_OPCODE(i) (cast(OpCode, ((i)>>POS_OP) & MASK1(SIZE_OP,0)))
234 } OpCode; typedef
H A Dldebug.c391 OpCode op = GET_OPCODE(i); in findsetreg()
441 OpCode op = GET_OPCODE(i); in getobjname()
H A Dluac.c295 OpCode o=GET_OPCODE(i); in PrintCode()
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/
H A Dlcode.c73 static int condjump (FuncState *fs, OpCode op, int A, int B, int C) { in condjump()
226 int luaK_codeABC (FuncState *fs, OpCode o, int a, int b, int c) { in luaK_codeABC()
235 int luaK_codeABx (FuncState *fs, OpCode o, int a, unsigned int bc) { in luaK_codeABx()
394 OpCode op = OP_GETTABUP; /* assume 't' is in an upvalue */ in luaK_dischargevars()
570 OpCode op = (var->u.ind.vt == VLOCAL) ? OP_SETTABLE : OP_SETTABUP; in luaK_storevar()
712 static int constfolding (OpCode op, expdesc *e1, expdesc *e2) { in constfolding()
728 static void codearith (FuncState *fs, OpCode op, in codearith()
750 static void codecomp (FuncState *fs, OpCode op, int cond, expdesc *e1, in codecomp()
850 codearith(fs, cast(OpCode, op - OPR_ADD + OP_ADD), e1, e2, line); in luaK_posfix()
854 codecomp(fs, cast(OpCode, op - OPR_EQ + OP_EQ), 1, e1, e2); in luaK_posfix()
[all …]
H A Dlcode.h47 LUAI_FUNC int luaK_codeABx (FuncState *fs, OpCode o, int A, unsigned int Bx);
48 LUAI_FUNC int luaK_codeABC (FuncState *fs, OpCode o, int A, int B, int C);
H A Dlopcodes.h89 #define GET_OPCODE(i) (cast(OpCode, ((i)>>POS_OP) & MASK1(SIZE_OP,0)))
225 } OpCode; typedef
H A Dldebug.c360 OpCode op = GET_OPCODE(i); in findsetreg()
415 OpCode op = GET_OPCODE(i); in getobjname()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DMacOSKeychainAPIChecker.cpp512 BinaryOperator::Opcode OpCode = CondBSE->getOpcode(); in evalAssume() local
513 if (OpCode != BO_EQ && OpCode != BO_NE) in evalAssume()
521 bool ErrorIsReturned = (OpCode == BO_EQ && RHS != NoErr) || in evalAssume()
522 (OpCode == BO_NE && RHS == NoErr); in evalAssume()
H A DCheckObjCDealloc.cpp414 BinaryOperator::Opcode OpCode = CondBSE->getOpcode(); in evalAssume() local
416 if (OpCode != BO_EQ) in evalAssume()
419 if (OpCode != BO_NE) in evalAssume()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DIndVarSimplify.cpp1015 unsigned OpCode) const;
1196 unsigned OpCode) const { in getSCEVByOpCode()
1197 if (OpCode == Instruction::Add) in getSCEVByOpCode()
1199 if (OpCode == Instruction::Sub) in getSCEVByOpCode()
1201 if (OpCode == Instruction::Mul) in getSCEVByOpCode()
1214 const unsigned OpCode = DU.NarrowUse->getOpcode(); in getExtendedOperandRecurrence() local
1216 if (OpCode != Instruction::Add && OpCode != Instruction::Sub && in getExtendedOperandRecurrence()
1217 OpCode != Instruction::Mul) in getExtendedOperandRecurrence()
1374 const unsigned OpCode = NarrowUse->getOpcode(); in widenWithVariantLoadUse() local
1376 if (OpCode != Instruction::Add && OpCode != Instruction::Sub && in widenWithVariantLoadUse()
[all …]
/freebsd-12.1/contrib/llvm/lib/DebugInfo/DWARF/
H A DDWARFExpression.cpp103 static DWARFExpression::Operation::Description getOpDesc(unsigned OpCode) { in getOpDesc() argument
107 if (OpCode >= Descriptions.size()) in getOpDesc()
109 return Descriptions[OpCode]; in getOpDesc()
/freebsd-12.1/contrib/llvm/lib/CodeGen/MIRParser/
H A DMIParser.cpp288 bool parseInstrName(StringRef InstrName, unsigned &OpCode);
290 bool parseInstruction(unsigned &OpCode, unsigned &Flags);
743 unsigned OpCode, Flags = 0; in parse() local
744 if (Token.isError() || parseInstruction(OpCode, Flags)) in parse()
756 if (OpCode == TargetOpcode::DBG_VALUE && MO.isReg()) in parse()
811 const auto &MCID = MF.getSubtarget().getInstrInfo()->get(OpCode); in parse()
968 bool MIParser::parseInstruction(unsigned &OpCode, unsigned &Flags) { in parseInstruction() argument
1013 if (parseInstrName(InstrName, OpCode)) in parseInstruction()
2723 bool MIParser::parseInstrName(StringRef InstrName, unsigned &OpCode) { in parseInstrName() argument
2728 OpCode = InstrInfo->getValue(); in parseInstrName()
/freebsd-12.1/contrib/llvm/include/llvm/DebugInfo/CodeView/
H A DSymbolRecord.h161 BinaryAnnotationsOpCode OpCode; member
264 Result.OpCode = static_cast<BinaryAnnotationsOpCode>(Op); in ParseCurrentAnnotation()
265 switch (Result.OpCode) { in ParseCurrentAnnotation()
/freebsd-12.1/sys/dev/iir/
H A Diir.c956 if (ucmd->OpCode == GDT_IOCTL) { in gdt_ioctl_cmd()
1006 ucmd->OpCode); in gdt_ioctl_cmd()
1009 if (ucmd->OpCode == GDT_IOCTL) { in gdt_ioctl_cmd()
1446 ucmd->OpCode = GDT_FLUSH; in iir_shutdown()
1544 if (ucmd->OpCode == GDT_IOCTL) { in iir_intr_locked()
H A Diir.h410 u_int16_t OpCode; /* the command (READ,..) */ member
/freebsd-12.1/contrib/llvm/lib/IR/
H A DInstruction.cpp291 const char *Instruction::getOpcodeName(unsigned OpCode) { in getOpcodeName() argument
292 switch (OpCode) { in getOpcodeName()
/freebsd-12.1/sys/contrib/edk2/Include/Uefi/
H A DUefiPxe.h881 PXE_OPCODE OpCode; member
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86MCInstLower.cpp1321 unsigned OpCode = MI.getOperand(0).getImm(); in LowerPATCHABLE_RET() local
1323 Ret.setOpcode(OpCode); in LowerPATCHABLE_RET()
1353 unsigned OpCode = MI.getOperand(0).getImm(); in LowerPATCHABLE_TAIL_CALL() local
1355 TC.setOpcode(OpCode); in LowerPATCHABLE_TAIL_CALL()
/freebsd-12.1/sys/dev/pms/RefTisa/sallsdk/spc/
H A Dsampirsp.c4951 bit16 OpCode = 0; in mpiGeneralEventRsp() local
5009 OpCode = (bit16)(GenEventData.inbIOMBpayload[0] & OPCODE_BITS); in mpiGeneralEventRsp()
5011 …SA_DBG1(("mpiGeneralEventRsp:OpCode 0x%X [0] 0x%08x\n" ,OpCode,(bit16)(GenEventData.inbIOMBpayload… in mpiGeneralEventRsp()
5013 switch (OpCode) /* OpCode */ in mpiGeneralEventRsp()
5061 SA_DBG1(("mpiGeneralEventRsp:OpCode found 0x%x htag 0x%x\n",OpCode, tag)); in mpiGeneralEventRsp()
5111 SA_DBG1(("mpiGeneralEventRsp:OpCode found 0x%x htag 0x%x\n",OpCode, tag)); in mpiGeneralEventRsp()
5164 SA_DBG1(("mpiGeneralEventRsp:OpCode Not found 0x%x htag 0x%x\n",OpCode, tag)); in mpiGeneralEventRsp()
5218 switch (OpCode) /* OpCode */ in mpiGeneralEventRsp()
5225 …SA_DBG1(("mpiGeneralEventRsp: OPC_INB_KEK_MANAGEMENT 0x%x htag 0x%x flags 0x%x\n",OpCode, tag, fla… in mpiGeneralEventRsp()
5269 SA_DBG1(("mpiGeneralEventRsp: MGMNT OpCode Not found 0x%x\n",OpCode )); in mpiGeneralEventRsp()
/freebsd-12.1/contrib/llvm/lib/DebugInfo/CodeView/
H A DSymbolDumper.cpp459 switch (Annotation.OpCode) { in visitKnownRecord()

12