/minix/minix/llvm/passes/include/magic/support/ |
H A D | TypeInfo.h | 21 class TypeInfo { 88 TypeInfo() {} in TypeInfo() function 91 inline TypeInfo::TypeInfo(const SmartType *aSmartType, int persistent) { in TypeInfo() function 195 inline TypeInfo::TypeInfo(TYPECONST FunctionType *FT, int persistent) { in TypeInfo() function 207 inline TypeInfo::TypeInfo(TYPECONST PointerType *PT, int persistent) { in TypeInfo() function 219 inline TypeInfo::TypeInfo(TYPECONST ArrayType *AT, int persistent) { in TypeInfo() function 231 inline TypeInfo::TypeInfo(TYPECONST IntegerType *IT, int persistent) { in TypeInfo() function 301 inline TypeInfo *TypeInfo::getContainedType(unsigned i) const { in getContainedType() 372 inline std::vector<TypeInfo*> TypeInfo::getCastTypes() const { in getCastTypes() 479 inline bool TypeInfo::equals(TYPECONST TypeInfo *other) const { in equals() [all …]
|
H A D | MagicMemFunction.h | 24 TypeInfo* getInstructionTypeInfo() const; 30 …void setInstructionTypeInfo(TypeInfo* aTypeInfo, std::string &allocName, std::string &allocParentN… 33 …void replaceInstruction(std::map<TypeInfo*, Constant*> &magicArrayTypePtrMap, TypeInfo *voidPtrTyp… 39 …tionPointerParam(Function* function, std::set<Function*> &brkFunctions, TypeInfo *voidPtrTypeInfo); 52 TypeInfo* aTypeInfo; 60 void buildWrapper(std::map<TypeInfo*, Constant*> &magicArrayTypePtrMap, TypeInfo *voidPtrTypeInfo); 189 inline TypeInfo* MagicMemFunction::getInstructionTypeInfo() const { in getInstructionTypeInfo() 210 inline void MagicMemFunction::setInstructionTypeInfo(TypeInfo* aTypeInfo, std::string &allocName, s… in setInstructionTypeInfo() 228 …oid MagicMemFunction::replaceInstruction(std::map<TypeInfo*, Constant*> &magicArrayTypePtrMap, Typ… in replaceInstruction() argument 240 std::map<TypeInfo*, Constant*>::iterator it; in replaceInstruction() [all …]
|
/minix/minix/llvm/passes/include/magic/ |
H A D | MagicPass.h | 49 std::vector<TypeInfo*> globalTypeInfos; 50 std::map<GlobalValue*, TypeInfo*> globalParentMap; 51 std::map<GlobalValue*, TypeInfo*>::iterator parentMapIt; 84 …TypeInfo* typeInfoFromPointerVariables(Module &M, TypeInfo *voidPtrTypeInfo, std::vector<Value*> &… 85 …TypeInfo* getAllocTypeInfo(Module &M, TypeInfo *voidPtrTypeInfo, const CallSite &CS, std::string &… 86 TypeInfo* fillTypeInfos(TypeInfo &sourceTypeInfo, std::vector<TypeInfo*> &typeInfos); 87 …TypeInfo* fillExternalTypeInfos(TYPECONST Type* sourceType, GlobalValue *parent, std::vector<TypeI… 88 void printInterestingTypes(TYPECONST TypeInfo *aTypeInfo); 89 unsigned getMaxRecursiveSequenceLength(TYPECONST TypeInfo *aTypeInfo); 97 …void indexLocalTypeInfos(Module &M, Function *F, std::map<AllocaInst*, std::pair<TypeInfo*, std::s… [all …]
|
/minix/external/bsd/llvm/dist/llvm/test/Bitcode/ |
H A D | metadata-2.ll | 12 …Interface[]", %object.ClassInfo*, i8*, i8*, i32, i8*, %"OffsetTypeInfo[]", i8*, %object.TypeInfo* } 18 %object.OffsetTypeInfo = type { i64, %object.TypeInfo* } 19 %object.TypeInfo = type { %object.TypeInfo.__vtbl*, i8* } 20 …TypeInfo.__vtbl = type { %object.ClassInfo*, %"byte[]" (%object.Object*)*, i64 (%object.Object*)*,…
|
/minix/minix/llvm/passes/magic/ |
H A D | MagicPass.cpp | 135 unsigned TypeInfo::maxNameLength = 0; 136 unsigned TypeInfo::maxTypeStringLength = 0; 139 std::map<TYPECONST Type*, std::set<TypeInfo*> > TypeInfo::typeMap; 876 TypeInfo* magicVoidTypeInfo = NULL; in runOnModule() 1172 std::vector<TypeInfo*> rawTypeInfos; in runOnModule() 1179 TypeInfo* aRawTypeInfo = new TypeInfo(*magicVoidArrTypeInfo); in runOnModule() 1987 TypeInfo *aTypeInfo = NULL; in typeInfoFromPointerVariables() 2246 TypeInfo* MagicPass::fillTypeInfos(TypeInfo &sourceTypeInfo, std::vector<TypeInfo*> &typeInfos) { in fillTypeInfos() 2273 TypeInfo *aTypeInfo = new TypeInfo(sourceTypeInfo); in fillTypeInfos() 2278 TypeInfo* addedTypeInfo = NULL; in fillTypeInfos() [all …]
|
/minix/usr.sbin/syslogd/ |
H A D | syslogd.c | 140 struct TypeInfo { struct 149 } TypeInfo[] = { argument 2325 TypeInfo[f->f_type].name, in fprintlog() 2402 TypeInfo[f->f_type].name); in fprintlog() 3134 TypeInfo[i].queue_length_string = in read_config_file() 3137 if (TypeInfo[i].queue_size_string in read_config_file() 3141 TypeInfo[i].queue_size_string = in read_config_file() 3592 TypeInfo[F_TLS].queue_length, TypeInfo[F_FILE].queue_length, in init() 3593 TypeInfo[F_PIPE].queue_length, in init() 3594 TypeInfo[F_TLS].queue_size, TypeInfo[F_FILE].queue_size, in init() [all …]
|
/minix/external/bsd/llvm/dist/clang/include/clang/Sema/ |
H A D | Initialization.h | 144 TypeSourceInfo *TypeInfo; member 265 Result.TypeInfo = nullptr; in InitializeTemporary() 270 static InitializedEntity InitializeTemporary(TypeSourceInfo *TypeInfo) { in InitializeTemporary() argument 272 TypeInfo->getType()); in InitializeTemporary() 273 Result.TypeInfo = TypeInfo; in InitializeTemporary() 328 Result.TypeInfo = TSI; in InitializeCompoundLiteralInit() 348 return TypeInfo; in getTypeSourceInfo()
|
/minix/external/bsd/llvm/dist/clang/lib/Driver/ |
H A D | Types.cpp | 19 struct TypeInfo { struct 26 static const TypeInfo TypeInfos[] = { argument 34 static const TypeInfo &getInfo(unsigned id) { in getInfo()
|
/minix/external/bsd/llvm/dist/clang/lib/CodeGen/ |
H A D | CGObjCRuntime.cpp | 152 llvm::Constant *TypeInfo; member 204 Handler.TypeInfo = nullptr; // catch-all in EmitTryCatchStmt() 209 Handler.TypeInfo = GetEHType(CatchDecl->getType()); in EmitTryCatchStmt() 214 Catch->setHandler(I, Handlers[I].TypeInfo, Handlers[I].Block); in EmitTryCatchStmt()
|
H A D | CGExprAgg.cpp | 1344 std::pair<CharUnits, CharUnits> TypeInfo = in CheckAggExprForMemSetUse() local 1346 if (TypeInfo.first <= CharUnits::fromQuantity(16)) in CheckAggExprForMemSetUse() 1352 if (NumNonZeroBytes*4 > TypeInfo.first) in CheckAggExprForMemSetUse() 1357 CharUnits Align = TypeInfo.second; in CheckAggExprForMemSetUse() 1433 std::pair<CharUnits, CharUnits> TypeInfo; in EmitAggregateCopy() local 1435 TypeInfo = getContext().getTypeInfoDataSizeInChars(Ty); in EmitAggregateCopy() 1437 TypeInfo = getContext().getTypeInfoInChars(Ty); in EmitAggregateCopy() 1440 alignment = TypeInfo.second; in EmitAggregateCopy() 1473 CharUnits size = TypeInfo.first; in EmitAggregateCopy() 1484 CharUnits size = TypeInfo.first; in EmitAggregateCopy() [all …]
|
H A D | CGException.cpp | 463 llvm::Constant *TypeInfo = CGM.GetAddrOfRTTIDescriptor(ThrowType, in EmitCXXThrowExpr() local 479 llvm::Value *args[] = { ExceptionPtr, TypeInfo, Dtor }; in EmitCXXThrowExpr() 621 llvm::Constant *TypeInfo = nullptr; in EnterCXXTryStmt() local 623 TypeInfo = CGM.getObjCRuntime().GetEHType(CaughtType); in EnterCXXTryStmt() 625 TypeInfo = CGM.GetAddrOfRTTIDescriptor(CaughtType, /*ForEH=*/true); in EnterCXXTryStmt() 626 CatchScope->setHandler(I, TypeInfo, Handler); in EnterCXXTryStmt()
|
H A D | CodeGenFunction.cpp | 1262 std::pair<CharUnits, CharUnits> TypeInfo = in EmitNullInitialization() local 1264 CharUnits Size = TypeInfo.first; in EmitNullInitialization() 1265 CharUnits Align = TypeInfo.second; in EmitNullInitialization()
|
H A D | CGAtomic.cpp | 51 TypeInfo ValueTI = C.getTypeInfo(ValueTy); in AtomicInfo() 55 TypeInfo AtomicTI = C.getTypeInfo(AtomicTy); in AtomicInfo()
|
H A D | CGExprCXX.cpp | 1702 llvm::Constant *TypeInfo = in EmitCXXTypeidExpr() local 1704 return Builder.CreateBitCast(TypeInfo, StdTypeInfoPtrTy); in EmitCXXTypeidExpr()
|
H A D | CGExpr.cpp | 2113 uint16_t TypeInfo = 0; in EmitCheckTypeDescriptor() local 2117 TypeInfo = (llvm::Log2_32(getContext().getTypeSize(T)) << 1) | in EmitCheckTypeDescriptor() 2121 TypeInfo = getContext().getTypeSize(T); in EmitCheckTypeDescriptor() 2133 Builder.getInt16(TypeKind), Builder.getInt16(TypeInfo), in EmitCheckTypeDescriptor()
|
/minix/external/bsd/llvm/dist/llvm/include/llvm/Support/ |
H A D | COFF.h | 656 uint16_t TypeInfo; member 659 return static_cast<ImportType>(TypeInfo & 0x3); in getType() 663 return static_cast<ImportNameType>((TypeInfo & 0x1C) >> 3); in getNameType()
|
/minix/external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/ |
H A D | pic-eh-stubs.ll | 14 ; CHECK: [[TYPEINFO_LBL:.Ltmp[0-9]+]]: // TypeInfo 1
|
/minix/external/bsd/llvm/dist/clang/include/clang/AST/ |
H A D | ASTContext.h | 78 struct TypeInfo { struct 82 TypeInfo() : Width(0), Align(0), AlignIsRequired(false) {} in TypeInfo() function 83 TypeInfo(uint64_t Width, unsigned Align, bool AlignIsRequired) in TypeInfo() function 157 typedef llvm::DenseMap<const Type *, struct TypeInfo> TypeInfoMap; 1607 TypeInfo getTypeInfoImpl(const Type *T) const; 1640 TypeInfo getTypeInfo(const Type *T) const; 1641 TypeInfo getTypeInfo(QualType T) const { return getTypeInfo(T.getTypePtr()); } in getTypeInfo()
|
H A D | ExprCXX.h | 1578 TypeSourceInfo *TypeInfo; variable 1585 CXXScalarValueInitExpr(QualType Type, TypeSourceInfo *TypeInfo, in CXXScalarValueInitExpr() argument 1590 RParenLoc(rParenLoc), TypeInfo(TypeInfo) {} in CXXScalarValueInitExpr() 1596 return TypeInfo; in getTypeSourceInfo()
|
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 2321 return TypeInfo->isNullValue(); in isCatchAll() 2351 Constant *TypeInfo = CatchClause->stripPointerCasts(); in visitLandingPadInst() local 2355 if (AlreadyCaught.insert(TypeInfo).second) { in visitLandingPadInst() 2365 if (isCatchAll(Personality, TypeInfo)) { in visitLandingPadInst() 2400 Constant *TypeInfo = in visitLandingPadInst() local 2403 if (isCatchAll(Personality, TypeInfo)) { in visitLandingPadInst() 2411 NewFilterElts.push_back(TypeInfo); in visitLandingPadInst() 2425 Constant *TypeInfo = Elt->stripPointerCasts(); in visitLandingPadInst() local 2426 if (isCatchAll(Personality, TypeInfo)) { in visitLandingPadInst() 2431 if (AlreadyCaught.count(TypeInfo)) in visitLandingPadInst() [all …]
|
/minix/external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ |
H A D | ehabi-filters.ll | 30 ; CHECK: .long _ZTIi(target2) @ TypeInfo 1
|
/minix/external/bsd/llvm/dist/clang/lib/AST/ |
H A D | ASTContext.cpp | 1411 TypeInfo Info = getTypeInfo(T); in getTypeInfoInChars() 1429 TypeInfo ASTContext::getTypeInfo(const Type *T) const { in getTypeInfo() 1435 TypeInfo TI = getTypeInfoImpl(T); in getTypeInfo() 1446 TypeInfo ASTContext::getTypeInfoImpl(const Type *T) const { in getTypeInfoImpl() 1478 TypeInfo EltInfo = getTypeInfo(CAT->getElementType()); in getTypeInfoImpl() 1492 TypeInfo EltInfo = getTypeInfo(VT->getElementType()); in getTypeInfoImpl() 1645 TypeInfo EltInfo = getTypeInfo(cast<ComplexType>(T)->getElementType()); in getTypeInfoImpl() 1698 TypeInfo Info = getTypeInfo(Typedef->getUnderlyingType().getTypePtr()); in getTypeInfoImpl() 1722 TypeInfo Info = getTypeInfo(cast<AtomicType>(T)->getValueType()); in getTypeInfoImpl() 1742 return TypeInfo(Width, Align, AlignIsRequired); in getTypeInfoImpl() [all …]
|
H A D | ExprCXX.cpp | 132 return TypeInfo ? TypeInfo->getTypeLoc().getBeginLoc() : RParenLoc; in getLocStart()
|
/minix/external/bsd/llvm/dist/clang/lib/Sema/ |
H A D | SemaChecking.cpp | 8690 Sema::TypeTagData &TypeInfo) { in GetMatchingCType() argument 8707 TypeInfo.Type = I->getMatchingCType(); in GetMatchingCType() 8708 TypeInfo.LayoutCompatible = I->getLayoutCompatible(); in GetMatchingCType() 8709 TypeInfo.MustBeNull = I->getMustBeNull(); in GetMatchingCType() 8724 TypeInfo = I->second; in GetMatchingCType() 8769 TypeTagData TypeInfo; in CheckArgumentWithTypeTag() local 8772 FoundWrongKind, TypeInfo)) { in CheckArgumentWithTypeTag() 8794 if (TypeInfo.MustBeNull) { in CheckArgumentWithTypeTag() 8807 QualType RequiredType = TypeInfo.Type; in CheckArgumentWithTypeTag() 8812 if (!TypeInfo.LayoutCompatible) { in CheckArgumentWithTypeTag() [all …]
|
H A D | SemaDeclObjC.cpp | 2106 TypeInfo LeftTI = Context.getTypeInfo(left); in matchTypes() 2107 TypeInfo RightTI = Context.getTypeInfo(right); in matchTypes() 2163 TypeInfo LeftTI = Context.getTypeInfo(lt); in tryMatchRecordTypes() 2164 TypeInfo RightTI = Context.getTypeInfo(rt); in tryMatchRecordTypes()
|