/external/llvm/unittests/IR/ |
TypesTest.cpp | 17 TEST(TypesTest, StructType) { 21 StructType *Struct = StructType::create(C, "FooBar");
|
TypeBuilderTest.cpp | 186 static StructType *get(LLVMContext &Context) { 193 static StructType *const result = StructType::get(Context, st); 209 static StructType *get(LLVMContext &Context) { 216 static StructType *const result = StructType::get(Context, st); 233 EXPECT_EQ(PointerType::getUnqual(StructType::get( 239 EXPECT_EQ(PointerType::getUnqual(StructType::get( 245 EXPECT_EQ(PointerType::getUnqual(StructType::get(
|
/external/clang/lib/CodeGen/ |
CGOpenCLRuntime.cpp | 41 return llvm::PointerType::get(llvm::StructType::create( 44 return llvm::PointerType::get(llvm::StructType::create( 47 return llvm::PointerType::get(llvm::StructType::create( 50 return llvm::PointerType::get(llvm::StructType::create( 53 return llvm::PointerType::get(llvm::StructType::create( 56 return llvm::PointerType::get(llvm::StructType::create( 61 return llvm::PointerType::get(llvm::StructType::create(
|
CGRecordLayout.h | 20 class StructType; 118 llvm::StructType *CompleteObjectType; 122 llvm::StructType *BaseSubobjectType; 150 CGRecordLayout(llvm::StructType *CompleteObjectType, 151 llvm::StructType *BaseSubobjectType, 161 llvm::StructType *getLLVMType() const { 167 llvm::StructType *getBaseSubobjectLLVMType() const { 183 /// \brief Return llvm::StructType element number that corresponds to the
|
CodeGenTypes.h | 29 class StructType; 88 llvm::DenseMap<const Type*, llvm::StructType *> RecordDeclTypes; 228 llvm::StructType *Ty); 232 void addRecordTypeName(const RecordDecl *RD, llvm::StructType *Ty, 238 llvm::StructType *ConvertRecordDeclType(const RecordDecl *TD);
|
CodeGenTypes.cpp | 52 llvm::StructType *Ty, 103 llvm::DenseMap<const Type*, llvm::StructType *>::const_iterator I = 404 ResultType = llvm::StructType::get(EltTy, EltTy, NULL); 490 ResultType = llvm::StructType::get(getLLVMContext()); 500 ResultType = llvm::StructType::get(getLLVMContext()); 522 ResultType = llvm::StructType::get(getLLVMContext()); 551 T = llvm::StructType::create(getLLVMContext()); 604 ResultType = llvm::StructType::get(getLLVMContext(), 626 llvm::StructType *CodeGenTypes::ConvertRecordDeclType(const RecordDecl *RD) { 631 llvm::StructType *&Entry = RecordDeclTypes[Key] [all...] |
CGCUDANV.cpp | 90 llvm::StructType *ArgStackTy = llvm::StructType::get(
|
/external/chromium_org/base/json/ |
json_value_converter.h | 88 template <typename StructType> 93 template<typename StructType> 98 virtual bool ConvertField(const base::Value& value, StructType* obj) 114 template <typename StructType, typename FieldType> 115 class FieldConverter : public FieldConverterBase<StructType> { 118 FieldType StructType::* field, 120 : FieldConverterBase<StructType>(path), 126 const base::Value& value, StructType* dst) const OVERRIDE { 131 FieldType StructType::* field_pointer_; 370 template <class StructType> [all...] |
/external/clang/test/Sema/ |
invalid-decl.c | 28 } StructType; 29 void f(StructType *buf) {
|
/external/llvm/include/llvm/IR/ |
TypeFinder.h | 24 class StructType; 36 std::vector<StructType*> StructTypes; 45 typedef std::vector<StructType*>::iterator iterator; 46 typedef std::vector<StructType*>::const_iterator const_iterator; 58 StructType *&operator[](unsigned Idx) { return StructTypes[Idx]; }
|
DerivedTypes.h | 142 /// CompositeType - Common super class of ArrayType, StructType, PointerType 167 /// StructType - Class to represent struct types. There are two different kinds 172 /// the StructType::get() forms. 179 /// StructType::create() forms. 187 class StructType : public CompositeType { 188 StructType(const StructType &) LLVM_DELETED_FUNCTION; 189 const StructType &operator=(const StructType &) LLVM_DELETED_FUNCTION; 190 StructType(LLVMContext &C [all...] |
DataLayout.h | 35 class StructType; 122 // The StructType -> StructLayout map. 379 const StructLayout *getStructLayout(StructType *Ty) const; 442 StructLayout(StructType *ST, const DataLayout &DL); 462 return getStructLayout(cast<StructType>(Ty))->getSizeInBits();
|
/external/llvm/include/llvm/ |
Linker.h | 20 class StructType; 52 SmallPtrSet<StructType*, 32> IdentifiedStructTypes;
|
/art/compiler/llvm/ |
ir_builder.cc | 57 ::llvm::Type* jenv_struct_type = ::llvm::StructType::create(context, "JEnv"); 110 ::llvm::StructType* IRBuilder::getShadowFrameTy(uint32_t vreg_size) { 115 CHECK(::llvm::isa< ::llvm::StructType>(type)); 116 return static_cast< ::llvm::StructType*>(type); 125 return ::llvm::StructType::create(elem_types, name);
|
compiler_llvm.h | 48 class StructType;
|
/external/llvm/lib/IR/ |
Type.cpp | 105 const StructType *STy = dyn_cast<StructType>(this); 171 return cast<StructType>(this)->isSized(); 195 return cast<StructType>(this)->getName(); 199 return cast<StructType>(this)->getNumElements(); 203 return cast<StructType>(this)->getElementType(N); 400 // StructType Implementation 405 StructType *StructType::get(LLVMContext &Context, ArrayRef<Type*> ETypes, 411 StructType *ST [all...] |
LLVMContextImpl.h | 103 KeyTy(const StructType* ST) : 117 static inline StructType* getEmptyKey() { 118 return DenseMapInfo<StructType*>::getEmptyKey(); 120 static inline StructType* getTombstoneKey() { 121 return DenseMapInfo<StructType*>::getTombstoneKey(); 128 static unsigned getHashValue(const StructType *ST) { 131 static bool isEqual(const KeyTy& LHS, const StructType *RHS) { 136 static bool isEqual(const StructType *LHS, const StructType *RHS) { 269 typedef ConstantAggrUniqueMap<StructType, ConstantStruct> StructConstantsTy [all...] |
AsmWriter.h | 51 DenseMap<StructType*, unsigned> NumberedTypes; 61 void printStructBody(StructType *Ty, raw_ostream &OS);
|
DataLayout.cpp | 44 StructLayout::StructLayout(StructType *ST, const DataLayout &DL) { 411 typedef DenseMap<StructType*, StructLayout*> LayoutInfoTy; 425 StructLayout *&operator[](StructType *STy) { 445 const StructLayout *DataLayout::getStructLayout(StructType *Ty) const { 549 if (cast<StructType>(Ty)->isPacked() && abi_or_pref) 553 const StructLayout *Layout = getStructLayout(cast<StructType>(Ty)); 642 if (StructType *STy = dyn_cast<StructType>(*TI)) {
|
/frameworks/compile/slang/ |
slang_rs_export_func.h | 33 class StructType; 104 bool checkParameterPacketType(llvm::StructType *ParamTy) const;
|
/external/llvm/lib/Target/ |
Target.cpp | 122 StructType *STy = unwrap<StructType>(StructTy); 128 StructType *STy = unwrap<StructType>(StructTy);
|
/external/llvm/lib/Transforms/Utils/ |
ModuleUtils.cpp | 27 StructType *Ty = StructType::get(
|
/external/llvm/lib/Linker/ |
LinkModules.cpp | 34 typedef SmallPtrSet<StructType*, 32> TypeSet; 49 SmallVector<StructType*, 16> SrcDefinitionsToResolve; 53 SmallPtrSet<StructType*, 16> DstResolvedOpaqueTypes; 138 if (StructType *SSTy = dyn_cast<StructType>(SrcTy)) { 151 if (cast<StructType>(DstTy)->isOpaque()) { 153 if (!DstResolvedOpaqueTypes.insert(cast<StructType>(DstTy))) 175 } else if (StructType *DSTy = dyn_cast<StructType>(DstTy)) { 176 StructType *SSTy = cast<StructType>(SrcTy) [all...] |
/external/llvm/lib/CodeGen/ |
ShadowStackGC.cpp | 48 StructType *StackEntryTy; 49 StructType *FrameMapTy; 145 Type *ExnTy = StructType::get(Type::getInt8PtrTy(C), 230 StructType *STy = StructType::create(EltTys, "gc_map."+utostr(NumMeta)); 265 return StructType::create(EltTys, "gc_stackentry."+F.getName().str()); 281 FrameMapTy = StructType::create(EltTys, "gc_map"); 290 StackEntryTy = StructType::create(M.getContext(), "gc_stackentry");
|
/external/llvm/include/llvm/Transforms/Utils/ |
Local.h | 210 if (StructType *STy = dyn_cast<StructType>(*GTI)) {
|