Home
last modified time | relevance | path

Searched refs:TypeInfo (Results 1 – 25 of 40) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_value.h89 u16 TypeInfo; variable
118 return isIntegerTy() && (TypeInfo & 1); in isSignedIntegerTy()
121 return isIntegerTy() && !(TypeInfo & 1); in isUnsignedIntegerTy()
125 return 1 << (TypeInfo >> 1); in getIntegerBitWidth()
131 return TypeInfo; in getFloatBitWidth()
H A Dubsan_type_hash_itanium.cpp195 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 Dubsan_handlers_cxx.h23 void *TypeInfo; member
H A Dubsan_handlers_cxx.cpp36 if (checkDynamicType((void*)Pointer, Data->TypeInfo, Hash)) in HandleDynamicTypeCacheMiss()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DInitialization.h195 TypeSourceInfo *TypeInfo; member
338 static InitializedEntity InitializeTemporary(TypeSourceInfo *TypeInfo) { in InitializeTemporary() argument
339 return InitializeTemporary(TypeInfo, TypeInfo->getType()); in InitializeTemporary()
343 static InitializedEntity InitializeTemporary(TypeSourceInfo *TypeInfo, in InitializeTemporary() argument
346 Result.TypeInfo = TypeInfo; in InitializeTemporary()
416 Result.TypeInfo = TSI; in InitializeCompoundLiteralInit()
435 return TypeInfo; in getTypeSourceInfo()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGException.cpp630 CatchTypeInfo TypeInfo{nullptr, 0}; in EnterCXXTryStmt() local
636 CatchScope->setHandler(I, TypeInfo, Handler); in EnterCXXTryStmt()
963 CatchTypeInfo TypeInfo = Handler.Type; in emitCatchPadBlock() local
964 if (!TypeInfo.RTTI) in emitCatchPadBlock()
971 CatchSwitch, {TypeInfo.RTTI, CGF.Builder.getInt32(TypeInfo.Flags), in emitCatchPadBlock()
974 CGF.Builder.CreateCatchPad(CatchSwitch, {TypeInfo.RTTI}); in emitCatchPadBlock()
1013 CatchTypeInfo TypeInfo = Handler.Type; in emitWasmCatchPadBlock() local
1014 if (!TypeInfo.RTTI) in emitWasmCatchPadBlock()
1016 CatchTypes.push_back(TypeInfo.RTTI); in emitWasmCatchPadBlock()
1045 CatchTypeInfo TypeInfo = Handler.Type; in emitWasmCatchPadBlock() local
[all …]
H A DCGObjCRuntime.cpp123 llvm::Constant *TypeInfo; member
180 Handler.TypeInfo = catchAll.RTTI; in EmitTryCatchStmt()
186 Handler.TypeInfo = GetEHType(CatchDecl->getType()); in EmitTryCatchStmt()
191 Catch->setHandler(I, { Handlers[I].TypeInfo, Handlers[I].Flags }, Handlers[I].Block); in EmitTryCatchStmt()
H A DCGExprAgg.cpp2102 TypeInfoChars TypeInfo; in EmitAggregateCopy() local
2104 TypeInfo = getContext().getTypeInfoDataSizeInChars(Ty); in EmitAggregateCopy()
2106 TypeInfo = getContext().getTypeInfoInChars(Ty); in EmitAggregateCopy()
2109 if (TypeInfo.Width.isZero()) { in EmitAggregateCopy()
2115 TypeInfo = getContext().getTypeInfoInChars(BaseEltTy); in EmitAggregateCopy()
2116 assert(!TypeInfo.Width.isZero()); in EmitAggregateCopy()
2119 llvm::ConstantInt::get(SizeTy, TypeInfo.Width.getQuantity())); in EmitAggregateCopy()
2123 SizeVal = llvm::ConstantInt::get(SizeTy, TypeInfo.Width.getQuantity()); in EmitAggregateCopy()
H A DCGExprConstant.cpp1919 llvm::Constant *TypeInfo = in tryEmitBase() local
1921 if (TypeInfo->getType() != StdTypeInfoPtrTy) in tryEmitBase()
1922 TypeInfo = llvm::ConstantExpr::getBitCast(TypeInfo, StdTypeInfoPtrTy); in tryEmitBase()
1923 return TypeInfo; in tryEmitBase()
H A DTargetInfo.cpp1772 TypeInfo TI = getContext().getTypeInfo(Ty); in classifyArgumentType()
2065 auto TypeInfo = getContext().getTypeInfoInChars(Ty); in EmitVAArg() local
2071 TypeInfo.Align = CharUnits::fromQuantity( in EmitVAArg()
4201 TypeInfo Info = getContext().getTypeInfo(Ty); in classify()
4578 auto TypeInfo = getContext().getTypeInfoInChars(Ty); in EmitVAArg() local
4579 TypeInfo.Align = getParamTypeAlignment(Ty); in EmitVAArg()
5336 auto TypeInfo = getContext().getTypeInfoInChars(Ty); in EmitVAArg() local
5337 TypeInfo.Align = getParamTypeAlignment(Ty); in EmitVAArg()
5348 CharUnits EltSize = TypeInfo.Width / 2; in EmitVAArg()
9591 CharUnits Offset = SlotSize - TypeInfo.Width; in EmitVAArg()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Driver/
H A DTypes.cpp23 struct TypeInfo { struct
39 static constexpr TypeInfo TypeInfos[] = { argument
47 static const TypeInfo &getInfo(unsigned id) { in getInfo()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DCOFF.h716 uint16_t TypeInfo; member
718 ImportType getType() const { return static_cast<ImportType>(TypeInfo & 0x3); } in getType()
721 return static_cast<ImportNameType>((TypeInfo & 0x1C) >> 2); in getNameType()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DASTContext.h167 struct TypeInfo { struct
172 TypeInfo() : AlignIsRequired(false) {} in TypeInfo() argument
173 TypeInfo(uint64_t Width, unsigned Align, bool AlignIsRequired) in TypeInfo() function
270 using TypeInfoMap = llvm::DenseMap<const Type *, struct TypeInfo>;
2155 TypeInfo getTypeInfoImpl(const Type *T) const;
2202 TypeInfo getTypeInfo(const Type *T) const;
2203 TypeInfo getTypeInfo(QualType T) const { return getTypeInfo(T.getTypePtr()); } in getTypeInfo()
H A DExprCXX.h2096 TypeSourceInfo *TypeInfo; variable
2101 CXXScalarValueInitExpr(QualType Type, TypeSourceInfo *TypeInfo, in CXXScalarValueInitExpr() argument
2104 TypeInfo(TypeInfo) { in CXXScalarValueInitExpr()
2113 return TypeInfo; in getTypeSourceInfo()
H A DAPValue.h156 static LValueBase getTypeInfo(TypeInfoLValue LV, QualType TypeInfo);
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp3205 static bool isCatchAll(EHPersonality Personality, Constant *TypeInfo) { in isCatchAll() argument
3228 return TypeInfo->isNullValue(); in isCatchAll()
3259 Constant *TypeInfo = CatchClause->stripPointerCasts(); in visitLandingPadInst() local
3263 if (AlreadyCaught.insert(TypeInfo).second) { in visitLandingPadInst()
3273 if (isCatchAll(Personality, TypeInfo)) { in visitLandingPadInst()
3308 Constant *TypeInfo = in visitLandingPadInst() local
3311 if (isCatchAll(Personality, TypeInfo)) { in visitLandingPadInst()
3319 NewFilterElts.push_back(TypeInfo); in visitLandingPadInst()
3333 Constant *TypeInfo = Elt->stripPointerCasts(); in visitLandingPadInst() local
3334 if (isCatchAll(Personality, TypeInfo)) { in visitLandingPadInst()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/MC/MCParser/
H A DMCAsmParser.h309 AsmTypeInfo *TypeInfo) = 0;
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DWinEHPrepare.cpp151 Constant *TypeInfo = cast<Constant>(CPI->getArgOperand(0)); in addTryBlockMapEntry() local
152 if (TypeInfo->isNullValue()) in addTryBlockMapEntry()
155 HT.TypeDescriptor = cast<GlobalVariable>(TypeInfo->stripPointerCasts()); in addTryBlockMapEntry()
H A DMachineFunction.cpp758 Value *TypeInfo = CPI->getArgOperand(I - 1)->stripPointerCasts(); in addLandingPad() local
759 addCatchTypeInfo(LandingPad, dyn_cast<GlobalValue>(TypeInfo)); in addLandingPad()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Object/
H A DCOFF.h549 support::ulittle16_t TypeInfo; member
551 int getType() const { return TypeInfo & 0x3; } in getType()
552 int getNameType() const { return (TypeInfo >> 2) & 0x7; } in getNameType()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DAPValue.cpp56 QualType TypeInfo) { in getTypeInfo() argument
59 Base.TypeInfoType = TypeInfo.getAsOpaquePtr(); in getTypeInfo()
H A DASTContext.cpp1868 TypeInfo Info = getTypeInfo(T); in getTypeInfoInChars()
1911 TypeInfo ASTContext::getTypeInfo(const Type *T) const { in getTypeInfo()
1917 TypeInfo TI = getTypeInfoImpl(T); in getTypeInfo()
1928 TypeInfo ASTContext::getTypeInfoImpl(const Type *T) const { in getTypeInfoImpl()
1960 TypeInfo EltInfo = getTypeInfo(cast<ArrayType>(T)->getElementType()); in getTypeInfoImpl()
1975 TypeInfo EltInfo = getTypeInfo(VT->getElementType()); in getTypeInfoImpl()
2000 TypeInfo ElementInfo = getTypeInfo(MT->getElementType()); in getTypeInfoImpl()
2298 TypeInfo Info = in getTypeInfoImpl()
2364 TypeInfo Info = getTypeInfo(cast<AtomicType>(T)->getValueType()); in getTypeInfoImpl()
2395 return TypeInfo(Width, Align, AlignIsRequired); in getTypeInfoImpl()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Object/
H A DCOFFImportFile.cpp480 Imp->TypeInfo = (NameType << 2) | ImportType; in createShortImport()
/freebsd-13.1/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DAsmParser.cpp272 AsmTypeInfo *TypeInfo) override;
1140 AsmTypeInfo *TypeInfo) { in parsePrimaryExpr() argument
1151 if (parsePrimaryExpr(Res, EndLoc, TypeInfo)) in parsePrimaryExpr()
1322 if (parsePrimaryExpr(Res, EndLoc, TypeInfo)) in parsePrimaryExpr()
1328 if (parsePrimaryExpr(Res, EndLoc, TypeInfo)) in parsePrimaryExpr()
1334 if (parsePrimaryExpr(Res, EndLoc, TypeInfo)) in parsePrimaryExpr()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp6295 clang::TypeInfo ivar_type_info = in GetChildCompilerTypeAtIndex()
6326 clang::TypeInfo ivar_type_info = in GetChildCompilerTypeAtIndex()
8479 clang::TypeInfo base_class_type_info = in DumpValue()
8525 clang::TypeInfo field_type_info = in DumpValue()
8613 clang::TypeInfo field_type_info = in DumpValue()
8682 clang::TypeInfo typedef_type_info = in DumpValue()
8707 clang::TypeInfo elaborated_type_info = in DumpValue()
8732 clang::TypeInfo elaborated_type_info = in DumpValue()
8758 clang::TypeInfo desugar_type_info = in DumpValue()
8899 clang::TypeInfo typedef_type_info = in DumpTypeValue()

12