/external/llvm/include/llvm/ |
DerivedTypes.h | 143 /// CompositeType - Common super class of ArrayType, StructType, PointerType 169 /// StructType - Class to represent struct types. There are two different kinds 174 /// the StructType::get() forms. 181 /// StructType::create() forms. 189 class StructType : public CompositeType { 190 StructType(const StructType &); // Do not implement 191 const StructType &operator=(const StructType &); // Do not implement 192 StructType(LLVMContext &C [all...] |
Module.h | 31 class StructType; 301 typedef DenseMap<StructType*, unsigned, DenseMapInfo<StructType*> > 306 void findUsedStructTypes(std::vector<StructType*> &StructTypes) const; 310 StructType *getTypeByName(StringRef Name) const;
|
Constants.h | 34 class StructType; 387 friend struct ConstantArrayCreator<ConstantStruct, StructType>; 390 ConstantStruct(StructType *T, ArrayRef<Constant *> Val); 393 static Constant *get(StructType *T, ArrayRef<Constant*> V); 394 static Constant *get(StructType *T, ...) END_WITH_NULL; 409 static StructType *getTypeForElements(ArrayRef<Constant*> V, 412 static StructType *getTypeForElements(LLVMContext &Ctx, 421 inline StructType *getType() const { 422 return reinterpret_cast<StructType*>(Value::getType()); [all...] |
/external/llvm/lib/VMCore/ |
Type.cpp | 122 const StructType *STy = dyn_cast<StructType>(this); 188 return cast<StructType>(this)->isSized(); 212 return cast<StructType>(this)->getName(); 216 return cast<StructType>(this)->getNumElements(); 220 return cast<StructType>(this)->getElementType(N); 423 // StructType Implementation 428 StructType *StructType::get(LLVMContext &Context, ArrayRef<Type*> ETypes, 434 StructType *ST [all...] |
LLVMContextImpl.h | 106 KeyTy(const StructType* ST) : 120 static inline StructType* getEmptyKey() { 121 return DenseMapInfo<StructType*>::getEmptyKey(); 123 static inline StructType* getTombstoneKey() { 124 return DenseMapInfo<StructType*>::getTombstoneKey(); 131 static unsigned getHashValue(const StructType *ST) { 134 static bool isEqual(const KeyTy& LHS, const StructType *RHS) { 139 static bool isEqual(const StructType *LHS, const StructType *RHS) { 271 typedef ConstantAggrUniqueMap<StructType, ConstantStruct> StructConstantsTy [all...] |
/external/clang/lib/CodeGen/ |
CGRecordLayout.h | 20 class StructType; 180 llvm::StructType *CompleteObjectType; 184 llvm::StructType *BaseSubobjectType; 212 CGRecordLayout(llvm::StructType *CompleteObjectType, 213 llvm::StructType *BaseSubobjectType, 223 llvm::StructType *getLLVMType() const { 229 llvm::StructType *getBaseSubobjectLLVMType() const { 245 /// \brief Return llvm::StructType element number that corresponds to the
|
CodeGenTypes.h | 29 class StructType; 83 llvm::DenseMap<const Type*, llvm::StructType *> RecordDeclTypes; 215 llvm::StructType *Ty); 219 void addRecordTypeName(const RecordDecl *RD, llvm::StructType *Ty, 225 llvm::StructType *ConvertRecordDeclType(const RecordDecl *TD);
|
CodeGenTypes.cpp | 51 llvm::StructType *Ty, 102 llvm::DenseMap<const Type*, llvm::StructType *>::const_iterator I = 381 ResultType = llvm::StructType::get(EltTy, EltTy, NULL); 457 ResultType = llvm::StructType::get(getLLVMContext()); 467 ResultType = llvm::StructType::get(getLLVMContext()); 489 ResultType = llvm::StructType::get(getLLVMContext()); 518 T = llvm::StructType::create(getLLVMContext()); 571 llvm::StructType *CodeGenTypes::ConvertRecordDeclType(const RecordDecl *RD) { 576 llvm::StructType *&Entry = RecordDeclTypes[Key]; 578 // If we don't have a StructType at all yet, create the forward declaration [all...] |
CGCUDANV.cpp | 91 llvm::StructType *ArgStackTy = llvm::StructType::get(
|
CGObjCGNU.cpp | 110 llvm::StructType *ObjCSuperTy; 196 llvm::GlobalVariable *MakeGlobal(llvm::StructType *Ty, 634 llvm::StructType *SlotStructTy = llvm::StructType::get(PtrTy, [all...] |
CGExprConstant.cpp | 560 llvm::StructType *STy = 564 if (llvm::StructType *ValSTy = dyn_cast<llvm::StructType>(ValTy)) { 681 llvm::StructType* STy = 682 llvm::StructType::get(C->getType()->getContext(), Types, false); 806 llvm::StructType *SType = llvm::StructType::get(AType->getContext(), [all...] |
/external/llvm/lib/Target/ |
Target.cpp | 96 StructType *STy = unwrap<StructType>(StructTy); 102 StructType *STy = unwrap<StructType>(StructTy);
|
TargetData.cpp | 44 StructLayout::StructLayout(StructType *ST, const TargetData &TD) { 389 typedef DenseMap<StructType*, StructLayout*> LayoutInfoTy; 403 StructLayout *&operator[](StructType *STy) { 417 const StructLayout *TargetData::getStructLayout(StructType *Ty) const { 477 return getStructLayout(cast<StructType>(Ty))->getSizeInBits(); 527 if (cast<StructType>(Ty)->isPacked() && abi_or_pref) 531 const StructLayout *Layout = getStructLayout(cast<StructType>(Ty)); 607 if (StructType *STy = dyn_cast<StructType>(*TI)) {
|
/external/llvm/lib/Transforms/Utils/ |
ModuleUtils.cpp | 26 StructType *Ty = StructType::get(
|
/frameworks/compile/slang/ |
slang_rs_export_func.h | 33 class StructType; 104 bool checkParameterPacketType(llvm::StructType *ParamTy) const;
|
/external/llvm/lib/Linker/ |
LinkModules.cpp | 49 SmallVector<StructType*, 16> SrcDefinitionsToResolve; 53 SmallPtrSet<StructType*, 16> DstResolvedOpaqueTypes; 135 if (StructType *SSTy = dyn_cast<StructType>(SrcTy)) { 148 if (cast<StructType>(DstTy)->isOpaque()) { 150 if (!DstResolvedOpaqueTypes.insert(cast<StructType>(DstTy))) 172 } else if (StructType *DSTy = dyn_cast<StructType>(DstTy)) { 173 StructType *SSTy = cast<StructType>(SrcTy) [all...] |
/external/llvm/unittests/Support/ |
TypeBuilderTest.cpp | 187 static StructType *get(LLVMContext &Context) { 194 static StructType *const result = StructType::get(Context, st); 210 static StructType *get(LLVMContext &Context) { 217 static StructType *const result = StructType::get(Context, st); 234 EXPECT_EQ(PointerType::getUnqual(StructType::get( 240 EXPECT_EQ(PointerType::getUnqual(StructType::get( 246 EXPECT_EQ(PointerType::getUnqual(StructType::get(
|
/external/llvm/include/llvm/Target/ |
TargetData.h | 32 class StructType; 96 // The StructType -> StructLayout map. 295 const StructLayout *getStructLayout(StructType *Ty) const; 358 StructLayout(StructType *ST, const TargetData &TD);
|
/external/llvm/lib/CodeGen/ |
Analysis.cpp | 44 if (StructType *STy = dyn_cast<StructType>(Ty)) { 45 for (StructType::element_iterator EB = STy->element_begin(), 81 if (StructType *STy = dyn_cast<StructType>(Ty)) { 83 for (StructType::element_iterator EB = STy->element_begin(),
|
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/lib/Analysis/ |
MemoryBuiltins.cpp | 102 if (StructType *ST = dyn_cast<StructType>(T))
|
/external/llvm/lib/Transforms/Scalar/ |
GlobalMerge.cpp | 149 StructType *MergedTy = StructType::get(M.getContext(), Tys);
|
ScalarReplAggregates.cpp | 711 if (StructType *ST = dyn_cast<StructType>(ToType)) { [all...] |
SCCP.cpp | 162 /// StructType, for example for formal arguments, calls, insertelement, etc. 240 if (StructType *STy = dyn_cast<StructType>(F->getReturnType())) { 301 if (StructType *STy = dyn_cast<StructType>(V->getType())) 399 assert(i < cast<StructType>(V->getType())->getNumElements() && 734 if (StructType *STy = dyn_cast<StructType>(ResultOp->getType())) 787 StructType *STy = dyn_cast<StructType>(IVI.getType()) [all...] |
/external/llvm/lib/Transforms/IPO/ |
ArgumentPromotion.cpp | 163 if (StructType *STy = dyn_cast<StructType>(AgTy)) { 193 if (StructType *STy = dyn_cast<StructType>(AgTy)) { 533 StructType *STy = cast<StructType>(AgTy); 666 StructType *STy = cast<StructType>(AgTy); [all...] |