Home
last modified time | relevance | path

Searched refs:OpType (Results 1 – 25 of 43) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Instrumentation/
H A DAddressSanitizerCommon.h29 Type *OpType; variable
40 class Type *OpType, MaybeAlign Alignment,
44 : IsWrite(IsWrite), OpType(OpType), Alignment(Alignment), in IsWrite()
47 TypeStoreSize = DL.getTypeStoreSizeInBits(OpType); in IsWrite()
/freebsd/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DPostfixExpression.h53 enum OpType { enum
59 BinaryOpNode(OpType op_type, Node &left, Node &right) in BinaryOpNode()
62 OpType GetOpType() const { return m_op_type; } in GetOpType()
73 OpType m_op_type;
134 enum OpType { enum
138 UnaryOpNode(OpType op_type, Node &operand) in UnaryOpNode()
141 OpType GetOpType() const { return m_op_type; } in GetOpType()
149 OpType m_op_type;
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVISelLowering.cpp163 SPIRVType *OpType, bool ReuseType, in createNewPtrType() argument
167 OpType->getOperand(1).getImm()); in createNewPtrType()
186 SPIRVType *OpType = GR.getSPIRVTypeForVReg(OpTypeReg, MF); in validatePtrTypes() local
187 if (!ResType || !OpType || OpType->getOpcode() != SPIRV::OpTypePointer) in validatePtrTypes()
190 Register ElemTypeReg = OpType->getOperand(2).getReg(); in validatePtrTypes()
203 createNewPtrType(GR, I, OpType, IsSameMF, ResType, ResTy); in validatePtrTypes()
204 if (!GR.isBitcastCompatible(NewPtrType, OpType)) in validatePtrTypes()
220 SPIRVType *OpType = GR.getSPIRVTypeForVReg(OpTypeReg, MF); in validateGroupWaitEventsPtr() local
221 if (!OpType || OpType->getOpcode() != SPIRV::OpTypePointer) in validateGroupWaitEventsPtr()
223 SPIRVType *ElemType = GR.getSPIRVTypeForVReg(OpType->getOperand(2).getReg()); in validateGroupWaitEventsPtr()
[all …]
H A DSPIRVPreLegalizer.cpp178 SPIRVType *OpType = GR->getSPIRVTypeForVReg(OpReg); in buildOpBitcast() local
179 assert(ResType && OpType && "Operand types are expected"); in buildOpBitcast()
180 if (!GR->isBitcastCompatible(ResType, OpType)) in buildOpBitcast()
185 if (ResType == OpType) in buildOpBitcast()
H A DSPIRVInstructionSelector.cpp166 MachineInstr &I, unsigned OpType) const;
1085 SPIRVType *OpType = OpReg.isValid() ? GR.getSPIRVTypeForVReg(OpReg) : nullptr; in selectBitcast() local
1086 if (!GR.isBitcastCompatible(ResType, OpType)) in selectBitcast()
2840 SPIRVType *OpType = GR.getSPIRVTypeForVReg(OpReg); in wrapIntoSpecConstantOp() local
2842 if (!OpDefine || !OpType || isConstReg(MRI, OpDefine, Visited) || in wrapIntoSpecConstantOp()
2844 GR.isAggregateType(OpType)) { in wrapIntoSpecConstantOp()
2857 WrapReg = MRI->createVirtualRegister(GR.getRegClass(OpType)); in wrapIntoSpecConstantOp()
2861 GR.assignSPIRVTypeToVReg(OpType, WrapReg, *MF); in wrapIntoSpecConstantOp()
2865 .addUse(GR.getSPIRVTypeID(OpType)) in wrapIntoSpecConstantOp()
3720 SPIRVType *OpType = GR.getSPIRVTypeForVReg(OpReg); in selectFirstBitHigh() local
[all …]
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DAsmWriterInst.h26 enum OpType { enum
53 AsmWriterOperand(OpType op = isLiteralTextOperand) : OperandType(op) {} in OperandType()
55 AsmWriterOperand(const std::string &LitStr, OpType op = isLiteralTextOperand)
60 OpType op = isMachineInstrOperand, bool PCRel = false)
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DEvalEmitter.cpp171 template <PrimType OpType> bool EvalEmitter::emitRet(const SourceInfo &Info) { in emitRet()
175 using T = typename PrimConv<OpType>::T; in emitRet()
264 template <PrimType OpType>
269 using T = typename PrimConv<OpType>::T; in emitGetLocal()
276 template <PrimType OpType>
281 using T = typename PrimConv<OpType>::T; in emitSetLocal()
/freebsd/sys/contrib/dev/acpica/components/dispatcher/
H A Ddswexec.c505 UINT32 OpType; in AcpiDsExecEndOp() local
518 OpType = WalkState->OpInfo->Type; in AcpiDsExecEndOp()
592 Status = AcpiGbl_OpTypeDispatch[OpType] (WalkState); in AcpiDsExecEndOp()
636 switch (OpType) in AcpiDsExecEndOp()
865 OpClass, OpType, Op->Common.AmlOpcode, Op)); in AcpiDsExecEndOp()
/freebsd/sys/contrib/dev/acpica/components/parser/
H A Dpsopinfo.c312 UINT32 OpType) in AcpiPsGetArgumentCount() argument
315 if (OpType <= AML_TYPE_EXEC_6A_0T_1R) in AcpiPsGetArgumentCount()
317 return (AcpiGbl_ArgumentCount[OpType]); in AcpiPsGetArgumentCount()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlan.h650 OperationType OpType; variable
665 VPIRFlags() : OpType(OperationType::Other), AllFlags(0) {} in VPIRFlags()
669 OpType = OperationType::Cmp; in VPIRFlags()
672 OpType = OperationType::DisjointOp; in VPIRFlags()
675 OpType = OperationType::OverflowingBinOp; in VPIRFlags()
678 OpType = OperationType::Trunc; in VPIRFlags()
681 OpType = OperationType::PossiblyExactOp; in VPIRFlags()
684 OpType = OperationType::GEPOp; in VPIRFlags()
687 OpType = OperationType::NonNegOp; in VPIRFlags()
690 OpType = OperationType::FPMathOp; in VPIRFlags()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCDwarf.h511 enum OpType : uint8_t { enum
552 OpType Operation;
557 MCCFIInstruction(OpType Op, MCSymbol *L, unsigned R, int64_t O, SMLoc Loc,
564 MCCFIInstruction(OpType Op, MCSymbol *L, unsigned R1, unsigned R2, SMLoc Loc) in MCCFIInstruction()
569 MCCFIInstruction(OpType Op, MCSymbol *L, unsigned R, int64_t O, unsigned AS, in MCCFIInstruction()
576 MCCFIInstruction(OpType Op, MCSymbol *L, MCSymbol *CfiLabel, SMLoc Loc) in MCCFIInstruction()
720 OpType getOperation() const { return Operation; } in getOperation()
/freebsd/contrib/llvm-project/lldb/source/Symbol/
H A DPostfixExpression.cpp24 static std::optional<BinaryOpNode::OpType>
39 static std::optional<UnaryOpNode::OpType>
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUBaseInfo.cpp2606 unsigned OpType = Desc.operands()[OpNo].OperandType; in isSISrcOperand() local
2607 return OpType >= AMDGPU::OPERAND_SRC_FIRST && in isSISrcOperand()
2608 OpType <= AMDGPU::OPERAND_SRC_LAST; in isSISrcOperand()
2613 unsigned OpType = Desc.operands()[OpNo].OperandType; in isKImmOperand() local
2614 return OpType >= AMDGPU::OPERAND_KIMM_FIRST && in isKImmOperand()
2615 OpType <= AMDGPU::OPERAND_KIMM_LAST; in isKImmOperand()
2620 unsigned OpType = Desc.operands()[OpNo].OperandType; in isSISrcFPOperand() local
2621 switch (OpType) { in isSISrcFPOperand()
2641 unsigned OpType = Desc.operands()[OpNo].OperandType; in isSISrcInlinableOperand() local
2642 return (OpType >= AMDGPU::OPERAND_REG_INLINE_C_FIRST && in isSISrcInlinableOperand()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DMatrixBuilder.h112 auto *OpType = cast<VectorType>(Matrix->getType()); variable
114 FixedVectorType::get(OpType->getElementType(), Rows * Columns);
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIRegisterInfo.h307 bool opCanUseLiteralConstant(unsigned OpType) const;
312 bool opCanUseInlineConstant(unsigned OpType) const;
H A DAMDGPUPrintfRuntimeBinding.cpp115 static bool shouldPrintAsStr(char Specifier, Type *OpType) { in shouldPrintAsStr() argument
116 return Specifier == 's' && isa<PointerType>(OpType); in shouldPrintAsStr()
H A DSIFoldOperands.cpp464 uint8_t OpType = TII->get(Opcode).operands()[OpNo].OperandType; in canUseImmWithOpSel() local
465 switch (OpType) { in canUseImmWithOpSel()
490 uint8_t OpType = TII->get(Opcode).operands()[OpNo].OperandType; in tryFoldImmWithOpSel() local
495 if (AMDGPU::isInlinableLiteralV216(ImmVal, OpType)) { in tryFoldImmWithOpSel()
529 if (AMDGPU::isInlinableLiteralV216(Imm, OpType)) { in tryFoldImmWithOpSel()
540 if (AMDGPU::isInlinableLiteralV216(Lo, OpType)) { in tryFoldImmWithOpSel()
548 if (AMDGPU::isInlinableLiteralV216(SExt, OpType)) { in tryFoldImmWithOpSel()
556 if (OpType == AMDGPU::OPERAND_REG_IMM_V2INT16) { in tryFoldImmWithOpSel()
557 if (AMDGPU::isInlinableLiteralV216(Lo << 16, OpType)) { in tryFoldImmWithOpSel()
565 if (AMDGPU::isInlinableLiteralV216(Swapped, OpType)) { in tryFoldImmWithOpSel()
H A DSIRegisterInfo.cpp3638 bool SIRegisterInfo::opCanUseInlineConstant(unsigned OpType) const { in opCanUseInlineConstant()
3639 if (OpType >= AMDGPU::OPERAND_REG_INLINE_AC_FIRST && in opCanUseInlineConstant()
3640 OpType <= AMDGPU::OPERAND_REG_INLINE_AC_LAST) in opCanUseInlineConstant()
3643 return OpType >= AMDGPU::OPERAND_SRC_FIRST && in opCanUseInlineConstant()
3644 OpType <= AMDGPU::OPERAND_SRC_LAST; in opCanUseInlineConstant()
3647 bool SIRegisterInfo::opCanUseLiteralConstant(unsigned OpType) const { in opCanUseLiteralConstant()
3649 return OpType >= AMDGPU::OPERAND_REG_IMM_FIRST && in opCanUseLiteralConstant()
3650 OpType <= AMDGPU::OPERAND_REG_IMM_LAST; in opCanUseLiteralConstant()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZInstrFormats.td36 // counterpart. OpKey uniquely identifies <INSN>R, while OpType is
39 string OpType = "none";
144 let ColFields = ["OpType"];
2867 let OpType = "mem";
2879 let OpType = "mem";
3187 let OpType = "reg";
3196 let OpType = "reg";
3255 let OpType = "mem";
3305 let OpType = "mem";
3316 let OpType = "mem";
[all …]
/freebsd/sys/contrib/dev/acpica/include/
H A Dacdebug.h210 UINT32 OpType))
H A Dacparser.h292 UINT32 OpType);
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DStackMaps.h294 using OpType = enum { DirectMemRefOp, IndirectMemRefOp, ConstantOp };
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/
H A DAMDGPUInstPrinter.h84 void printImmediateV216(uint32_t Imm, uint8_t OpType,
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonInstrInfo.h370 bool isExpr(unsigned OpType) const;
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp8452 Type *OpType = LHS->getType(); in foldFCmpWithFloorAndCeil() local
8470 return new FCmpInst(FCmpInst::FCMP_ORD, RHS, ConstantFP::getZero(OpType), in foldFCmpWithFloorAndCeil()
8481 return new FCmpInst(FCmpInst::FCMP_ORD, RHS, ConstantFP::getZero(OpType), in foldFCmpWithFloorAndCeil()
8497 return new FCmpInst(FCmpInst::FCMP_UNO, RHS, ConstantFP::getZero(OpType), in foldFCmpWithFloorAndCeil()
8508 return new FCmpInst(FCmpInst::FCMP_UNO, RHS, ConstantFP::getZero(OpType), in foldFCmpWithFloorAndCeil()
8536 Type *OpType = Op0->getType(); in visitFCmpInst() local
8537 assert(OpType == Op1->getType() && "fcmp with different-typed operands?"); in visitFCmpInst()
8548 I.setOperand(1, Constant::getNullValue(OpType)); in visitFCmpInst()
8557 I.setOperand(1, Constant::getNullValue(OpType)); in visitFCmpInst()
8575 return replaceOperand(I, 0, ConstantFP::getZero(OpType)); in visitFCmpInst()
[all …]

12