Home
last modified time | relevance | path

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

12345678910>>...80

/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCELFObjectWriter.cpp80 unsigned Type; in getRelocType() local
90 Type = ELF::R_PPC_REL24; in getRelocType()
102 Type = ELF::R_PPC_REL14; in getRelocType()
108 Type = ELF::R_PPC_REL16; in getRelocType()
127 Type = ELF::R_PPC_REL32; in getRelocType()
131 Type = ELF::R_PPC64_REL64; in getRelocType()
138 Type = ELF::R_PPC_ADDR24; in getRelocType()
177 Type = ELF::R_PPC_GOT16; in getRelocType()
415 Type = ELF::R_PPC_ADDR32; in getRelocType()
422 return Type; in getRelocType()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DDerivedTypes.h40 class IntegerType : public Type {
103 class FunctionType : public Type {
104 FunctionType(Type *Result, ArrayRef<Type*> Params, bool IsVarArgs);
130 ArrayRef<Type *> params() const { in params()
149 bool Type::isFunctionVarArg() const { in isFunctionVarArg()
153 Type *Type::getFunctionParamType(unsigned i) const { in getFunctionParamType()
162 class CompositeType : public Type {
254 get(Type *elt1, Tys *... elts) { in get()
333 Type *Type::getStructElementType(unsigned N) const { in getStructElementType()
467 class PointerType : public Type {
[all …]
H A DType.h46 class Type {
93 ~Type() = default;
111 Type * const *ContainedTys = nullptr;
304 Type *getScalarType() const { in getScalarType()
307 return const_cast<Type*>(this); in getScalarType()
317 ArrayRef<Type*> subtypes() const { in subtypes()
416 return (Type*) Type::getIntNTy(C, noOfBits); in getScalarTy()
420 return Type::getFloatTy(C); in getScalarTy()
422 return Type::getDoubleTy(C); in getScalarTy()
475 using NodeRef = Type *;
[all …]
H A DDataLayout.h473 Type *getIntPtrType(Type *) const;
492 Type *getIndexType(Type *PtrTy) const;
571 case Type::LabelTyID: in getTypeSizeInBits()
573 case Type::PointerTyID: in getTypeSizeInBits()
575 case Type::ArrayTyID: { in getTypeSizeInBits()
580 case Type::StructTyID: in getTypeSizeInBits()
583 case Type::IntegerTyID: in getTypeSizeInBits()
585 case Type::HalfTyID: in getTypeSizeInBits()
587 case Type::FloatTyID: in getTypeSizeInBits()
589 case Type::DoubleTyID: in getTypeSizeInBits()
[all …]
H A DConstants.h98 static Constant *getTrue(Type *Ty);
99 static Constant *getFalse(Type *Ty);
269 ConstantFP(Type *Ty, const APFloat& V);
285 static Constant *get(Type* Ty, double V);
298 static Constant *getNegativeZero(Type *Ty);
344 explicit ConstantAggregateZero(Type *Ty) in ConstantAggregateZero()
352 static ConstantAggregateZero *get(Type *Ty);
638 Type *getElementType() const;
911 static Constant *getAlignOf(Type *Ty);
917 static Constant *getSizeOf(Type *Ty);
[all …]
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DValueTypes.cpp281 MVT MVT::getVT(Type *Ty, bool HandleUnknown){ in getVT()
286 case Type::VoidTyID: in getVT()
288 case Type::IntegerTyID: in getVT()
290 case Type::HalfTyID: return MVT(MVT::f16); in getVT()
291 case Type::FloatTyID: return MVT(MVT::f32); in getVT()
292 case Type::DoubleTyID: return MVT(MVT::f64); in getVT()
293 case Type::X86_FP80TyID: return MVT(MVT::f80); in getVT()
298 case Type::VectorTyID: { in getVT()
309 EVT EVT::getEVT(Type *Ty, bool HandleUnknown){ in getEVT()
313 case Type::IntegerTyID: in getEVT()
[all …]
/freebsd-12.1/contrib/llvm/lib/IR/
H A DType.cpp39 Type *Type::getPrimitiveType(LLVMContext &C, TypeID IDNumber) { in getPrimitiveType()
61 bool Type::canLosslesslyBitCastTo(Type *Ty) const { in canLosslesslyBitCastTo()
147 bool Type::isSizedDerivedType(SmallPtrSetImpl<Type*> *Visited) const { in isSizedDerivedType()
161 Type *Type::getVoidTy(LLVMContext &C) { return &C.pImpl->VoidTy; } in getVoidTy()
162 Type *Type::getLabelTy(LLVMContext &C) { return &C.pImpl->LabelTy; } in getLabelTy()
163 Type *Type::getHalfTy(LLVMContext &C) { return &C.pImpl->HalfTy; } in getHalfTy()
164 Type *Type::getFloatTy(LLVMContext &C) { return &C.pImpl->FloatTy; } in getFloatTy()
167 Type *Type::getTokenTy(LLVMContext &C) { return &C.pImpl->TokenTy; } in getTokenTy()
169 Type *Type::getFP128Ty(LLVMContext &C) { return &C.pImpl->FP128Ty; } in getFP128Ty()
277 FunctionType::FunctionType(Type *Result, ArrayRef<Type*> Params, in FunctionType()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h48 class Type; variable
537 bool isTruncateFree(Type *Ty1, Type *Ty2) const;
787 int getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
1080 virtual bool isTruncateFree(Type *Ty1, Type *Ty2) = 0;
1138 virtual int getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
1164 virtual int getMinMaxReductionCost(Type *Ty, Type *CondTy,
1228 int getOperationCost(unsigned Opcode, Type *Ty, Type *OpTy) override { in getOperationCost()
1335 bool isTruncateFree(Type *Ty1, Type *Ty2) override { in isTruncateFree()
1472 int getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src, in getCastInstrCost()
1483 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, in getCmpSelInstrCost()
[all …]
H A DTargetTransformInfoImpl.h48 unsigned getOperationCost(unsigned Opcode, Type *Ty, Type *OpTy) { in getOperationCost()
282 bool isTruncateFree(Type *Ty1, Type *Ty2) { return false; } in isTruncateFree()
345 Type *Ty) { in getIntImmCost()
350 Type *Ty) { in getIntImmCost()
418 unsigned getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src, in getCastInstrCost()
428 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, in getCmpSelInstrCost()
472 unsigned getCallInstrCost(Function *F, Type *RetTy, ArrayRef<Type *> Tys) { in getCallInstrCost()
485 unsigned getMinMaxReductionCost(Type *, Type *, bool, bool) { return 1; } in getMinMaxReductionCost() argument
509 return Type::getInt8Ty(Context); in getMemcpyLoopLoweringType()
730 Type *TargetType = nullptr; in getGEPCost()
[all …]
/freebsd-12.1/contrib/llvm/tools/lld/ELF/Arch/
H A DAArch64.cpp80 switch (Type) { in getRelExpr()
133 switch (Type) { in usesOnlyLowPageBits()
151 if (Type == R_AARCH64_ABS32 || Type == R_AARCH64_ABS64) in getDynRel()
152 return Type; in getDynRel()
203 if (Type != R_AARCH64_CALL26 && Type != R_AARCH64_JUMP26) in needsThunk()
217 if (Type != R_AARCH64_CALL26 && Type != R_AARCH64_JUMP26) in inBranchRange()
252 switch (Type) { in relocateOne()
370 checkUInt(Loc, Val, 32, Type); in relaxTlsGdToLe()
372 switch (Type) { in relaxTlsGdToLe()
401 switch (Type) { in relaxTlsGdToIe()
[all …]
H A DMips.cpp85 Type &= 0xff; in getRelExpr()
87 switch (Type) { in getRelExpr()
184 if (Type == R_MIPS_32 || Type == R_MIPS_64) in getDynRel()
349 if (Type != R_MIPS_26 && Type != R_MICROMIPS_26_S1 && in needsThunk()
367 switch (Type) { in getImplicitAddend()
458 Twine(Type)); in calculateMipsRelChain()
467 std::tie(Type, Val) = calculateMipsRelChain(Loc, Type, Val); in relocateOne()
472 Type == R_MIPS_TLS_DTPREL32 || Type == R_MIPS_TLS_DTPREL64 || in relocateOne()
477 Type == R_MIPS_TLS_TPREL32 || Type == R_MIPS_TLS_TPREL64 || in relocateOne()
483 switch (Type) { in relocateOne()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.h66 unsigned Opcode, Type *Ty,
72 int getShuffleCost(TTI::ShuffleKind Kind, Type *Tp, int Index, Type *SubTp);
73 int getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
75 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
99 int getMinMaxReductionCost(Type *Ty, Type *CondTy, bool IsPairwiseForm,
126 Type *Ty);
130 bool isLegalMaskedLoad(Type *DataType);
131 bool isLegalMaskedStore(Type *DataType);
132 bool isLegalMaskedGather(Type *DataType);
133 bool isLegalMaskedScatter(Type *DataType);
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DTypeNodes.def62 TYPE(Builtin, Type)
63 TYPE(Complex, Type)
64 TYPE(Pointer, Type)
65 TYPE(BlockPointer, Type)
69 TYPE(MemberPointer, Type)
70 ABSTRACT_TYPE(Array, Type)
77 TYPE(Vector, Type)
92 ABSTRACT_TYPE(Tag, Type)
109 TYPE(ObjCObject, Type)
112 TYPE(Pipe, Type)
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DMachineInstr.h620 return hasProperty(MCID::Pseudo, Type);
624 return hasProperty(MCID::Return, Type);
634 return hasProperty(MCID::Call, Type);
641 return hasProperty(MCID::Barrier, Type);
658 return hasProperty(MCID::Branch, Type);
672 return isBranch(Type) & !isBarrier(Type) & !isIndirectBranch(Type);
680 return isBranch(Type) & isBarrier(Type) & !isIndirectBranch(Type);
695 return hasProperty(MCID::Compare, Type);
701 return hasProperty(MCID::MoveImm, Type);
717 return hasProperty(MCID::Select, Type);
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.h42 int getIntImmCost(const APInt &Imm, Type *Ty);
46 Type *Ty);
67 bool hasDivRemOp(Type *DataType, bool IsSigned);
74 unsigned Opcode, Type *Ty,
80 int getShuffleCost(TTI::ShuffleKind Kind, Type *Tp, int Index, Type *SubTp);
81 unsigned getVectorTruncCost(Type *SrcTy, Type *DstTy);
82 unsigned getVectorBitmaskConversionCost(Type *SrcTy, Type *DstTy);
85 int getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
87 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
102 int getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy,
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/MC/
H A DMCELFObjectWriter.h35 unsigned Type; // The type of the relocation. member
43 : Offset(Offset), Symbol(Symbol), Type(Type), Addend(Addend), in ELFRelocationEntry()
118 uint8_t getRType(uint32_t Type) const { in getRType() argument
119 return (unsigned)((Type >> R_TYPE_SHIFT) & 0xff); in getRType()
121 uint8_t getRType2(uint32_t Type) const { in getRType2() argument
122 return (unsigned)((Type >> R_TYPE2_SHIFT) & 0xff); in getRType2()
124 uint8_t getRType3(uint32_t Type) const { in getRType3() argument
125 return (unsigned)((Type >> R_TYPE3_SHIFT) & 0xff); in getRType3()
127 uint8_t getRSsym(uint32_t Type) const { in getRSsym() argument
128 return (unsigned)((Type >> R_SSYM_SHIFT) & 0xff); in getRSsym()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsELFObjectWriter.cpp143 unsigned Type = Reloc.Type; in getMatchingLoType() local
295 Type = setRType((unsigned)ELF::R_MIPS_GPREL32, Type); in getRelocType()
296 Type = setRType2((unsigned)ELF::R_MIPS_64, Type); in getRelocType()
297 Type = setRType3((unsigned)ELF::R_MIPS_NONE, Type); in getRelocType()
335 Type = setRType((unsigned)ELF::R_MIPS_GPREL16, Type); in getRelocType()
336 Type = setRType2((unsigned)ELF::R_MIPS_SUB, Type); in getRelocType()
337 Type = setRType3((unsigned)ELF::R_MIPS_HI16, Type); in getRelocType()
343 Type = setRType2((unsigned)ELF::R_MICROMIPS_SUB, Type); in getRelocType()
349 Type = setRType((unsigned)ELF::R_MIPS_GPREL16, Type); in getRelocType()
350 Type = setRType2((unsigned)ELF::R_MIPS_SUB, Type); in getRelocType()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DType.cpp261 const Type *Type::getArrayElementTypeNoTypeQual() const { in getArrayElementTypeNoTypeQual()
419 const Type *Type::getUnqualifiedDesugaredType() const { in getUnqualifiedDesugaredType()
1967 Type::ScalarTypeKind Type::getScalarTypeKind() const { in getScalarTypeKind()
2144 case Type::Enum: in isCXX98PODType()
3511 case Type::Auto: in computeCachedProperties()
3581 case Type::Pipe: in computeCachedProperties()
3617 case Type::Auto: in computeTypeLinkageInfo()
3622 case Type::Enum: in computeTypeLinkageInfo()
3665 case Type::Pipe: in computeTypeLinkageInfo()
3737 case Type::Auto: in canHaveNullability()
[all …]
/freebsd-12.1/contrib/llvm/lib/BinaryFormat/
H A DMsgPackReader.cpp37 Obj.Kind = Type::Nil; in read()
48 Obj.Kind = Type::Int; in read()
51 Obj.Kind = Type::Int; in read()
54 Obj.Kind = Type::Int; in read()
57 Obj.Kind = Type::Int; in read()
60 Obj.Kind = Type::UInt; in read()
63 Obj.Kind = Type::UInt; in read()
66 Obj.Kind = Type::UInt; in read()
69 Obj.Kind = Type::UInt; in read()
114 Obj.Kind = Type::Map; in read()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.h47 bool isTypeForHVX(Type *VecTy) const;
52 unsigned getTypeNumElements(Type *Ty) const;
108 unsigned getCallInstrCost(Function *F, Type *RetTy, ArrayRef<Type*> Tys);
109 unsigned getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy,
111 unsigned getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy,
112 ArrayRef<Type*> Tys, FastMathFlags FMF,
114 unsigned getAddressComputationCost(Type *Tp, ScalarEvolution *SE,
121 Type *SubTp);
128 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
130 unsigned getArithmeticInstrCost(unsigned Opcode, Type *Ty,
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenTypes.cpp410 case Type::Builtin: { in ConvertType()
526 case Type::Auto: in ConvertType()
529 case Type::Complex: { in ConvertType()
543 case Type::Pointer: { in ConvertType()
591 case Type::ExtVector: in ConvertType()
592 case Type::Vector: { in ConvertType()
602 case Type::ObjCObject: in ConvertType()
621 llvm::Type *T = in ConvertType()
627 case Type::Enum: { in ConvertType()
657 case Type::Atomic: { in ConvertType()
[all …]
/freebsd-12.1/sys/contrib/dev/acpica/components/executer/
H A Dexresolv.c275 switch (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()
491 Type = ((ACPI_NAMESPACE_NODE *) ObjDesc)->Type; in AcpiExResolveMultiple()
496 switch (Type) in AcpiExResolveMultiple()
666 Type = ObjDesc->Common.Type; in AcpiExResolveMultiple()
672 switch (Type) in AcpiExResolveMultiple()
678 Type = ACPI_TYPE_FIELD_UNIT; in AcpiExResolveMultiple()
685 Type = ACPI_TYPE_ANY; in AcpiExResolveMultiple()
[all …]
/freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_atomic.h31 typedef u8 Type; typedef
32 volatile Type val_dont_use;
36 typedef u16 Type; typedef
37 volatile Type val_dont_use;
41 typedef s32 Type; typedef
42 volatile Type val_dont_use;
46 typedef u32 Type; typedef
47 volatile Type val_dont_use;
51 typedef u64 Type; typedef
57 typedef uptr Type; typedef
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.h38 class Type; variable
60 bool isWideningInstruction(Type *Ty, unsigned Opcode,
76 int getIntImmCost(const APInt &Imm, Type *Ty);
79 Type *Ty);
113 int getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
122 unsigned Opcode, Type *Ty,
131 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
137 int getCostOfKeepingLiveOverCall(ArrayRef<Type *> Tys);
169 bool useReductionIntrinsic(unsigned Opcode, Type *Ty,
172 int getArithmeticReductionCost(unsigned Opcode, Type *Ty,
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/X86/MCTargetDesc/
H A DX86ELFObjectWriter.cpp91 if (Type != RT64_32) in checkIs32()
105 switch (Type) { in getRelocType64()
118 switch (Type) { in getRelocType64()
129 assert(Type == RT64_64); in getRelocType64()
134 switch (Type) { in getRelocType64()
146 switch (Type) { in getRelocType64()
158 switch (Type) { in getRelocType64()
229 switch (Type) { in getRelocType32()
238 assert(Type == RT32_32); in getRelocType32()
249 assert(Type == RT32_32); in getRelocType32()
[all …]

12345678910>>...80