Home
last modified time | relevance | path

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

12

/freebsd/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.cpp207 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 Dubsan_handlers_cxx.h23 void *TypeInfo; member
H A Dubsan_handlers_cxx.cpp36 if (checkDynamicType((void*)Pointer, Data->TypeInfo, Hash)) in HandleDynamicTypeCacheMiss()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DInitialization.h198 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/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DPPC.cpp242 auto TypeInfo = getContext().getTypeInfoInChars(Ty); in EmitVAArg() local
243 TypeInfo.Align = getParamTypeAlignment(Ty); in EmitVAArg()
255 CharUnits EltSize = TypeInfo.Width / 2; in EmitVAArg()
260 return emitVoidPtrVAArg(CGF, VAListAddr, Ty, /*Indirect*/ false, TypeInfo, in EmitVAArg()
539 auto TypeInfo = CGF.getContext().getTypeInfoInChars(Ty); in EmitVAArg() local
540 Size = TypeInfo.Width.alignTo(OverflowAreaAlign); in EmitVAArg()
960 auto TypeInfo = getContext().getTypeInfoInChars(Ty); in EmitVAArg() local
961 TypeInfo.Align = getParamTypeAlignment(Ty); in EmitVAArg()
972 CharUnits EltSize = TypeInfo.Width / 2; in EmitVAArg()
990 return emitVoidPtrVAArg(CGF, VAListAddr, Ty, /*Indirect*/ false, TypeInfo, in EmitVAArg()
H A DSparc.cpp295 auto TypeInfo = getContext().getTypeInfoInChars(Ty); in EmitVAArg() local
307 CharUnits Offset = SlotSize - TypeInfo.Width; in EmitVAArg()
324 TypeInfo.Align); in EmitVAArg()
H A DX86.cpp758 TypeInfo TI = getContext().getTypeInfo(Ty); in classifyArgumentType()
1073 auto TypeInfo = getContext().getTypeInfoInChars(Ty); in EmitVAArg() local
1085 TypeInfo.Align = CharUnits::fromQuantity( in EmitVAArg()
1086 getTypeStackAlignInBytes(Ty, TypeInfo.Align.getQuantity())); in EmitVAArg()
1088 return emitVoidPtrVAArg(CGF, VAListAddr, Ty, /*Indirect*/ false, TypeInfo, in EmitVAArg()
3250 TypeInfo Info = getContext().getTypeInfo(Ty); in classify()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanTransforms.cpp537 VPTypeAnalysis TypeInfo(Plan.getCanonicalIV()->getScalarType(), in createScalarIVSteps() local
539 Type *ResultTy = TypeInfo.inferScalarType(BaseIV); in createScalarIVSteps()
551 Type *StepTy = TypeInfo.inferScalarType(Step); in createScalarIVSteps()
990 static void simplifyRecipe(VPRecipeBase &R, VPTypeAnalysis &TypeInfo) { in simplifyRecipe() argument
1007 Type *TruncTy = TypeInfo.inferScalarType(Trunc); in simplifyRecipe()
1008 Type *ATy = TypeInfo.inferScalarType(A); in simplifyRecipe()
1039 TypeInfo.getContext()); in simplifyRecipe()
1040 assert(TypeInfo.inferScalarType(A) == TypeInfo2.inferScalarType(A)); in simplifyRecipe()
1046 assert(TypeInfo.inferScalarType(VPV) == TypeInfo2.inferScalarType(VPV)); in simplifyRecipe()
1072 VPTypeAnalysis TypeInfo(Plan.getCanonicalIV()->getScalarType(), Ctx); in simplifyRecipes() local
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGException.cpp654 CatchTypeInfo TypeInfo{nullptr, 0}; in EnterCXXTryStmt() local
656 TypeInfo.RTTI = CGM.getObjCRuntime().GetEHType(CaughtType); in EnterCXXTryStmt()
658 TypeInfo = CGM.getCXXABI().getAddrOfCXXCatchHandlerType( in EnterCXXTryStmt()
660 CatchScope->setHandler(I, TypeInfo, Handler); in EnterCXXTryStmt()
987 CatchTypeInfo TypeInfo = Handler.Type; in emitCatchPadBlock() local
988 if (!TypeInfo.RTTI) in emitCatchPadBlock()
989 TypeInfo.RTTI = llvm::Constant::getNullValue(CGF.VoidPtrTy); 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
[all …]
H A DCGObjCRuntime.cpp122 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 DCGExprAgg.cpp2143 TypeInfoChars TypeInfo; in EmitAggregateCopy() local
2145 TypeInfo = getContext().getTypeInfoDataSizeInChars(Ty); in EmitAggregateCopy()
2147 TypeInfo = getContext().getTypeInfoInChars(Ty); in EmitAggregateCopy()
2150 if (TypeInfo.Width.isZero()) { in EmitAggregateCopy()
2156 TypeInfo = getContext().getTypeInfoInChars(BaseEltTy); in EmitAggregateCopy()
2157 assert(!TypeInfo.Width.isZero()); in EmitAggregateCopy()
2160 llvm::ConstantInt::get(SizeTy, TypeInfo.Width.getQuantity())); in EmitAggregateCopy()
2164 SizeVal = llvm::ConstantInt::get(SizeTy, TypeInfo.Width.getQuantity()); in EmitAggregateCopy()
H A DCGExprCXX.cpp2191 auto MaybeASCast = [=](auto &&TypeInfo) { in EmitCXXTypeidExpr() argument
2193 return TypeInfo; in EmitCXXTypeidExpr()
2194 return getTargetHooks().performAddrSpaceCast(CGM,TypeInfo, GlobAS, in EmitCXXTypeidExpr()
2199 llvm::Constant *TypeInfo = in EmitCXXTypeidExpr() local
2201 return MaybeASCast(TypeInfo); in EmitCXXTypeidExpr()
/freebsd/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/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DCOFF.h778 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/contrib/llvm-project/clang/lib/Sema/
H A DSemaAPINotes.cpp373 auto TypeInfo = in ProcessAPINotes() local
380 Type, D->getLocation(), TypeInfo); in ProcessAPINotes()
387 Var->setTypeSourceInfo(TypeInfo); in ProcessAPINotes()
392 Property->setType(Type, TypeInfo); in ProcessAPINotes()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DASTContext.h156 struct TypeInfo { struct
161 TypeInfo() : AlignRequirement(AlignRequirementKind::None) {} in TypeInfo() function
162 TypeInfo(uint64_t Width, unsigned Align, in TypeInfo() function
285 using TypeInfoMap = llvm::DenseMap<const Type *, struct TypeInfo>;
2319 TypeInfo getTypeInfoImpl(const Type *T) const;
2377 TypeInfo getTypeInfo(const Type *T) const;
2378 TypeInfo getTypeInfo(QualType T) const { return getTypeInfo(T.getTypePtr()); } in getTypeInfo()
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/MCParser/
H A DMCAsmParser.h312 AsmTypeInfo *TypeInfo) = 0;
/freebsd/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/contrib/llvm-project/llvm/lib/CodeGen/
H A DWinEHPrepare.cpp165 Constant *TypeInfo = cast<Constant>(CPI->getArgOperand(0)); in addTryBlockMapEntry() local
166 if (TypeInfo->isNullValue()) in addTryBlockMapEntry()
169 HT.TypeDescriptor = cast<GlobalVariable>(TypeInfo->stripPointerCasts()); in addTryBlockMapEntry()
H A DMachineFunction.cpp825 auto *TypeInfo = in addLandingPad() local
827 LP.TypeIds.push_back(getTypeIDFor(TypeInfo)); in addLandingPad()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp4079 static bool isCatchAll(EHPersonality Personality, Constant *TypeInfo) { in isCatchAll() argument
4103 return TypeInfo->isNullValue(); in isCatchAll()
4134 Constant *TypeInfo = CatchClause->stripPointerCasts(); in visitLandingPadInst() local
4138 if (AlreadyCaught.insert(TypeInfo).second) { in visitLandingPadInst()
4148 if (isCatchAll(Personality, TypeInfo)) { in visitLandingPadInst()
4183 Constant *TypeInfo = in visitLandingPadInst() local
4186 if (isCatchAll(Personality, TypeInfo)) { in visitLandingPadInst()
4194 NewFilterElts.push_back(TypeInfo); in visitLandingPadInst()
4208 Constant *TypeInfo = Elt->stripPointerCasts(); in visitLandingPadInst() local
4209 if (isCatchAll(Personality, TypeInfo)) { in visitLandingPadInst()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineBasicBlock.h81 using TypeInfo = DenseMapInfo<MBBSectionID::SectionType>;
91 return detail::combineHashValue(TypeInfo::getHashValue(SecID.Type),
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBTFDebug.cpp1641 for (auto &TypeInfo : Fixup.second) { in endModule() local
1642 const DIDerivedType *DTy = TypeInfo.first; in endModule()
1643 BTFTypeDerived *BDType = TypeInfo.second; in endModule()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DAPValue.cpp56 QualType TypeInfo) { in getTypeInfo() argument
59 Base.TypeInfoType = TypeInfo.getAsOpaquePtr(); in getTypeInfo()

12