| /freebsd-12.1/contrib/compiler-rt/lib/ubsan/ |
| H A D | ubsan_value.h | 90 u16 TypeInfo; variable 119 return isIntegerTy() && (TypeInfo & 1); in isSignedIntegerTy() 122 return isIntegerTy() && !(TypeInfo & 1); in isUnsignedIntegerTy() 126 return 1 << (TypeInfo >> 1); in getIntegerBitWidth() 132 return TypeInfo; in getFloatBitWidth()
|
| H A D | ubsan_type_hash_itanium.cc | 196 std::type_info *TypeInfo; member 203 if (!Prefix->TypeInfo) in getVtablePrefix() 233 dynamic_cast<abi::__class_type_info*>(Vtable->TypeInfo); in checkDynamicType() 255 static_cast<const abi::__class_type_info*>(Vtable->TypeInfo), in getDynamicTypeInfoFromVtable() 257 return DynamicTypeInfo(Vtable->TypeInfo->__type_name, -Vtable->Offset, in getDynamicTypeInfoFromVtable()
|
| H A D | ubsan_handlers_cxx.h | 24 void *TypeInfo; member
|
| H A D | ubsan_handlers_cxx.cc | 37 if (checkDynamicType((void*)Pointer, Data->TypeInfo, Hash)) in HandleDynamicTypeCacheMiss()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/ |
| H A D | Initialization.h | 192 TypeSourceInfo *TypeInfo; member 324 static InitializedEntity InitializeTemporary(TypeSourceInfo *TypeInfo) { in InitializeTemporary() argument 325 return InitializeTemporary(TypeInfo, TypeInfo->getType()); in InitializeTemporary() 329 static InitializedEntity InitializeTemporary(TypeSourceInfo *TypeInfo, in InitializeTemporary() argument 332 Result.TypeInfo = TypeInfo; in InitializeTemporary() 400 Result.TypeInfo = TSI; in InitializeCompoundLiteralInit() 419 return TypeInfo; in getTypeSourceInfo()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGException.cpp | 580 CatchTypeInfo TypeInfo{nullptr, 0}; in EnterCXXTryStmt() local 586 CatchScope->setHandler(I, TypeInfo, Handler); in EnterCXXTryStmt() 920 CatchTypeInfo TypeInfo = Handler.Type; in emitCatchPadBlock() local 921 if (!TypeInfo.RTTI) in emitCatchPadBlock() 928 CatchSwitch, {TypeInfo.RTTI, CGF.Builder.getInt32(TypeInfo.Flags), in emitCatchPadBlock() 931 CGF.Builder.CreateCatchPad(CatchSwitch, {TypeInfo.RTTI}); in emitCatchPadBlock() 970 CatchTypeInfo TypeInfo = Handler.Type; in emitWasmCatchPadBlock() local 971 if (!TypeInfo.RTTI) in emitWasmCatchPadBlock() 973 CatchTypes.push_back(TypeInfo.RTTI); in emitWasmCatchPadBlock() 1002 CatchTypeInfo TypeInfo = Handler.Type; in emitWasmCatchPadBlock() local [all …]
|
| H A D | CGObjCRuntime.cpp | 124 llvm::Constant *TypeInfo; member 182 Handler.TypeInfo = catchAll.RTTI; in EmitTryCatchStmt() 188 Handler.TypeInfo = GetEHType(CatchDecl->getType()); in EmitTryCatchStmt() 193 Catch->setHandler(I, { Handlers[I].TypeInfo, Handlers[I].Flags }, Handlers[I].Block); in EmitTryCatchStmt()
|
| H A D | CGExprAgg.cpp | 1861 std::pair<CharUnits, CharUnits> TypeInfo; in EmitAggregateCopy() local 1863 TypeInfo = getContext().getTypeInfoDataSizeInChars(Ty); in EmitAggregateCopy() 1865 TypeInfo = getContext().getTypeInfoInChars(Ty); in EmitAggregateCopy() 1868 if (TypeInfo.first.isZero()) { in EmitAggregateCopy() 1874 TypeInfo = getContext().getTypeInfoInChars(BaseEltTy); in EmitAggregateCopy() 1875 assert(!TypeInfo.first.isZero()); in EmitAggregateCopy() 1878 llvm::ConstantInt::get(SizeTy, TypeInfo.first.getQuantity())); in EmitAggregateCopy() 1882 SizeVal = llvm::ConstantInt::get(SizeTy, TypeInfo.first.getQuantity()); in EmitAggregateCopy()
|
| H A D | TargetInfo.cpp | 1933 auto TypeInfo = getContext().getTypeInfoInChars(Ty); in EmitVAArg() local 1939 TypeInfo.second = CharUnits::fromQuantity( in EmitVAArg() 1943 TypeInfo, CharUnits::fromQuantity(4), in EmitVAArg() 3912 TypeInfo Info = getContext().getTypeInfo(Ty); in classify() 4262 Size = TypeInfo.first.alignTo(OverflowAreaAlign); in EmitVAArg() 4828 auto TypeInfo = getContext().getTypeInfoInChars(Ty); in EmitVAArg() local 4829 TypeInfo.second = getParamTypeAlignment(Ty); in EmitVAArg() 4840 CharUnits EltSize = TypeInfo.first / 2; in EmitVAArg() 8179 auto TypeInfo = getContext().getTypeInfoInChars(Ty); in EmitVAArg() local 8191 CharUnits Offset = SlotSize - TypeInfo.first; in EmitVAArg() [all …]
|
| H A D | CGExprCXX.cpp | 2132 llvm::Constant *TypeInfo = in EmitCXXTypeidExpr() local 2134 return Builder.CreateBitCast(TypeInfo, StdTypeInfoPtrTy); in EmitCXXTypeidExpr()
|
| H A D | CGAtomic.cpp | 60 TypeInfo ValueTI = C.getTypeInfo(ValueTy); in AtomicInfo() 64 TypeInfo AtomicTI = C.getTypeInfo(AtomicTy); in AtomicInfo()
|
| /freebsd-12.1/contrib/llvm/tools/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()
|
| /freebsd-12.1/contrib/llvm/include/llvm/BinaryFormat/ |
| H A D | COFF.h | 706 uint16_t TypeInfo; member 708 ImportType getType() const { return static_cast<ImportType>(TypeInfo & 0x3); } in getType() 711 return static_cast<ImportNameType>((TypeInfo & 0x1C) >> 2); in getNameType()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/ |
| H A D | InstructionCombining.cpp | 2713 static bool isCatchAll(EHPersonality Personality, Constant *TypeInfo) { in isCatchAll() argument 2735 return TypeInfo->isNullValue(); in isCatchAll() 2766 Constant *TypeInfo = CatchClause->stripPointerCasts(); in visitLandingPadInst() local 2770 if (AlreadyCaught.insert(TypeInfo).second) { in visitLandingPadInst() 2780 if (isCatchAll(Personality, TypeInfo)) { in visitLandingPadInst() 2815 Constant *TypeInfo = in visitLandingPadInst() local 2818 if (isCatchAll(Personality, TypeInfo)) { in visitLandingPadInst() 2826 NewFilterElts.push_back(TypeInfo); in visitLandingPadInst() 2840 Constant *TypeInfo = Elt->stripPointerCasts(); in visitLandingPadInst() local 2841 if (isCatchAll(Personality, TypeInfo)) { in visitLandingPadInst() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | ASTContext.h | 143 struct TypeInfo { struct 148 TypeInfo() : AlignIsRequired(false) {} in TypeInfo() argument 149 TypeInfo(uint64_t Width, unsigned Align, bool AlignIsRequired) in TypeInfo() argument 247 using TypeInfoMap = llvm::DenseMap<const Type *, struct TypeInfo>; 2030 TypeInfo getTypeInfoImpl(const Type *T) const; 2063 TypeInfo getTypeInfo(const Type *T) const; 2064 TypeInfo getTypeInfo(QualType T) const { return getTypeInfo(T.getTypePtr()); } in getTypeInfo()
|
| H A D | ExprCXX.h | 1874 TypeSourceInfo *TypeInfo; variable 1879 CXXScalarValueInitExpr(QualType Type, TypeSourceInfo *TypeInfo, in CXXScalarValueInitExpr() argument 1884 TypeInfo(TypeInfo) { in CXXScalarValueInitExpr() 1892 return TypeInfo; in getTypeSourceInfo()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/ |
| H A D | WinEHPrepare.cpp | 149 Constant *TypeInfo = cast<Constant>(CPI->getArgOperand(0)); in addTryBlockMapEntry() local 150 if (TypeInfo->isNullValue()) in addTryBlockMapEntry() 153 HT.TypeDescriptor = cast<GlobalVariable>(TypeInfo->stripPointerCasts()); in addTryBlockMapEntry()
|
| H A D | MachineFunction.cpp | 667 Value *TypeInfo = CPI->getArgOperand(I - 1)->stripPointerCasts(); in addLandingPad() local 668 addCatchTypeInfo(LandingPad, dyn_cast<GlobalValue>(TypeInfo)); in addLandingPad()
|
| /freebsd-12.1/contrib/llvm/include/llvm/Object/ |
| H A D | COFF.h | 547 support::ulittle16_t TypeInfo; member 549 int getType() const { return TypeInfo & 0x3; } in getType() 550 int getNameType() const { return (TypeInfo >> 2) & 0x7; } in getNameType()
|
| /freebsd-12.1/contrib/llvm/lib/Object/ |
| H A D | COFFImportFile.cpp | 481 Imp->TypeInfo = (NameType << 2) | ImportType; in createShortImport()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | ASTContext.cpp | 1695 TypeInfo Info = getTypeInfo(T); in getTypeInfoInChars() 1737 TypeInfo ASTContext::getTypeInfo(const Type *T) const { in getTypeInfo() 1743 TypeInfo TI = getTypeInfoImpl(T); in getTypeInfo() 1754 TypeInfo ASTContext::getTypeInfoImpl(const Type *T) const { in getTypeInfoImpl() 1787 TypeInfo EltInfo = getTypeInfo(CAT->getElementType()); in getTypeInfoImpl() 1801 TypeInfo EltInfo = getTypeInfo(VT->getElementType()); in getTypeInfoImpl() 1998 TypeInfo EltInfo = getTypeInfo(cast<ComplexType>(T)->getElementType()); in getTypeInfoImpl() 2027 TypeInfo Info = in getTypeInfoImpl() 2089 TypeInfo Info = getTypeInfo(cast<AtomicType>(T)->getValueType()); in getTypeInfoImpl() 2120 return TypeInfo(Width, Align, AlignIsRequired); in getTypeInfoImpl() [all …]
|
| H A D | ExprCXX.cpp | 93 return TypeInfo ? TypeInfo->getTypeLoc().getBeginLoc() : getRParenLoc(); in getBeginLoc()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Symbol/ |
| H A D | ClangASTContext.cpp | 6783 clang::TypeInfo ivar_type_info = in GetChildCompilerTypeAtIndex() 6814 clang::TypeInfo ivar_type_info = in GetChildCompilerTypeAtIndex() 9154 clang::TypeInfo base_class_type_info = in DumpValue() 9200 clang::TypeInfo field_type_info = in DumpValue() 9289 clang::TypeInfo field_type_info = in DumpValue() 9358 clang::TypeInfo typedef_type_info = in DumpValue() 9383 clang::TypeInfo elaborated_type_info = in DumpValue() 9408 clang::TypeInfo elaborated_type_info = in DumpValue() 9434 clang::TypeInfo desugar_type_info = in DumpValue() 9488 clang::TypeInfo typedef_type_info = in DumpTypeValue()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaDeclObjC.cpp | 3135 TypeInfo LeftTI = Context.getTypeInfo(left); in matchTypes() 3136 TypeInfo RightTI = Context.getTypeInfo(right); in matchTypes() 3192 TypeInfo LeftTI = Context.getTypeInfo(lt); in tryMatchRecordTypes() 3193 TypeInfo RightTI = Context.getTypeInfo(rt); in tryMatchRecordTypes()
|
| H A D | SemaChecking.cpp | 13601 Sema::TypeTagData &TypeInfo) { in GetMatchingCType() argument 13618 TypeInfo.Type = I->getMatchingCType(); in GetMatchingCType() 13619 TypeInfo.LayoutCompatible = I->getLayoutCompatible(); in GetMatchingCType() 13620 TypeInfo.MustBeNull = I->getMustBeNull(); in GetMatchingCType() 13635 TypeInfo = I->second; in GetMatchingCType() 13685 TypeTagData TypeInfo; in CheckArgumentWithTypeTag() local 13688 FoundWrongKind, TypeInfo)) { in CheckArgumentWithTypeTag() 13717 if (TypeInfo.MustBeNull) { in CheckArgumentWithTypeTag() 13730 QualType RequiredType = TypeInfo.Type; in CheckArgumentWithTypeTag() 13735 if (!TypeInfo.LayoutCompatible) { in CheckArgumentWithTypeTag() [all …]
|