| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/ubsan/ |
| H A D | ubsan_value.h | 89 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 D | ubsan_type_hash_itanium.cpp | 207 std::type_info *TypeInfo; member 215 if (!Prefix->TypeInfo) in getVtablePrefix() 245 dynamic_cast<abi::__class_type_info*>(Vtable->TypeInfo); in checkDynamicType() 267 static_cast<const abi::__class_type_info*>(Vtable->TypeInfo), in getDynamicTypeInfoFromVtable() 269 return DynamicTypeInfo(Vtable->TypeInfo->name(), -Vtable->Offset, in getDynamicTypeInfoFromVtable()
|
| H A D | ubsan_handlers_cxx.h | 23 void *TypeInfo; member
|
| H A D | ubsan_handlers_cxx.cpp | 36 if (checkDynamicType((void*)Pointer, Data->TypeInfo, Hash)) in HandleDynamicTypeCacheMiss()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Initialization.h | 198 TypeSourceInfo *TypeInfo; member 344 TypeSourceInfo *TypeInfo) { in InitializeTemporary() argument 345 QualType Type = TypeInfo->getType(); in InitializeTemporary() 351 return InitializeTemporary(TypeInfo, Type); in InitializeTemporary() 355 static InitializedEntity InitializeTemporary(TypeSourceInfo *TypeInfo, in InitializeTemporary() argument 358 Result.TypeInfo = TypeInfo; in InitializeTemporary() 436 Result.TypeInfo = TSI; in InitializeCompoundLiteralInit() 455 return TypeInfo; in getTypeSourceInfo()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
| H A D | PPC.cpp | 241 auto TypeInfo = getContext().getTypeInfoInChars(Ty); in EmitVAArg() local 242 TypeInfo.Align = getParamTypeAlignment(Ty); in EmitVAArg() 254 CharUnits EltSize = TypeInfo.Width / 2; in EmitVAArg() 259 return emitVoidPtrVAArg(CGF, VAListAddr, Ty, /*Indirect*/ false, TypeInfo, in EmitVAArg() 482 auto TypeInfo = CGF.getContext().getTypeInfoInChars(Ty); in EmitVAArg() local 483 Size = TypeInfo.Width.alignTo(OverflowAreaAlign); in EmitVAArg() 903 auto TypeInfo = getContext().getTypeInfoInChars(Ty); in EmitVAArg() local 904 TypeInfo.Align = getParamTypeAlignment(Ty); in EmitVAArg() 915 CharUnits EltSize = TypeInfo.Width / 2; in EmitVAArg() 933 return emitVoidPtrVAArg(CGF, VAListAddr, Ty, /*Indirect*/ false, TypeInfo, in EmitVAArg()
|
| H A D | Sparc.cpp | 291 auto TypeInfo = getContext().getTypeInfoInChars(Ty); in EmitVAArg() local 303 CharUnits Offset = SlotSize - TypeInfo.Width; in EmitVAArg() 320 TypeInfo.Align); in EmitVAArg() 324 return Address(llvm::UndefValue::get(ArgPtrTy), ArgTy, TypeInfo.Align); in EmitVAArg()
|
| H A D | X86.cpp | 757 TypeInfo TI = getContext().getTypeInfo(Ty); in classifyArgumentType() 1070 auto TypeInfo = getContext().getTypeInfoInChars(Ty); in EmitVAArg() local 1076 TypeInfo.Align = CharUnits::fromQuantity( in EmitVAArg() 1077 getTypeStackAlignInBytes(Ty, TypeInfo.Align.getQuantity())); in EmitVAArg() 1080 TypeInfo, CharUnits::fromQuantity(4), in EmitVAArg() 3227 TypeInfo Info = getContext().getTypeInfo(Ty); in classify()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlanTransforms.cpp | 807 static void simplifyRecipe(VPRecipeBase &R, VPTypeAnalysis &TypeInfo) { in simplifyRecipe() argument 827 Type *TruncTy = TypeInfo.inferScalarType(Trunc); in simplifyRecipe() 828 Type *ATy = TypeInfo.inferScalarType(A); in simplifyRecipe() 849 VPTypeAnalysis TypeInfo2(TypeInfo.getContext()); in simplifyRecipe() 850 assert(TypeInfo.inferScalarType(A) == TypeInfo2.inferScalarType(A)); in simplifyRecipe() 856 assert(TypeInfo.inferScalarType(VPV) == TypeInfo2.inferScalarType(VPV)); in simplifyRecipe() 870 VPTypeAnalysis TypeInfo(Ctx); in simplifyRecipes() local 873 simplifyRecipe(R, TypeInfo); in simplifyRecipes() 891 VPTypeAnalysis TypeInfo(Ctx); in truncateToMinimalBitwidths() local 943 Type *OldResTy = TypeInfo.inferScalarType(ResultVPV); in truncateToMinimalBitwidths() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGException.cpp | 654 CatchTypeInfo TypeInfo{nullptr, 0}; in EnterCXXTryStmt() local 660 CatchScope->setHandler(I, TypeInfo, Handler); in EnterCXXTryStmt() 987 CatchTypeInfo TypeInfo = Handler.Type; in emitCatchPadBlock() local 988 if (!TypeInfo.RTTI) in emitCatchPadBlock() 995 CatchSwitch, {TypeInfo.RTTI, CGF.Builder.getInt32(TypeInfo.Flags), in emitCatchPadBlock() 998 CGF.Builder.CreateCatchPad(CatchSwitch, {TypeInfo.RTTI}); in emitCatchPadBlock() 1037 CatchTypeInfo TypeInfo = Handler.Type; in emitWasmCatchPadBlock() local 1038 if (!TypeInfo.RTTI) in emitWasmCatchPadBlock() 1040 CatchTypes.push_back(TypeInfo.RTTI); in emitWasmCatchPadBlock() 1069 CatchTypeInfo TypeInfo = Handler.Type; in emitWasmCatchPadBlock() local [all …]
|
| H A D | CGObjCRuntime.cpp | 122 llvm::Constant *TypeInfo; member 178 Handler.TypeInfo = catchAll.RTTI; in EmitTryCatchStmt() 184 Handler.TypeInfo = GetEHType(CatchDecl->getType()); in EmitTryCatchStmt() 189 Catch->setHandler(I, { Handlers[I].TypeInfo, Handlers[I].Flags }, Handlers[I].Block); in EmitTryCatchStmt()
|
| H A D | CGExprAgg.cpp | 2152 TypeInfoChars TypeInfo; in EmitAggregateCopy() local 2154 TypeInfo = getContext().getTypeInfoDataSizeInChars(Ty); in EmitAggregateCopy() 2156 TypeInfo = getContext().getTypeInfoInChars(Ty); in EmitAggregateCopy() 2159 if (TypeInfo.Width.isZero()) { in EmitAggregateCopy() 2165 TypeInfo = getContext().getTypeInfoInChars(BaseEltTy); in EmitAggregateCopy() 2166 assert(!TypeInfo.Width.isZero()); in EmitAggregateCopy() 2169 llvm::ConstantInt::get(SizeTy, TypeInfo.Width.getQuantity())); in EmitAggregateCopy() 2173 SizeVal = llvm::ConstantInt::get(SizeTy, TypeInfo.Width.getQuantity()); in EmitAggregateCopy()
|
| H A D | CGExprCXX.cpp | 2227 auto MaybeASCast = [=](auto &&TypeInfo) { in EmitCXXTypeidExpr() argument 2229 return TypeInfo; in EmitCXXTypeidExpr() 2230 return getTargetHooks().performAddrSpaceCast(CGM,TypeInfo, GlobAS, in EmitCXXTypeidExpr() 2235 llvm::Constant *TypeInfo = in EmitCXXTypeidExpr() local 2237 return MaybeASCast(TypeInfo); in EmitCXXTypeidExpr()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Driver/ |
| H A D | Types.cpp | 23 struct TypeInfo { struct 39 static constexpr TypeInfo TypeInfos[] = { argument 47 static const TypeInfo &getInfo(unsigned id) { in getInfo()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
| H A D | COFF.h | 778 uint16_t TypeInfo; member 780 ImportType getType() const { return static_cast<ImportType>(TypeInfo & 0x3); } in getType() 783 return static_cast<ImportNameType>((TypeInfo & 0x1C) >> 2); in getNameType()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | ASTContext.h | 152 struct TypeInfo { struct 157 TypeInfo() : AlignRequirement(AlignRequirementKind::None) {} in TypeInfo() argument 158 TypeInfo(uint64_t Width, unsigned Align, in TypeInfo() argument 273 using TypeInfoMap = llvm::DenseMap<const Type *, struct TypeInfo>; 2242 TypeInfo getTypeInfoImpl(const Type *T) const; 2300 TypeInfo getTypeInfo(const Type *T) const; 2301 TypeInfo getTypeInfo(QualType T) const { return getTypeInfo(T.getTypePtr()); } in getTypeInfo()
|
| H A D | ExprCXX.h | 2168 TypeSourceInfo *TypeInfo; variable 2173 CXXScalarValueInitExpr(QualType Type, TypeSourceInfo *TypeInfo, in CXXScalarValueInitExpr() argument 2176 TypeInfo(TypeInfo) { in CXXScalarValueInitExpr() 2185 return TypeInfo; in getTypeSourceInfo()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/MC/MCParser/ |
| H A D | MCAsmParser.h | 312 AsmTypeInfo *TypeInfo) = 0;
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstructionCombining.cpp | 3592 static bool isCatchAll(EHPersonality Personality, Constant *TypeInfo) { in isCatchAll() argument 3615 return TypeInfo->isNullValue(); in isCatchAll() 3646 Constant *TypeInfo = CatchClause->stripPointerCasts(); in visitLandingPadInst() local 3650 if (AlreadyCaught.insert(TypeInfo).second) { in visitLandingPadInst() 3660 if (isCatchAll(Personality, TypeInfo)) { in visitLandingPadInst() 3695 Constant *TypeInfo = in visitLandingPadInst() local 3698 if (isCatchAll(Personality, TypeInfo)) { in visitLandingPadInst() 3706 NewFilterElts.push_back(TypeInfo); in visitLandingPadInst() 3720 Constant *TypeInfo = Elt->stripPointerCasts(); in visitLandingPadInst() local 3721 if (isCatchAll(Personality, TypeInfo)) { in visitLandingPadInst() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | WinEHPrepare.cpp | 164 Constant *TypeInfo = cast<Constant>(CPI->getArgOperand(0)); in addTryBlockMapEntry() local 165 if (TypeInfo->isNullValue()) in addTryBlockMapEntry() 168 HT.TypeDescriptor = cast<GlobalVariable>(TypeInfo->stripPointerCasts()); in addTryBlockMapEntry()
|
| H A D | MachineFunction.cpp | 813 auto *TypeInfo = in addLandingPad() local 815 LP.TypeIds.push_back(getTypeIDFor(TypeInfo)); in addLandingPad()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Object/ |
| H A D | COFF.h | 549 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-14.2/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BTFDebug.cpp | 1619 for (auto &TypeInfo : Fixup.second) { in endModule() local 1620 const DIDerivedType *DTy = TypeInfo.first; in endModule() 1621 BTFTypeDerived *BDType = TypeInfo.second; in endModule()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | APValue.cpp | 56 QualType TypeInfo) { in getTypeInfo() argument 59 Base.TypeInfoType = TypeInfo.getAsOpaquePtr(); in getTypeInfo()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Object/ |
| H A D | COFFImportFile.cpp | 528 Imp->TypeInfo = (NameType << 2) | ImportType; in createShortImport()
|