Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILOpBuilder.h37 CallInst *createDXILOpCall(dxil::OpCode OpCode, Type *ReturnTy,
39 Type *getOverloadTy(dxil::OpCode OpCode, FunctionType *FT);
40 static const char *getOpCodeName(dxil::OpCode DXILOp);
H A DDXILOpBuilder.cpp128 dxil::OpCode OpCode; member
255 CallInst *DXILOpBuilder::createDXILOpCall(dxil::OpCode OpCode, Type *ReturnTy, in createDXILOpCall() argument
258 const OpCodeProperty *Prop = getOpCodeProperty(OpCode); in createDXILOpCall()
279 Type *DXILOpBuilder::getOverloadTy(dxil::OpCode OpCode, FunctionType *FT) { in getOverloadTy() argument
281 const OpCodeProperty *Prop = getOpCodeProperty(OpCode); in getOverloadTy()
329 const char *DXILOpBuilder::getOpCodeName(dxil::OpCode DXILOp) { in getOpCodeName()
H A DDXILOpLowering.cpp75 static void lowerIntrinsic(dxil::OpCode DXILOp, Function &F, Module &M) { in lowerIntrinsic()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMBranchTargets.cpp98 unsigned OpCode = ARM::t2BTI; in addBTI() local
112 OpCode = ARM::t2PACBTI; in addBTI()
121 << (OpCode == ARM::t2BTI ? "BTI" : "PACBTI") in addBTI()
124 BuildMI(MBB, MBBI, MBB.findDebugLoc(MBBI), TII.get(OpCode)) in addBTI()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DDXILEmitter.cpp39 int OpCode; // ID of DXIL operation member
113 OpCode = R->getValueAsInt("OpCode"); in DXILOperationDesc()
289 return A.OpCode < B.OpCode; in emitDXILEnums()
297 OS << Op.OpName << " = " << Op.OpCode << ", // " << Op.Doc << "\n"; in emitDXILEnums()
360 return A.OpCode < B.OpCode; in emitDXILOperationTable()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/MCTargetDesc/
H A DSPIRVInstPrinter.cpp110 const unsigned OpCode = MI->getOpcode(); in printInst() local
113 if (OpCode == SPIRV::OpDecorate) { in printInst()
115 } else if (OpCode == SPIRV::OpExtInstImport) { in printInst()
117 } else if (OpCode == SPIRV::OpExtInst) { in printInst()
121 const MCInstrDesc &MCDesc = MII.get(OpCode); in printInst()
131 switch (OpCode) { in printInst()
161 switch (OpCode) { in printInst()
H A DSPIRVMCCodeEmitter.cpp113 const uint64_t OpCode = getBinaryCodeForInstr(MI, Fixups, STI); in encodeInstruction()
115 const uint32_t FirstWord = (NumWords << 16) | OpCode; in encodeInstruction()
110 const uint64_t OpCode = getBinaryCodeForInstr(MI, Fixups, STI); encodeInstruction() local
/freebsd/contrib/lua/src/
H A Dlcode.c41 static int codesJ (FuncState *fs, OpCode o, int sj, int k);
208 OpCode op; in luaK_ret()
222 static int condjump (FuncState *fs, OpCode op, int A, int B, int C, int k) { in condjump()
397 int luaK_codeABCk (FuncState *fs, OpCode o, int a, int b, int c, int k) { in luaK_codeABCk()
408 int luaK_codeABx (FuncState *fs, OpCode o, int a, unsigned int bc) { in luaK_codeABx()
418 int luaK_codeAsBx (FuncState *fs, OpCode o, int a, int bc) { in luaK_codeAsBx()
429 static int codesJ (FuncState *fs, OpCode o, int sj, int k) { in codesJ()
895 static int code_loadbool (FuncState *fs, int A, OpCode op) { in code_loadbool()
1045 static void codeABRK (FuncState *fs, OpCode o, int a, int b, in codeABRK()
1364 l_sinline OpCode binopr2op (BinOpr opr, BinOpr baser, OpCode base) { in binopr2op()
[all …]
H A Dlcode.h63 LUAI_FUNC int luaK_codeABx (FuncState *fs, OpCode o, int A, unsigned int Bx);
64 LUAI_FUNC int luaK_codeAsBx (FuncState *fs, OpCode o, int A, int Bx);
65 LUAI_FUNC int luaK_codeABCk (FuncState *fs, OpCode o, int A,
H A Dlopcodes.h114 #define GET_OPCODE(i) (cast(OpCode, ((i)>>POS_OP) & MASK1(SIZE_OP,0)))
310 } OpCode; typedef
/freebsd/sys/contrib/openzfs/module/lua/
H A Dlcode.c75 static int condjump (FuncState *fs, OpCode op, int A, int B, int C) { in condjump()
228 int luaK_codeABC (FuncState *fs, OpCode o, int a, int b, int c) { in luaK_codeABC()
237 int luaK_codeABx (FuncState *fs, OpCode o, int a, unsigned int bc) { in luaK_codeABx()
396 OpCode op = OP_GETTABUP; /* assume 't' is in an upvalue */ in luaK_dischargevars()
572 OpCode op = (var->u.ind.vt == VLOCAL) ? OP_SETTABLE : OP_SETTABUP; in luaK_storevar()
714 static int constfolding (OpCode op, expdesc *e1, expdesc *e2) { in constfolding()
730 static void codearith (FuncState *fs, OpCode op, in codearith()
752 static void codecomp (FuncState *fs, OpCode op, int cond, expdesc *e1, in codecomp()
852 codearith(fs, cast(OpCode, op - OPR_ADD + OP_ADD), e1, e2, line); in luaK_posfix()
856 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
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUMIRFormatter.cpp36 bool AMDGPUMIRFormatter::parseImmMnemonic(const unsigned OpCode, in parseImmMnemonic() argument
42 switch (OpCode) { in parseImmMnemonic()
H A DAMDGPUMIRFormatter.h40 virtual bool parseImmMnemonic(const unsigned OpCode, const unsigned OpIdx,
/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreRegisterInfo.cpp169 unsigned OpCode = MI.getOpcode(); in InsertSPConstInst() local
172 if (OpCode==XCore::STWFI) { in InsertSPConstInst()
184 switch (OpCode) { in InsertSPConstInst()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMIRFormatter.h50 virtual bool parseImmMnemonic(const unsigned OpCode, const unsigned OpIdx, in parseImmMnemonic() argument
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMIParser.cpp140 unsigned &OpCode) { in parseInstrName() argument
145 OpCode = InstrInfo->getValue(); in parseInstrName()
492 bool parseMachineOperand(const unsigned OpCode, const unsigned OpIdx,
495 bool parseMachineOperandAndTargetFlags(const unsigned OpCode,
518 bool parseTargetImmMnemonic(const unsigned OpCode, const unsigned OpIdx,
546 bool parseInstruction(unsigned &OpCode, unsigned &Flags);
1064 unsigned OpCode, Flags = 0; in parse() local
1065 if (Token.isError() || parseInstruction(OpCode, Flags)) in parse()
1079 if (parseMachineOperandAndTargetFlags(OpCode, Operands.size(), MO, TiedDefIdx)) in parse()
1169 const auto &MCID = MF.getSubtarget().getInstrInfo()->get(OpCode); in parse()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/
H A DLVReader.h231 LVOperation *createOperation(LVSmall OpCode, ArrayRef<LVUnsigned> Operands) { in LV_CREATE_OBJECT()
232 return new (AllocatedOperation.Allocate()) LVOperation(OpCode, Operands); in LV_CREATE_OBJECT()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DValue.cpp61 unsigned OpCode = 0; in Value() local
63 OpCode = SubclassID - InstructionVal; in Value()
64 if (OpCode == Instruction::Call || OpCode == Instruction::Invoke || in Value()
65 OpCode == Instruction::CallBr) in Value()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeFunctionSymbol.cpp69 switch (Annot.OpCode) { in inlineSiteContainsAddress()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVModuleAnalysis.cpp429 const unsigned OpCode = MI.getOpcode(); in processOtherInstrs() local
430 if (OpCode == SPIRV::OpName || OpCode == SPIRV::OpMemberName) { in processOtherInstrs()
432 } else if (OpCode == SPIRV::OpEntryPoint) { in processOtherInstrs()
441 } else if (OpCode == SPIRV::OpFunction) { in processOtherInstrs()
443 } else if (OpCode == SPIRV::OpTypeForwardPointer) { in processOtherInstrs()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/MIRParser/
H A DMIParser.h104 bool parseInstrName(StringRef InstrName, unsigned &OpCode);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp1160 unsigned OpCode) const;
1386 unsigned OpCode) const { in getSCEVByOpCode()
1387 switch (OpCode) { in getSCEVByOpCode()
1664 const unsigned OpCode = NarrowUse->getOpcode(); in widenWithVariantUse() local
1666 if (OpCode != Instruction::Add && OpCode != Instruction::Sub && in widenWithVariantUse()
1667 OpCode != Instruction::Mul) in widenWithVariantUse()
1738 if (OpCode != Instruction::Add) in widenWithVariantUse()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCheckObjCDealloc.cpp421 BinaryOperator::Opcode OpCode = CondBSE->getOpcode(); in evalAssume() local
423 if (OpCode != BO_EQ) in evalAssume()
426 if (OpCode != BO_NE) in evalAssume()

123