/freebsd-9.3-release/contrib/llvm/lib/Target/AArch64/MCTargetDesc/ |
H A D | AArch64ELFObjectWriter.cpp | 51 unsigned Type; local 63 Type = ELF::R_AARCH64_LD_PREL_LO19; 66 Type = ELF::R_AARCH64_ADR_PREL_LO21; 69 Type = ELF::R_AARCH64_ADR_PREL_PG_HI21; 72 Type = ELF::R_AARCH64_ADR_GOT_PAGE; 75 Type = ELF::R_AARCH64_TSTBR14; 78 Type = ELF::R_AARCH64_CONDBR19; 81 Type = ELF::R_AARCH64_JUMP26; 84 Type = ELF::R_AARCH64_CALL26; 87 Type [all...] |
/freebsd-9.3-release/contrib/llvm/lib/Target/PowerPC/MCTargetDesc/ |
H A D | PPCELFObjectWriter.cpp | 60 unsigned Type; local 67 Type = ELF::R_PPC_REL24; 71 Type = ELF::R_PPC_REL14; 77 Type = ELF::R_PPC_REL16; 80 Type = ELF::R_PPC_REL16_LO; 83 Type = ELF::R_PPC_REL16_HI; 86 Type = ELF::R_PPC_REL16_HA; 92 Type = ELF::R_PPC_REL32; 96 Type = ELF::R_PPC64_REL64; 103 Type [all...] |
/freebsd-9.3-release/contrib/llvm/lib/Target/Mips/MCTargetDesc/ |
H A D | MipsELFObjectWriter.cpp | 84 unsigned Type = (unsigned)ELF::R_MIPS_NONE; local 91 Type = ELF::R_MIPS_32; 94 Type = ELF::R_MIPS_64; 98 Type = setRType((unsigned)ELF::R_MIPS_GPREL32, Type); 99 Type = setRType2((unsigned)ELF::R_MIPS_64, Type); 100 Type = setRType3((unsigned)ELF::R_MIPS_NONE, Type); 103 Type [all...] |
/freebsd-9.3-release/gnu/usr.bin/grep/ |
H A D | xalloc.h | 64 # define XMALLOC(Type, N_items) ((Type *) xmalloc (sizeof (Type) * (N_items))) 65 # define XCALLOC(Type, N_items) ((Type *) xcalloc (sizeof (Type), (N_items))) 66 # define XREALLOC(Ptr, Type, N_items) \ 67 ((Type *) xrealloc ((void *) (Ptr), sizeof (Type) * (N_items))) 70 # define NEW(Type, Va [all...] |
/freebsd-9.3-release/contrib/llvm/lib/Target/X86/MCTargetDesc/ |
H A D | X86ELFObjectWriter.cpp | 51 unsigned Type; local 57 case FK_Data_8: Type = ELF::R_X86_64_PC64; break; 58 case FK_Data_4: Type = ELF::R_X86_64_PC32; break; 59 case FK_Data_2: Type = ELF::R_X86_64_PC16; break; 63 Type = ELF::R_X86_64_PC64; 73 Type = ELF::R_X86_64_PC32; 76 Type = ELF::R_X86_64_PLT32; 79 Type = ELF::R_X86_64_GOTPCREL; 82 Type = ELF::R_X86_64_GOTTPOFF; 85 Type [all...] |
/freebsd-9.3-release/contrib/llvm/include/llvm/MC/ |
H A D | MCELFObjectWriter.h | 33 unsigned Type; member in struct:llvm::ELFRelocationEntry 39 : r_offset(0), Index(0), Type(0), Symbol(0), r_addend(0), Fixup(0) {} 43 : r_offset(RelocOffset), Index(Idx), Type(RelType), Symbol(Sym), 98 // Instead of changing everyone's API we pack the N64 Type fields 110 unsigned getRType(uint32_t Type) const { 111 return (unsigned)((Type >> R_TYPE_SHIFT) & 0xff); 113 unsigned getRType2(uint32_t Type) const { 114 return (unsigned)((Type >> R_TYPE2_SHIFT) & 0xff); 116 unsigned getRType3(uint32_t Type) const { 117 return (unsigned)((Type >> R_TYPE3_SHIF [all...] |
/freebsd-9.3-release/contrib/llvm/include/llvm/Analysis/ |
H A D | TargetTransformInfo.h | 33 class Type; 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 *Ty [all...] |
H A D | FindUsedTypes.h | 22 class Type; 26 SetVector<Type *> UsedTypes; 36 const SetVector<Type *> &getTypes() const { return UsedTypes; } 48 void IncorporateType(Type *Ty);
|
/freebsd-9.3-release/contrib/llvm/include/llvm/IR/ |
H A D | DerivedTypes.h | 14 // The implementations of these classes live in the Type.cpp file. 21 #include "llvm/IR/Type.h" 37 class IntegerType : public Type { 41 explicit IntegerType(LLVMContext &C, unsigned NumBits) : Type(C, IntegerTyID){ 49 ///< Note that bit width is stored in the Type classes SubclassData field 88 static inline bool classof(const Type *T) { 96 class FunctionType : public Type { 99 FunctionType(Type *Result, ArrayRef<Type*> Params, bool IsVarArgs); 105 static FunctionType *get(Type *Resul [all...] |
H A D | DataLayout.h | 26 #include "llvm/IR/Type.h" 33 class Type; 61 unsigned TypeBitWidth : 24; ///< Type bit width 81 uint32_t TypeBitWidth; ///< Type bit width 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 { 288 /// Type SizeInBits StoreSizeInBits AllocSizeInBits[*] 305 /// The type passed must have a size (Type [all...] |
H A D | Type.h | 1 //===-- llvm/Type.h - Classes for handling data types -----------*- C++ -*-===// 10 // This file contains the declaration of the Type class. For more "Type" 36 /// The instances of the Type class are immutable: once they are created, 40 /// are created, Type instances can only be created via static factory methods 41 /// in class Type and in derived classes. Once allocated, Types are never 44 class Type { class in namespace:llvm 47 /// Definitions of all of the base types for the Type system. Based on this 50 /// Type::getPrimitiveType function, or else things will break! 92 explicit Type(LLVMContex function in class:llvm::Type [all...] |
/freebsd-9.3-release/contrib/llvm/lib/MC/ |
H A D | MCELF.cpp | 36 void MCELF::SetType(MCSymbolData &SD, unsigned Type) { argument 37 assert(Type == ELF::STT_NOTYPE || Type == ELF::STT_OBJECT || 38 Type == ELF::STT_FUNC || Type == ELF::STT_SECTION || 39 Type == ELF::STT_COMMON || Type == ELF::STT_TLS || 40 Type == ELF::STT_GNU_IFUNC); 43 SD.setFlags(OtherFlags | (Type << ELF_STT_Shift)); 47 uint32_t Type local [all...] |
/freebsd-9.3-release/contrib/llvm/lib/IR/ |
H A D | ValueTypes.cpp | 18 #include "llvm/IR/Type.h" 31 assert(VT.isExtended() && "Type is not extended!"); 39 assert(ResultVT.isExtended() && "Type is not extended!"); 44 assert(isExtended() && "Type is not extended!"); 49 assert(isExtended() && "Type is not extended!"); 54 assert(isExtended() && "Type is not extended!"); 87 assert(isExtended() && "Type is not extended!"); 92 assert(isExtended() && "Type is not extended!"); 97 assert(isExtended() && "Type is not extended!"); 180 Type *EV [all...] |
H A D | Type.cpp | 1 //===-- Type.cpp - Implement the Type class -------------------------------===// 10 // This file implements the Type class for the IR library. 14 #include "llvm/IR/Type.h" 23 // Type Class Implementation 26 Type *Type::getPrimitiveType(LLVMContext &C, TypeID IDNumber) { 45 Type *Type::getScalarType() { 51 const Type *Typ [all...] |
/freebsd-9.3-release/contrib/llvm/utils/TableGen/ |
H A D | TGValueTypes.cpp | 24 class Type { class in namespace:llvm 36 Type(TypeKind K) : Kind(K) {} function in class:llvm::Type 38 virtual ~Type(); 42 Type::~Type() {} 47 class ExtendedIntegerType : public Type { 51 : Type(TK_ExtendedIntegerType), BitWidth(bits) {} 52 static bool classof(const Type *T) { 63 class ExtendedVectorType : public Type { 68 : Type(TK_ExtendedVectorTyp [all...] |
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/AST/ |
H A D | TypeVisitor.h | 1 //===--- TypeVisitor.h - Visitor for Type subclasses ------------*- C++ -*-===// 17 #include "clang/AST/Type.h" 29 /// \tparam RetTy %Type of result produced by the operation. 32 /// from Type. The operation is performed by calling method Visit. It then 43 /// Type *atype = ... 59 /// \li <tt>ImplClass::VisitType(const Type*)</tt> 60 /// \li <tt>TypeVisitor::VisitType(const Type*)</tt> 69 RetTy Visit(const Type *T) { 73 #define TYPE(CLASS, PARENT) case Type::CLASS: DISPATCH(CLASS##Type); 88 VisitType(const Type*) argument [all...] |
H A D | ASTFwd.h | 23 class Type; 24 #define TYPE(DERIVED, BASE) class DERIVED##Type;
|
/freebsd-9.3-release/contrib/llvm/lib/Analysis/ |
H A D | TargetTransformInfo.cpp | 52 unsigned TargetTransformInfo::getOperationCost(unsigned Opcode, Type *Ty, 53 Type *OpTy) const { 78 Intrinsic::ID IID, Type *RetTy, ArrayRef<Type *> ParamTys) const { 83 Intrinsic::ID IID, Type *RetTy, ArrayRef<const Value *> Arguments) const { 112 bool TargetTransformInfo::isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, 120 int TargetTransformInfo::getScalingFactorCost(Type *Ty, GlobalValue *BaseGV, 128 bool TargetTransformInfo::isTruncateFree(Type *Ty1, Type *Ty2) const { 132 bool TargetTransformInfo::isTypeLegal(Type *T [all...] |
/freebsd-9.3-release/contrib/llvm/lib/Target/PowerPC/ |
H A D | PPCTargetTransformInfo.cpp | 42 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 *Sr [all...] |
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/AST/ |
H A D | InheritViz.cpp | 46 void WriteGraph(QualType Type) { argument 47 Out << "digraph \"" << DOT::EscapeString(Type.getAsString()) << "\" {\n"; 48 WriteNode(Type, false); 55 void WriteNode(QualType Type, bool FromVirtual); 60 raw_ostream& WriteNodeReference(QualType Type, bool FromVirtual); 63 void InheritanceHierarchyWriter::WriteNode(QualType Type, bool FromVirtual) { argument 64 QualType CanonType = Context.getCanonicalType(Type); 77 WriteNodeReference(Type, FromVirtual); 80 std::string TypeName = Type.getAsString(); 95 = static_cast<const CXXRecordDecl *>(Type 126 WriteNodeReference(QualType Type, bool FromVirtual) argument [all...] |
/freebsd-9.3-release/contrib/llvm/lib/Target/ARM/MCTargetDesc/ |
H A D | ARMELFObjectWriter.cpp | 159 unsigned Type = 0; local 167 Type = ELF::R_ARM_REL32; 172 Type = ELF::R_ARM_TLS_IE32; 180 Type = ELF::R_ARM_PLT32; 183 Type = ELF::R_ARM_CALL; 190 Type = ELF::R_ARM_JUMP24; 194 Type = ELF::R_ARM_THM_JUMP24; 198 Type = ELF::R_ARM_MOVT_PREL; 202 Type = ELF::R_ARM_MOVW_PREL_NC; 206 Type [all...] |
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Basic/ |
H A D | DiagnosticOptions.h | 40 #define ENUM_DIAGOPT(Name, Type, Bits, Default) 47 #define ENUM_DIAGOPT(Name, Type, Bits, Default) unsigned Name : Bits; 64 #define ENUM_DIAGOPT(Name, Type, Bits, Default) \ 65 Type get##Name() const { return static_cast<Type>(Name); } \ 66 void set##Name(Type Value) { Name = static_cast<unsigned>(Value); } 71 #define ENUM_DIAGOPT(Name, Type, Bits, Default) set##Name(Default);
|
/freebsd-9.3-release/contrib/llvm/include/llvm/Target/ |
H A D | TargetIntrinsicInfo.h | 24 class Type; 40 /// intrinsic, Tys should point to an array of numTys pointers to Type, 43 virtual std::string getName(unsigned IID, Type **Tys = 0, 59 virtual Function *getDeclaration(Module *M, unsigned ID, Type **Tys = 0,
|
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Driver/ |
H A D | Action.cpp | 56 JobAction::JobAction(ActionClass Kind, Action *Input, types::ID Type) argument 57 : Action(Kind, Input, Type) { 60 JobAction::JobAction(ActionClass Kind, const ActionList &Inputs, types::ID Type) argument 61 : Action(Kind, Inputs, Type) { 102 LinkJobAction::LinkJobAction(ActionList &Inputs, types::ID Type) argument 103 : JobAction(LinkJobClass, Inputs, Type) { 108 LipoJobAction::LipoJobAction(ActionList &Inputs, types::ID Type) argument 109 : JobAction(LipoJobClass, Inputs, Type) { 114 DsymutilJobAction::DsymutilJobAction(ActionList &Inputs, types::ID Type) argument 115 : JobAction(DsymutilJobClass, Inputs, Type) { 120 VerifyJobAction(ActionList &Inputs, types::ID Type) argument [all...] |
/freebsd-9.3-release/sys/contrib/dev/acpica/executer/ |
H A D | exresolv.c | 170 switch (StackDesc->Common.Type) 277 if ((StackDesc->Reference.Node->Type == ACPI_TYPE_DEVICE) || 278 (StackDesc->Reference.Node->Type == ACPI_TYPE_THERMAL)) 322 ACPI_DEBUG_PRINT ((ACPI_DB_EXEC, "FieldRead SourceDesc=%p Type=%X\n", 323 StackDesc, StackDesc->Common.Type)); 366 ACPI_OBJECT_TYPE Type; local 378 Type = ObjDesc->Common.Type; 382 Type = ((ACPI_NAMESPACE_NODE *) ObjDesc)->Type; [all...] |