Home
last modified time | relevance | path

Searched refs:Type (Results 1 – 25 of 2750) sorted by relevance

12345678910>>...110

/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCELFObjectWriter.cpp31 bool needsRelocateWithSymbol(const MCValue &, unsigned Type) const override;
97 unsigned Type = 0; in getRelocType() local
110 Type = ELF::R_PPC_REL24; in getRelocType()
113 Type = ELF::R_PPC_PLTREL24; in getRelocType()
116 Type = ELF::R_PPC_LOCAL24PC; in getRelocType()
119 Type = ELF::R_PPC64_REL24_NOTOC; in getRelocType()
125 Type = ELF::R_PPC_REL14; in getRelocType()
152 Type = ELF::R_PPC64_PCREL34; in getRelocType()
155 Type = ELF::R_PPC64_GOT_PCREL34; in getRelocType()
158 Type = ELF::R_PPC64_GOT_TLSGD_PCREL34; in getRelocType()
[all …]
/freebsd/contrib/llvm-project/libc/src/__support/fixed_point/
H A Dfx_rep.h28 using Type = typename cpp::conditional_t< member
41 using Type = short _Fract;
49 LIBC_INLINE static constexpr Type MIN() { return SFRACT_MIN; }
50 LIBC_INLINE static constexpr Type MAX() { return SFRACT_MAX; }
51 LIBC_INLINE static constexpr Type ZERO() { return 0.0HR; }
52 LIBC_INLINE static constexpr Type EPS() { return SFRACT_EPSILON; }
53 LIBC_INLINE static constexpr Type ONE_HALF() { return 0.5HR; }
54 LIBC_INLINE static constexpr Type ONE_FOURTH() { return 0.25HR; }
56 using StorageType = typename internal::Storage<TOTAL_LEN>::Type;
61 using Type = unsigned short fract;
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDerivedTypes.h42 class IntegerType : public Type {
46 explicit IntegerType(LLVMContext &C, unsigned NumBits) : Type(C, IntegerTyID){ in IntegerType()
70 return Type::getIntNTy(getContext(), 2 * getScalarSizeInBits()); in getExtendedType()
94 static bool classof(const Type *T) { in classof()
99 unsigned Type::getIntegerBitWidth() const { in getIntegerBitWidth()
105 class FunctionType : public Type {
106 FunctionType(Type *Result, ArrayRef<Type*> Params, bool IsVarArgs);
113 LLVM_ABI static FunctionType *get(Type *Result, ArrayRef<Type *> Params,
117 LLVM_ABI static FunctionType *get(Type *Result, bool isVarArg);
120 LLVM_ABI static bool isValidReturnType(Type *RetTy);
[all …]
H A DType.h45 class Type {
93 explicit Type(LLVMContext &C, TypeID tid) in Type() function
95 ~Type() = default;
113 Type * const *ContainedTys = nullptr;
209 LLVM_ABI bool isScalableTy(SmallPtrSetImpl<const Type *> &Visited) const;
215 containsNonGlobalTargetExtType(SmallPtrSetImpl<const Type *> &Visited) const;
221 containsNonLocalTargetExtType(SmallPtrSetImpl<const Type *> &Visited) const;
281 LLVM_ABI bool canLosslesslyBitCastTo(Type *Ty) const;
308 bool isSized(SmallPtrSetImpl<Type*> *Visited = nullptr) const {
349 inline Type *getScalarType() const { in getScalarType()
[all …]
H A DDataLayout.h158 Align getAlignment(Type *Ty, bool abi_or_pref) const;
379 bool isNonIntegralPointerType(Type *Ty) const { in isNonIntegralPointerType()
416 LLVM_ABI unsigned getPointerTypeSizeInBits(Type *) const;
422 LLVM_ABI unsigned getIndexTypeSizeInBits(Type *Ty) const;
427 unsigned getAddressSizeInBits(Type *Ty) const { in getAddressSizeInBits()
431 unsigned getPointerTypeSize(Type *Ty) const { in getPointerTypeSize()
459 TypeSize getTypeSizeInBits(Type *Ty) const;
468 TypeSize getTypeStoreSize(Type *Ty) const { in getTypeStoreSize()
481 TypeSize getTypeStoreSizeInBits(Type *Ty) const { in getTypeStoreSizeInBits()
492 bool typeSizeEqualsStoreSize(Type *Ty) const { in typeSizeEqualsStoreSize()
[all …]
H A DVectorTypeUtils.h20 inline Type *toVectorTy(Type *Scalar, ElementCount EC) { in toVectorTy()
26 inline Type *toVectorTy(Type *Scalar, unsigned VF) { in toVectorTy()
34 LLVM_ABI Type *toVectorizedStructTy(StructType *StructTy, ElementCount EC);
38 LLVM_ABI Type *toScalarizedStructTy(StructType *StructTy);
55 inline Type *toVectorizedTy(Type *Ty, ElementCount EC) { in toVectorizedTy()
65 inline Type *toScalarizedTy(Type *Ty) { in toScalarizedTy()
73 inline bool isVectorizedTy(Type *Ty) { in isVectorizedTy()
85 inline bool canVectorizeTy(Type *Ty) { in canVectorizeTy()
93 inline ArrayRef<Type *> getContainedTypes(Type *const &Ty) { in getContainedTypes()
96 return ArrayRef<Type *>(&Ty, 1); in getContainedTypes()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DType.cpp39 Type *Type::getPrimitiveType(LLVMContext &C, TypeID IDNumber) { in getPrimitiveType()
58 bool Type::isIntegerTy(unsigned Bitwidth) const { in isIntegerTy()
62 bool Type::isScalableTy(SmallPtrSetImpl<const Type *> &Visited) const { in isScalableTy()
70 bool Type::isScalableTy() const { in isScalableTy()
71 SmallPtrSet<const Type *, 4> Visited; in isScalableTy()
75 bool Type::containsNonGlobalTargetExtType( in containsNonGlobalTargetExtType()
76 SmallPtrSetImpl<const Type *> &Visited) const { in containsNonGlobalTargetExtType()
86 bool Type::containsNonGlobalTargetExtType() const { in containsNonGlobalTargetExtType()
87 SmallPtrSet<const Type *, 4> Visited; in containsNonGlobalTargetExtType()
91 bool Type::containsNonLocalTargetExtType( in containsNonLocalTargetExtType()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DRelocationResolver.cpp39 static bool supportsX86_64(uint64_t Type) { in supportsX86_64() argument
40 switch (Type) { in supportsX86_64()
55 static uint64_t resolveX86_64(uint64_t Type, uint64_t Offset, uint64_t S, in resolveX86_64() argument
57 switch (Type) { in resolveX86_64()
75 static bool supportsAArch64(uint64_t Type) { in supportsAArch64() argument
76 switch (Type) { in supportsAArch64()
88 static uint64_t resolveAArch64(uint64_t Type, uint64_t Offset, uint64_t S, in resolveAArch64() argument
90 switch (Type) { in resolveAArch64()
106 static bool supportsBPF(uint64_t Type) { in supportsBPF() argument
107 switch (Type) { in supportsBPF()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/SandboxIR/
H A DType.cpp14 Type *Type::getScalarType() const { in getScalarType()
18 Type *Type::getInt64Ty(Context &Ctx) { in getInt64Ty()
19 return Ctx.getType(llvm::Type::getInt64Ty(Ctx.LLVMCtx)); in getInt64Ty()
21 Type *Type::getInt32Ty(Context &Ctx) { in getInt32Ty()
22 return Ctx.getType(llvm::Type::getInt32Ty(Ctx.LLVMCtx)); in getInt32Ty()
24 Type *Type::getInt16Ty(Context &Ctx) { in getInt16Ty()
25 return Ctx.getType(llvm::Type::getInt16Ty(Ctx.LLVMCtx)); in getInt16Ty()
27 Type *Type::getInt8Ty(Context &Ctx) { in getInt8Ty()
28 return Ctx.getType(llvm::Type::getInt8Ty(Ctx.LLVMCtx)); in getInt8Ty()
30 Type *Type::getInt1Ty(Context &Ctx) { in getInt1Ty()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Datomic_helpers.h32 typedef u8 Type; typedef
33 volatile Type ValDoNotUse;
37 typedef u16 Type; typedef
38 volatile Type ValDoNotUse;
42 typedef s32 Type; typedef
43 volatile Type ValDoNotUse;
47 typedef u32 Type; typedef
48 volatile Type ValDoNotUse;
52 typedef u64 Type; typedef
54 alignas(8) volatile Type ValDoNotUs
58 typedef uptr Type; global() typedef
[all...]
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DTypeNodes.td53 def Type : TypeNode<?, 1>;
54 def BuiltinType : TypeNode<Type>, LeafType;
55 def ComplexType : TypeNode<Type>;
56 def PointerType : TypeNode<Type>;
57 def BlockPointerType : TypeNode<Type>;
58 def ReferenceType : TypeNode<Type, 1>;
61 def MemberPointerType : TypeNode<Type>;
62 def ArrayType : TypeNode<Type, 1>;
68 def DependentSizedExtVectorType : TypeNode<Type>, AlwaysDependent;
69 def DependentAddressSpaceType : TypeNode<Type>, AlwaysDependent;
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILOpBuilder.cpp83 static OverloadKind getOverloadKind(Type *Ty) { in getOverloadKind()
87 Type::TypeID T = Ty->getTypeID(); in getOverloadKind()
89 case Type::VoidTyID: in getOverloadKind()
91 case Type::HalfTyID: in getOverloadKind()
93 case Type::FloatTyID: in getOverloadKind()
95 case Type::DoubleTyID: in getOverloadKind()
97 case Type::IntegerTyID: { in getOverloadKind()
116 case Type::PointerTyID: in getOverloadKind()
118 case Type::StructTyID: { in getOverloadKind()
129 static std::string getTypeName(OverloadKind Kind, Type *Ty) { in getTypeName()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DType.h47 class Type {
49 llvm::Type *LLVMTy;
78 Type(llvm::Type *LLVMTy, Context &Ctx) : LLVMTy(LLVMTy), Ctx(Ctx) {} in Type() function
80 ~Type() = default;
207 bool canLosslesslyBitCastTo(Type *Ty) const { in canLosslesslyBitCastTo()
231 bool isSized(SmallPtrSetImpl<Type *> *Visited = nullptr) const {
232 SmallPtrSet<llvm::Type *, 8> LLVMVisited;
234 for (Type *Ty : *Visited)
268 LLVM_ABI Type *getScalarType() const;
272 LLVM_ABI static Type *getInt64Ty(Context &Ctx);
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86ELFObjectWriter.cpp38 bool needsRelocateWithSymbol(const MCValue &, unsigned Type) const override;
40 void checkIs32(SMLoc Loc, X86_64RelType Type) const;
41 void checkIs64(SMLoc Loc, X86_64RelType Type) const;
43 X86_32RelType Type, bool IsPCRel,
46 X86_64RelType Type, bool IsPCRel,
97 void X86ELFObjectWriter::checkIs32(SMLoc Loc, X86_64RelType Type) const { in checkIs32()
98 if (Type != RT64_32) in checkIs32()
102 void X86ELFObjectWriter::checkIs64(SMLoc Loc, X86_64RelType Type) const { in checkIs64()
103 if (Type != RT64_64) in checkIs64()
108 X86_64RelType Type, bool IsPCRel, in getRelocType64() argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/BinaryFormat/
H A DMsgPackReader.cpp36 Obj.Kind = Type::Nil; in read()
39 Obj.Kind = Type::Boolean; in read()
43 Obj.Kind = Type::Boolean; in read()
47 Obj.Kind = Type::Int; in read()
50 Obj.Kind = Type::Int; in read()
53 Obj.Kind = Type::Int; in read()
56 Obj.Kind = Type::Int; in read()
59 Obj.Kind = Type::UInt; in read()
62 Obj.Kind = Type::UInt; in read()
65 Obj.Kind = Type::UInt; in read()
[all …]
H A DMsgPackDocumentYAML.cpp39 case msgpack::Type::String: in toString()
42 case msgpack::Type::Nil: in toString()
44 case msgpack::Type::Boolean: in toString()
47 case msgpack::Type::Int: in toString()
50 case msgpack::Type::UInt: in toString()
56 case msgpack::Type::Float: in toString()
111 if (getKind() == msgpack::Type::Nil) in getYAMLTag()
121 if (N.getKind() == msgpack::Type::UInt && getKind() == msgpack::Type::Int) in getYAMLTag()
123 if (N.getKind() == msgpack::Type::Int && getKind() == msgpack::Type::UInt) in getYAMLTag()
127 case msgpack::Type::String: in getYAMLTag()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DMsgPackDocument.h34 Type Kind;
71 bool isMap() const { return getKind() == Type::Map; } in isMap()
72 bool isArray() const { return getKind() == Type::Array; } in isArray()
74 bool isString() const { return getKind() == Type::String; } in isString()
79 bool isEmpty() const { return !KindAndDoc || getKind() == Type::Empty; } in isEmpty()
80 Type getKind() const { return KindAndDoc->Kind; } in getKind()
84 assert(getKind() == Type::Int); in getInt()
89 assert(getKind() == Type::UInt); in getUInt()
94 assert(getKind() == Type::Boolean); in getBool()
99 assert(getKind() == Type::Float); in getFloat()
[all …]
/freebsd/sys/contrib/dev/acpica/components/executer/
H A Dexresolv.c275 switch (StackDesc->Common.Type) in AcpiExResolveObjectToValue()
377 if ((StackDesc->Reference.Node->Type == ACPI_TYPE_DEVICE) || in AcpiExResolveObjectToValue()
378 (StackDesc->Reference.Node->Type == ACPI_TYPE_THERMAL)) in AcpiExResolveObjectToValue()
422 StackDesc, StackDesc->Common.Type)); in AcpiExResolveObjectToValue()
466 ACPI_OBJECT_TYPE Type; in AcpiExResolveMultiple() local
479 Type = ObjDesc->Common.Type; in AcpiExResolveMultiple()
484 Type = ((ACPI_NAMESPACE_NODE *) ObjDesc)->Type; in AcpiExResolveMultiple()
489 if (Type == ACPI_TYPE_LOCAL_ALIAS) in AcpiExResolveMultiple()
491 Type = ((ACPI_NAMESPACE_NODE *) ObjDesc)->Type; in AcpiExResolveMultiple()
496 switch (Type) in AcpiExResolveMultiple()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVUtils.h250 Type *getMDOperandAsType(const MDNode *N, unsigned I);
260 bool isSpecialOpaqueType(const Type *Ty);
266 Type *parseBasicTypeName(StringRef &TypeName, LLVMContext &Ctx);
278 inline bool isTypedPointerTy(const Type *T) { in isTypedPointerTy()
279 return T && T->getTypeID() == Type::TypedPointerTyID; in isTypedPointerTy()
283 inline bool isUntypedPointerTy(const Type *T) { in isUntypedPointerTy()
284 return T && T->getTypeID() == Type::PointerTyID; in isUntypedPointerTy()
288 inline bool isPointerTy(const Type *T) { in isPointerTy()
294 inline unsigned getPointerAddressSpace(const Type *T) { in getPointerAddressSpace()
295 Type *SubT = T->getScalarType(); in getPointerAddressSpace()
[all …]
H A DSPIRVGlobalRegistry.h41 DenseMap<SPIRVType *, const Type *> SPIRVToLLVMType;
55 DenseMap<Value *, Type *> MutatedAggRet;
57 DenseMap<MachineInstr *, std::pair<Type *, std::string>> ValueAttrs;
59 SmallPtrSet<const Type *, 4> TypesInProcessing;
60 DenseMap<const Type *, SPIRVType *> ForwardPointerTypes;
77 DenseMap<Value *, Type *> DeducedElTys;
80 DenseMap<Value *, Type *> DeducedNestedTys;
92 SPIRVType *createSPIRVType(const Type *Type, MachineIRBuilder &MIRBuilder,
95 SPIRVType *findSPIRVType(const Type *Ty, MachineIRBuilder &MIRBuilder,
99 restOfCreateSPIRVType(const Type *Type, MachineIRBuilder &MIRBuilder,
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVType.cpp252 for (LVType *Type : *Types) { in getParameters()
253 if (!Type->getIsTemplateParam()) in getParameters()
256 if (Type->getIsKindType()) in getParameters()
257 TypesParam->push_back(Type->getTypeAsType()); in getParameters()
258 else if (Type->getIsKindScope()) in getParameters()
259 ScopesParam->push_back(Type->getTypeAsScope()); in getParameters()
261 TypesParam->push_back(Type); in getParameters()
265 bool LVType::equals(const LVType *Type) const { in equals()
266 return LVElement::equals(Type); in equals()
312 LVType *Type = getTypeAsType(); in getUnderlyingType() local
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_atomic.h42 typedef u8 Type; typedef
43 volatile Type val_dont_use;
47 typedef u16 Type; typedef
48 volatile Type val_dont_use;
52 typedef s32 Type; typedef
53 volatile Type val_dont_use;
57 typedef u32 Type; typedef
58 volatile Type val_dont_use;
62 typedef u64 Type; typedef
64 alignas(8) volatile Type val_dont_use;
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTypes.cpp103 llvm::Type *CodeGenTypes::ConvertTypeForMem(QualType T) { in ConvertTypeForMem()
105 const Type *Ty = Context.getCanonicalType(T).getTypePtr(); in ConvertTypeForMem()
111 llvm::Type *R = ConvertType(T); in ConvertTypeForMem()
118 llvm::Type *IRElemTy = ConvertTypeForMem(Context.BoolTy); in ConvertTypeForMem()
157 llvm::Type *LLVMTy) { in typeRequiresSplitIntoByteArray()
167 llvm::Type *CodeGenTypes::convertTypeForLoadStore(QualType T, in convertTypeForLoadStore()
168 llvm::Type *LLVMTy) { in convertTypeForLoadStore()
173 return llvm::Type::getIntNTy( in convertTypeForLoadStore()
188 bool CodeGenTypes::isRecordLayoutComplete(const Type *Ty) const { in isRecordLayoutComplete()
189 llvm::DenseMap<const Type*, llvm::StructType *>::const_iterator I = in isRecordLayoutComplete()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DType.cpp110 const Type *ty = getTypePtr(); in getBaseTypeIdentifier()
118 else if (ty->getTypeClass() == Type::Typedef) in getBaseTypeIdentifier()
182 : Type(tc, can, in ArrayType()
304 : Type(DependentVector, CanonType, in DependentVectorType()
326 : Type(DependentSizedExtVector, can, in DependentSizedExtVectorType()
345 : Type(DependentAddressSpace, can, in DependentAddressSpaceType()
362 : Type(tc, canonType, in MatrixType()
413 : Type(tc, canonType, vecType->getDependence()), ElementType(vecType) { in VectorType()
418 bool Type::isPackedVectorBoolType(const ASTContext &ctx) const { in isPackedVectorBoolType()
425 : Type(BitInt, QualType{}, TypeDependence::None), IsUnsigned(IsUnsigned), in BitIntType()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.h38 class Type; variable
62 bool isWideningInstruction(Type *DstTy, unsigned Opcode,
64 Type *SrcOverrideTy = nullptr) const;
74 unsigned Opcode, Type *Val, TTI::TargetCostKind CostKind, unsigned Index,
87 const ArrayRef<Type *> &Types) const override;
101 InstructionCost getIntImmCost(const APInt &Imm, Type *Ty,
104 const APInt &Imm, Type *Ty,
109 Type *Ty, TTI::TargetCostKind CostKind) const override;
178 getMaskedMemoryOpCost(unsigned Opcode, Type *Src, Align Alignment,
183 getGatherScatterOpCost(unsigned Opcode, Type *DataTy, const Value *Ptr,
[all …]

12345678910>>...110