Home
last modified time | relevance | path

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

12345678910>>...44

/freebsd-9-stable/contrib/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64ELFObjectWriter.cpp51 unsigned Type; in GetRelocType() local
63 Type = ELF::R_AARCH64_LD_PREL_LO19; in GetRelocType()
66 Type = ELF::R_AARCH64_ADR_PREL_LO21; in GetRelocType()
69 Type = ELF::R_AARCH64_ADR_PREL_PG_HI21; in GetRelocType()
72 Type = ELF::R_AARCH64_ADR_GOT_PAGE; in GetRelocType()
75 Type = ELF::R_AARCH64_TSTBR14; in GetRelocType()
78 Type = ELF::R_AARCH64_CONDBR19; in GetRelocType()
81 Type = ELF::R_AARCH64_JUMP26; in GetRelocType()
84 Type = ELF::R_AARCH64_CALL26; in GetRelocType()
87 Type = ELF::R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21; in GetRelocType()
[all …]
/freebsd-9-stable/contrib/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCELFObjectWriter.cpp60 unsigned Type; in getRelocTypeInner() local
67 Type = ELF::R_PPC_REL24; in getRelocTypeInner()
71 Type = ELF::R_PPC_REL14; in getRelocTypeInner()
77 Type = ELF::R_PPC_REL16; in getRelocTypeInner()
80 Type = ELF::R_PPC_REL16_LO; in getRelocTypeInner()
83 Type = ELF::R_PPC_REL16_HI; in getRelocTypeInner()
86 Type = ELF::R_PPC_REL16_HA; in getRelocTypeInner()
92 Type = ELF::R_PPC_REL32; in getRelocTypeInner()
96 Type = ELF::R_PPC64_REL64; in getRelocTypeInner()
103 Type = ELF::R_PPC_ADDR24; in getRelocTypeInner()
[all …]
/freebsd-9-stable/contrib/llvm/lib/IR/
DType.cpp26 Type *Type::getPrimitiveType(LLVMContext &C, TypeID IDNumber) { in getPrimitiveType()
45 Type *Type::getScalarType() { in getScalarType()
51 const Type *Type::getScalarType() const { in getScalarType()
58 bool Type::isIntegerTy(unsigned Bitwidth) const { in isIntegerTy()
65 bool Type::canLosslesslyBitCastTo(Type *Ty) const { in canLosslesslyBitCastTo()
80 if (Ty->getTypeID() == Type::X86_MMXTyID && in canLosslesslyBitCastTo()
85 if (this->getTypeID() == Type::X86_MMXTyID) in canLosslesslyBitCastTo()
98 bool Type::isEmptyTy() const { in isEmptyTy()
117 unsigned Type::getPrimitiveSizeInBits() const { in getPrimitiveSizeInBits()
119 case Type::HalfTyID: return 16; in getPrimitiveSizeInBits()
[all …]
DValueTypes.cpp180 Type *EVT::getTypeForEVT(LLVMContext &Context) const { in getTypeForEVT()
185 case MVT::isVoid: return Type::getVoidTy(Context); in getTypeForEVT()
186 case MVT::i1: return Type::getInt1Ty(Context); in getTypeForEVT()
187 case MVT::i8: return Type::getInt8Ty(Context); in getTypeForEVT()
188 case MVT::i16: return Type::getInt16Ty(Context); in getTypeForEVT()
189 case MVT::i32: return Type::getInt32Ty(Context); in getTypeForEVT()
190 case MVT::i64: return Type::getInt64Ty(Context); in getTypeForEVT()
192 case MVT::f16: return Type::getHalfTy(Context); in getTypeForEVT()
193 case MVT::f32: return Type::getFloatTy(Context); in getTypeForEVT()
194 case MVT::f64: return Type::getDoubleTy(Context); in getTypeForEVT()
[all …]
DDIBuilder.cpp29 return ConstantInt::get(Type::getInt32Ty(VMContext), Tag | LLVMDebugVersion); in GetTagConstant()
120 ConstantInt::get(Type::getInt32Ty(VMContext), Lang), in createCompileUnit()
122 ConstantInt::get(Type::getInt1Ty(VMContext), isOptimized), in createCompileUnit()
124 ConstantInt::get(Type::getInt32Ty(VMContext), RunTimeVer), in createCompileUnit()
152 ConstantInt::get(Type::getInt32Ty(C), Line), in createImportedModule()
160 ConstantInt::get(Type::getInt32Ty(C), Line), in createImportedModule()
193 ConstantInt::get(Type::getInt32Ty(VMContext), Line), in createImportedDeclaration()
217 ConstantInt::get(Type::getInt64Ty(VMContext), Val) in createEnumerator()
232 ConstantInt::get(Type::getInt32Ty(VMContext), 0), // Line in createUnspecifiedType()
233 ConstantInt::get(Type::getInt64Ty(VMContext), 0), // Size in createUnspecifiedType()
[all …]
/freebsd-9-stable/contrib/llvm/lib/Target/X86/MCTargetDesc/
DX86ELFObjectWriter.cpp51 unsigned Type; in GetRelocType() local
57 case FK_Data_8: Type = ELF::R_X86_64_PC64; break; in GetRelocType()
58 case FK_Data_4: Type = ELF::R_X86_64_PC32; break; in GetRelocType()
59 case FK_Data_2: Type = ELF::R_X86_64_PC16; break; in GetRelocType()
63 Type = ELF::R_X86_64_PC64; in GetRelocType()
73 Type = ELF::R_X86_64_PC32; in GetRelocType()
76 Type = ELF::R_X86_64_PLT32; in GetRelocType()
79 Type = ELF::R_X86_64_GOTPCREL; in GetRelocType()
82 Type = ELF::R_X86_64_GOTTPOFF; in GetRelocType()
85 Type = ELF::R_X86_64_TLSGD; in GetRelocType()
[all …]
/freebsd-9-stable/contrib/llvm/lib/Target/Mips/MCTargetDesc/
DMipsELFObjectWriter.cpp84 unsigned Type = (unsigned)ELF::R_MIPS_NONE; in GetRelocType() local
91 Type = ELF::R_MIPS_32; in GetRelocType()
94 Type = ELF::R_MIPS_64; in GetRelocType()
98 Type = setRType((unsigned)ELF::R_MIPS_GPREL32, Type); in GetRelocType()
99 Type = setRType2((unsigned)ELF::R_MIPS_64, Type); in GetRelocType()
100 Type = setRType3((unsigned)ELF::R_MIPS_NONE, Type); in GetRelocType()
103 Type = ELF::R_MIPS_GPREL32; in GetRelocType()
106 Type = ELF::R_MIPS_GPREL16; in GetRelocType()
109 Type = ELF::R_MIPS_26; in GetRelocType()
112 Type = ELF::R_MIPS_CALL16; in GetRelocType()
[all …]
/freebsd-9-stable/contrib/llvm/include/llvm/IR/
DDerivedTypes.h37 class IntegerType : public Type {
41 explicit IntegerType(LLVMContext &C, unsigned NumBits) : Type(C, IntegerTyID){ in IntegerType()
88 static inline bool classof(const Type *T) { in classof()
96 class FunctionType : public Type {
99 FunctionType(Type *Result, ArrayRef<Type*> Params, bool IsVarArgs);
105 static FunctionType *get(Type *Result,
106 ArrayRef<Type*> Params, bool isVarArg);
110 static FunctionType *get(Type *Result, bool isVarArg);
114 static bool isValidReturnType(Type *RetTy);
118 static bool isValidArgumentType(Type *ArgTy);
[all …]
DType.h44 class Type {
92 explicit Type(LLVMContext &C, TypeID tid) in Type() function
97 ~Type() {} in ~Type()
121 Type * const *ContainedTys;
236 bool canLosslesslyBitCastTo(Type *Ty) const;
317 const Type *getScalarType() const;
318 Type *getScalarType();
323 typedef Type * const *subtype_iterator;
339 Type *getContainedType(unsigned i) const { in getContainedType()
357 Type *getFunctionParamType(unsigned i) const;
[all …]
DDataLayout.h33 class Type; variable
129 bool ABIAlign, Type *Ty) const;
136 unsigned getAlignment(Type *Ty, bool abi_or_pref) const;
280 unsigned getPointerTypeSizeInBits(Type *) const;
282 unsigned getPointerTypeSize(Type *Ty) const { in getPointerTypeSize()
306 uint64_t getTypeSizeInBits(Type *Ty) const;
311 uint64_t getTypeStoreSize(Type *Ty) const { in getTypeStoreSize()
318 uint64_t getTypeStoreSizeInBits(Type *Ty) const { in getTypeStoreSizeInBits()
326 uint64_t getTypeAllocSize(Type *Ty) const { in getTypeAllocSize()
335 uint64_t getTypeAllocSizeInBits(Type *Ty) const { in getTypeAllocSizeInBits()
[all …]
/freebsd-9-stable/contrib/llvm/include/llvm/CodeGen/
DMachineInstr.h315 bool hasProperty(unsigned MCFlag, QueryType Type = AnyInBundle) const {
317 if (Type == IgnoreBundle || !isBundled() || isBundledWithPred())
321 return hasPropertyInBundle(1 << MCFlag, Type);
328 bool isVariadic(QueryType Type = IgnoreBundle) const {
329 return hasProperty(MCID::Variadic, Type);
334 bool hasOptionalDef(QueryType Type = IgnoreBundle) const {
335 return hasProperty(MCID::HasOptionalDef, Type);
341 bool isPseudo(QueryType Type = IgnoreBundle) const {
342 return hasProperty(MCID::Pseudo, Type);
345 bool isReturn(QueryType Type = AnyInBundle) const {
[all …]
/freebsd-9-stable/contrib/llvm/include/llvm/Analysis/
DTargetTransformInfo.h33 class Type; variable
112 virtual unsigned getOperationCost(unsigned Opcode, Type *Ty,
113 Type *OpTy = 0) const;
149 virtual unsigned getIntrinsicCost(Intrinsic::ID IID, Type *RetTy,
150 ArrayRef<Type *> ParamTys) const;
155 virtual unsigned getIntrinsicCost(Intrinsic::ID IID, Type *RetTy,
261 virtual bool isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV,
271 virtual int getScalingFactorCost(Type *Ty, GlobalValue *BaseGV,
278 virtual bool isTruncateFree(Type *Ty1, Type *Ty2) const;
281 virtual bool isTypeLegal(Type *Ty) const;
[all …]
/freebsd-9-stable/contrib/llvm/tools/clang/lib/Format/
DTokenAnnotator.cpp50 CurrentToken->Type = TT_TemplateCloser; in parseAngle()
64 (CurrentToken->Previous->Type == TT_BinaryOperator || in parseAngle()
88 Left->Type = TT_ObjCBlockLParen; in parseParens()
103 Left->Previous->MatchingParen->Type == TT_LambdaLSquare) { in parseParens()
110 Left->Type = TT_ObjCMethodExpr; in parseParens()
129 Prev->Type = TT_BinaryOperator; in parseParens()
135 if (CurrentToken->Previous->Type == TT_PointerOrReference && in parseParens()
144 Left->Type = TT_FunctionTypeLParen; in parseParens()
149 CurrentToken->Type = TT_ObjCMethodExpr; in parseParens()
191 Contexts.back().CanBeExpression && Left->Type != TT_LambdaLSquare && in parseSquare()
[all …]
/freebsd-9-stable/contrib/llvm/lib/Analysis/
DTargetTransformInfo.cpp52 unsigned TargetTransformInfo::getOperationCost(unsigned Opcode, Type *Ty, in getOperationCost()
53 Type *OpTy) const { in getOperationCost()
78 Intrinsic::ID IID, Type *RetTy, ArrayRef<Type *> ParamTys) const { in getIntrinsicCost()
83 Intrinsic::ID IID, Type *RetTy, ArrayRef<const Value *> Arguments) const { in getIntrinsicCost()
112 bool TargetTransformInfo::isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, in isLegalAddressingMode()
120 int TargetTransformInfo::getScalingFactorCost(Type *Ty, GlobalValue *BaseGV, in getScalingFactorCost()
128 bool TargetTransformInfo::isTruncateFree(Type *Ty1, Type *Ty2) const { in isTruncateFree()
132 bool TargetTransformInfo::isTypeLegal(Type *Ty) const { in isTypeLegal()
153 bool TargetTransformInfo::haveFastSqrt(Type *Ty) const { in haveFastSqrt()
157 unsigned TargetTransformInfo::getIntImmCost(const APInt &Imm, Type *Ty) const { in getIntImmCost()
[all …]
/freebsd-9-stable/contrib/llvm/tools/clang/include/clang/AST/
DTypeNodes.def1 //===-- TypeNodes.def - Metadata about Type AST nodes -----------*- C++ -*-===//
12 // base class (e.g., "Type" or "TagType"). Depending on where in the
62 TYPE(Builtin, Type)
63 TYPE(Complex, Type)
64 TYPE(Pointer, Type)
65 TYPE(BlockPointer, Type)
66 ABSTRACT_TYPE(Reference, Type)
69 TYPE(MemberPointer, Type)
70 ABSTRACT_TYPE(Array, Type)
75 DEPENDENT_TYPE(DependentSizedExtVector, Type)
[all …]
/freebsd-9-stable/contrib/llvm/tools/clang/lib/AST/
DType.cpp47 const Type* ty = getTypePtr(); in getBaseTypeIdentifier()
55 else if (ty->getTypeClass() == Type::Typedef) in getBaseTypeIdentifier()
153 : Type(DependentSizedExtVector, can, /*Dependent=*/true, in DependentSizedExtVectorType()
173 : Type(Vector, canonType, vecType->isDependentType(), in VectorType()
185 : Type(tc, canonType, vecType->isDependentType(), in VectorType()
198 const Type *Type::getArrayElementTypeNoTypeQual() const { in getArrayElementTypeNoTypeQual()
231 QualType Type::getLocallyUnqualifiedSingleStepDesugaredType() const { in getLocallyUnqualifiedSingleStepDesugaredType()
235 case Type::Class: { \ in getLocallyUnqualifiedSingleStepDesugaredType()
236 const Class##Type *ty = cast<Class##Type>(this); \ in getLocallyUnqualifiedSingleStepDesugaredType()
250 const Type *CurTy = Qs.strip(Cur); in getSplitDesugaredType()
[all …]
/freebsd-9-stable/contrib/llvm/lib/Target/ARM/MCTargetDesc/
DARMELFObjectWriter.cpp159 unsigned Type = 0; in GetRelocTypeInner() local
167 Type = ELF::R_ARM_REL32; in GetRelocTypeInner()
172 Type = ELF::R_ARM_TLS_IE32; in GetRelocTypeInner()
180 Type = ELF::R_ARM_PLT32; in GetRelocTypeInner()
183 Type = ELF::R_ARM_CALL; in GetRelocTypeInner()
190 Type = ELF::R_ARM_JUMP24; in GetRelocTypeInner()
194 Type = ELF::R_ARM_THM_JUMP24; in GetRelocTypeInner()
198 Type = ELF::R_ARM_MOVT_PREL; in GetRelocTypeInner()
202 Type = ELF::R_ARM_MOVW_PREL_NC; in GetRelocTypeInner()
206 Type = ELF::R_ARM_THM_MOVT_PREL; in GetRelocTypeInner()
[all …]
/freebsd-9-stable/sys/contrib/dev/acpica/executer/
Dexresolv.c170 switch (StackDesc->Common.Type) in AcpiExResolveObjectToValue()
277 if ((StackDesc->Reference.Node->Type == ACPI_TYPE_DEVICE) || in AcpiExResolveObjectToValue()
278 (StackDesc->Reference.Node->Type == ACPI_TYPE_THERMAL)) in AcpiExResolveObjectToValue()
323 StackDesc, StackDesc->Common.Type)); in AcpiExResolveObjectToValue()
366 ACPI_OBJECT_TYPE Type; in AcpiExResolveMultiple() local
378 Type = ObjDesc->Common.Type; in AcpiExResolveMultiple()
382 Type = ((ACPI_NAMESPACE_NODE *) ObjDesc)->Type; in AcpiExResolveMultiple()
387 if (Type == ACPI_TYPE_LOCAL_ALIAS) in AcpiExResolveMultiple()
389 Type = ((ACPI_NAMESPACE_NODE *) ObjDesc)->Type; in AcpiExResolveMultiple()
400 if (Type != ACPI_TYPE_LOCAL_REFERENCE) in AcpiExResolveMultiple()
[all …]
/freebsd-9-stable/contrib/llvm/tools/clang/lib/CodeGen/
DCodeGenTypes.cpp41 for (llvm::DenseMap<const Type *, CGRecordLayout *>::iterator in ~CodeGenTypes()
87 llvm::Type *CodeGenTypes::ConvertTypeForMem(QualType T){ in ConvertTypeForMem()
88 llvm::Type *R = ConvertType(T); in ConvertTypeForMem()
102 bool CodeGenTypes::isRecordLayoutComplete(const Type *Ty) const { in isRecordLayoutComplete()
103 llvm::DenseMap<const Type*, llvm::StructType *>::const_iterator I = in isRecordLayoutComplete()
123 const Type *Key = CGT.getContext().getTagDeclType(RD).getTypePtr(); in isSafeToConvert()
270 static llvm::Type *getTypeForFormat(llvm::LLVMContext &VMContext, in getTypeForFormat()
275 return llvm::Type::getHalfTy(VMContext); in getTypeForFormat()
277 return llvm::Type::getInt16Ty(VMContext); in getTypeForFormat()
280 return llvm::Type::getFloatTy(VMContext); in getTypeForFormat()
[all …]
DCGRTTI.cpp41 void BuildVTablePointer(const Type *Ty);
390 void RTTIBuilder::BuildVTablePointer(const Type *Ty) { in BuildVTablePointer()
406 #define NON_CANONICAL_UNLESS_DEPENDENT_TYPE(Class, Base) case Type::Class: in BuildVTablePointer()
407 #define NON_CANONICAL_TYPE(Class, Base) case Type::Class: in BuildVTablePointer()
408 #define DEPENDENT_TYPE(Class, Base) case Type::Class: in BuildVTablePointer()
412 case Type::LValueReference: in BuildVTablePointer()
413 case Type::RValueReference: in BuildVTablePointer()
416 case Type::Auto: in BuildVTablePointer()
419 case Type::Builtin: in BuildVTablePointer()
421 case Type::Vector: in BuildVTablePointer()
[all …]
/freebsd-9-stable/contrib/llvm/include/llvm/MC/
DMCELFObjectWriter.h33 unsigned Type; member
39 : r_offset(0), Index(0), Type(0), Symbol(0), r_addend(0), Fixup(0) {} in ELFRelocationEntry()
43 : r_offset(RelocOffset), Index(Idx), Type(RelType), Symbol(Sym), in ELFRelocationEntry()
110 unsigned getRType(uint32_t Type) const { in getRType() argument
111 return (unsigned)((Type >> R_TYPE_SHIFT) & 0xff); in getRType()
113 unsigned getRType2(uint32_t Type) const { in getRType2() argument
114 return (unsigned)((Type >> R_TYPE2_SHIFT) & 0xff); in getRType2()
116 unsigned getRType3(uint32_t Type) const { in getRType3() argument
117 return (unsigned)((Type >> R_TYPE3_SHIFT) & 0xff); in getRType3()
119 unsigned getRSsym(uint32_t Type) const { in getRSsym() argument
[all …]
/freebsd-9-stable/contrib/llvm/lib/MC/
DMCELF.cpp36 void MCELF::SetType(MCSymbolData &SD, unsigned Type) { in SetType() argument
37 assert(Type == ELF::STT_NOTYPE || Type == ELF::STT_OBJECT || in SetType()
38 Type == ELF::STT_FUNC || Type == ELF::STT_SECTION || in SetType()
39 Type == ELF::STT_COMMON || Type == ELF::STT_TLS || in SetType()
40 Type == ELF::STT_GNU_IFUNC); in SetType()
43 SD.setFlags(OtherFlags | (Type << ELF_STT_Shift)); in SetType()
47 uint32_t Type = (SD.getFlags() & (0xf << ELF_STT_Shift)) >> ELF_STT_Shift; in GetType() local
48 assert(Type == ELF::STT_NOTYPE || Type == ELF::STT_OBJECT || in GetType()
49 Type == ELF::STT_FUNC || Type == ELF::STT_SECTION || in GetType()
50 Type == ELF::STT_COMMON || Type == ELF::STT_TLS || Type == ELF::STT_GNU_IFUNC); in GetType()
[all …]
/freebsd-9-stable/contrib/llvm/lib/CodeGen/
DBasicTargetTransformInfo.cpp33 unsigned getScalarizationOverhead(Type *Ty, bool Insert, bool Extract) const;
75 virtual bool isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV,
78 virtual int getScalingFactorCost(Type *Ty, GlobalValue *BaseGV,
81 virtual bool isTruncateFree(Type *Ty1, Type *Ty2) const;
82 virtual bool isTypeLegal(Type *Ty) const;
86 virtual bool haveFastSqrt(Type *Ty) const;
97 virtual unsigned getArithmeticInstrCost(unsigned Opcode, Type *Ty,
100 virtual unsigned getShuffleCost(ShuffleKind Kind, Type *Tp,
101 int Index, Type *SubTp) const;
102 virtual unsigned getCastInstrCost(unsigned Opcode, Type *Dst,
[all …]
/freebsd-9-stable/lib/libkse/test/
Dmutex_d.exp5 Protocol PTHREAD_PRIO_NONE, Type POSIX (type not specified) - PASS
6 Protocol PTHREAD_PRIO_NONE, Type SS2 PTHREAD_MUTEX_DEFAULT - PASS
7 Protocol PTHREAD_PRIO_NONE, Type SS2 PTHREAD_MUTEX_ERRORCHECK - PASS
8 Protocol PTHREAD_PRIO_NONE, Type SS2 PTHREAD_MUTEX_NORMAL - PASS
9 Protocol PTHREAD_PRIO_NONE, Type SS2 PTHREAD_MUTEX_RECURSIVE - PASS
10 Protocol PTHREAD_PRIO_INHERIT, Type POSIX (type not specified) - PASS
11 Protocol PTHREAD_PRIO_INHERIT, Type SS2 PTHREAD_MUTEX_DEFAULT - PASS
12 Protocol PTHREAD_PRIO_INHERIT, Type SS2 PTHREAD_MUTEX_ERRORCHECK - PASS
13 Protocol PTHREAD_PRIO_INHERIT, Type SS2 PTHREAD_MUTEX_NORMAL - PASS
14 Protocol PTHREAD_PRIO_INHERIT, Type SS2 PTHREAD_MUTEX_RECURSIVE - PASS
[all …]
/freebsd-9-stable/contrib/llvm/lib/Target/PowerPC/
DPPCTargetTransformInfo.cpp42 unsigned getScalarizationOverhead(Type *Ty, bool Insert, bool Extract) const;
90 virtual unsigned getArithmeticInstrCost(unsigned Opcode, Type *Ty,
93 virtual unsigned getShuffleCost(ShuffleKind Kind, Type *Tp,
94 int Index, Type *SubTp) const;
95 virtual unsigned getCastInstrCost(unsigned Opcode, Type *Dst,
96 Type *Src) const;
97 virtual unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy,
98 Type *CondTy) const;
99 virtual unsigned getVectorInstrCost(unsigned Opcode, Type *Val,
101 virtual unsigned getMemoryOpCost(unsigned Opcode, Type *Src,
[all …]

12345678910>>...44