| /freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/ |
| H A D | ubsan_value.h | 89 u16 TypeInfo; variable 129 return isIntegerTy() && (TypeInfo & 1); in isSignedIntegerTy() 131 bool isSignedBitIntTy() const { return isBitIntTy() && (TypeInfo & 1); } in isSignedBitIntTy() 133 return isIntegerTy() && !(TypeInfo & 1); in isUnsignedIntegerTy() 137 return 1 << (TypeInfo >> 1); in getIntegerBitWidth() 165 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/contrib/llvm-project/llvm/lib/Target/DirectX/ |
| H A D | DXContainerGlobals.cpp | 215 dxil::ResourceTypeInfo &TypeInfo = DRTM[RI.getHandleTy()]; in addResourcesForPSV() local 217 if (TypeInfo.isStruct()) in addResourcesForPSV() 219 else if (TypeInfo.isTyped()) in addResourcesForPSV() 225 MakeBinding(Binding, ResType, TypeInfo.getResourceKind())); in addResourcesForPSV() 230 dxil::ResourceTypeInfo &TypeInfo = DRTM[RI.getHandleTy()]; in addResourcesForPSV() local 234 else if (TypeInfo.isStruct()) in addResourcesForPSV() 236 else if (TypeInfo.isTyped()) in addResourcesForPSV() 247 MakeBinding(Binding, ResType, TypeInfo.getResourceKind(), Flags)); in addResourcesForPSV()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlanVerifier.cpp | 30 VPTypeAnalysis &TypeInfo; member in __anone890bbb50111::VPlanVerifier 64 VPlanVerifier(VPDominatorTree &VPDT, VPTypeAnalysis &TypeInfo, in VPlanVerifier() argument 66 : VPDT(VPDT), TypeInfo(TypeInfo), VerifyLate(VerifyLate) {} in VPlanVerifier() 237 if (!TypeInfo.inferScalarType(V)) { in verifyVPBasicBlock() 486 VPTypeAnalysis TypeInfo(Plan); in verifyVPlanIsValid() local 487 VPlanVerifier Verifier(VPDT, TypeInfo, VerifyLate); in verifyVPlanIsValid()
|
| H A D | VPlanTransforms.cpp | 576 VPTypeAnalysis TypeInfo(CanonicalIVType); in createScalarIVSteps() local 577 Type *ResultTy = TypeInfo.inferScalarType(BaseIV); in createScalarIVSteps() 588 Type *StepTy = TypeInfo.inferScalarType(Step); in createScalarIVSteps() 771 VPTypeAnalysis &TypeInfo, in optimizeEarlyExitInductionUser() argument 799 Type *FirstActiveLaneType = TypeInfo.inferScalarType(FirstActiveLane); in optimizeEarlyExitInductionUser() 827 optimizeLatchExitInductionUser(VPlan &Plan, VPTypeAnalysis &TypeInfo, in optimizeLatchExitInductionUser() argument 853 Type *ScalarTy = TypeInfo.inferScalarType(WideIV); in optimizeLatchExitInductionUser() 878 VPTypeAnalysis TypeInfo(Plan.getCanonicalIV()->getScalarType()); in optimizeInductionExitUsers() local 887 Plan, TypeInfo, PredVPBB, ExitIRI->getOperand(Idx), EndValues); in optimizeInductionExitUsers() 889 Escape = optimizeEarlyExitInductionUser(Plan, TypeInfo, PredVPBB, in optimizeInductionExitUsers() [all …]
|
| H A D | VPlanAnalysis.cpp | 497 VPTypeAnalysis TypeInfo(Plan.getCanonicalIV()->getScalarType()); in calculateRegisterUsageForPlan() local 562 false, TypeInfo.inferScalarType(R->getVPSingleValue())); in calculateRegisterUsageForPlan() 577 Type *ScalarTy = TypeInfo.inferScalarType(DefV); in calculateRegisterUsageForPlan() 617 VF.isVector(), TypeInfo.inferScalarType(In)); in calculateRegisterUsageForPlan() 618 Invariant[ClassID] += GetRegUsage(TypeInfo.inferScalarType(In), VF); in calculateRegisterUsageForPlan()
|
| H A D | VPlanUnroll.cpp | 43 VPTypeAnalysis TypeInfo; member in __anone9af25350111::UnrollState 78 : Plan(Plan), UF(UF), TypeInfo(Plan.getCanonicalIV()->getScalarType()) {} in UnrollState() 154 Type *IVTy = TypeInfo.inferScalarType(IV); in unrollWidenInductionByUF()
|
| /freebsd/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/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
| H A D | PPC.cpp | 246 auto TypeInfo = getContext().getTypeInfoInChars(Ty); in EmitVAArg() local 247 TypeInfo.Align = getParamTypeAlignment(Ty); in EmitVAArg() 259 CharUnits EltSize = TypeInfo.Width / 2; in EmitVAArg() 264 return emitVoidPtrVAArg(CGF, VAListAddr, Ty, /*Indirect*/ false, TypeInfo, in EmitVAArg() 543 auto TypeInfo = CGF.getContext().getTypeInfoInChars(Ty); in EmitVAArg() local 544 Size = TypeInfo.Width.alignTo(OverflowAreaAlign); in EmitVAArg() 971 auto TypeInfo = getContext().getTypeInfoInChars(Ty); in EmitVAArg() local 972 TypeInfo.Align = getParamTypeAlignment(Ty); in EmitVAArg() 983 CharUnits EltSize = TypeInfo.Width / 2; in EmitVAArg() 1001 return emitVoidPtrVAArg(CGF, VAListAddr, Ty, /*Indirect*/ false, TypeInfo, in EmitVAArg()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGException.cpp | 654 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 D | CGObjCRuntime.cpp | 120 llvm::Constant *TypeInfo; member 176 Handler.TypeInfo = catchAll.RTTI; in EmitTryCatchStmt() 182 Handler.TypeInfo = GetEHType(CatchDecl->getType()); in EmitTryCatchStmt() 187 Catch->setHandler(I, { Handlers[I].TypeInfo, Handlers[I].Flags }, Handlers[I].Block); in EmitTryCatchStmt()
|
| H A D | CGExprAgg.cpp | 2336 TypeInfoChars TypeInfo; in EmitAggregateCopy() local 2338 TypeInfo = getContext().getTypeInfoDataSizeInChars(Ty); in EmitAggregateCopy() 2340 TypeInfo = getContext().getTypeInfoInChars(Ty); in EmitAggregateCopy() 2343 if (TypeInfo.Width.isZero()) { in EmitAggregateCopy() 2349 TypeInfo = getContext().getTypeInfoInChars(BaseEltTy); in EmitAggregateCopy() 2350 assert(!TypeInfo.Width.isZero()); in EmitAggregateCopy() 2353 llvm::ConstantInt::get(SizeTy, TypeInfo.Width.getQuantity())); in EmitAggregateCopy() 2357 SizeVal = llvm::ConstantInt::get(SizeTy, TypeInfo.Width.getQuantity()); in EmitAggregateCopy()
|
| H A D | CGExprCXX.cpp | 2228 auto MaybeASCast = [=](auto &&TypeInfo) { in EmitCXXTypeidExpr() argument 2230 return TypeInfo; in EmitCXXTypeidExpr() 2231 return getTargetHooks().performAddrSpaceCast(CGM, TypeInfo, GlobAS, PtrTy); in EmitCXXTypeidExpr() 2235 llvm::Constant *TypeInfo = in EmitCXXTypeidExpr() local 2237 return MaybeASCast(TypeInfo); in EmitCXXTypeidExpr()
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/Basic/ |
| H A D | CodeGenIntrinsics.cpp | 311 const Record *TypeInfo = R->getValueAsDef("TypeInfo"); in CodeGenIntrinsic() local 312 if (!TypeInfo->isSubClassOf("TypeInfoGen")) in CodeGenIntrinsic() 316 isOverloaded = TypeInfo->getValueAsBit("isOverloaded"); in CodeGenIntrinsic() 317 const ListInit *TypeList = TypeInfo->getValueAsListInit("Types"); in CodeGenIntrinsic()
|
| H A D | IntrinsicEmitter.cpp | 301 const Record *TypeInfo = Int.TheDef->getValueAsDef("TypeInfo"); in ComputeTypeSignature() local 302 const ListInit *TypeList = TypeInfo->getValueAsListInit("TypeSig"); in ComputeTypeSignature()
|
| /freebsd/contrib/llvm-project/clang/lib/Driver/ |
| H A D | Types.cpp | 20 struct TypeInfo { struct 36 static constexpr TypeInfo TypeInfos[] = { argument 44 static const TypeInfo &getInfo(unsigned id) { in getInfo()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
| H A D | COFF.h | 812 uint16_t TypeInfo; member 814 ImportType getType() const { return static_cast<ImportType>(TypeInfo & 0x3); } in getType() 817 return static_cast<ImportNameType>((TypeInfo & 0x1C) >> 2); in getNameType()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaAPINotes.cpp | 365 auto TypeInfo = Context.getTrivialTypeSourceInfo(Type, D->getLocation()); in ApplyAPINotesType() local 370 Type, D->getLocation(), TypeInfo); in ApplyAPINotesType() 377 Var->setTypeSourceInfo(TypeInfo); in ApplyAPINotesType() 382 property->setType(Type, TypeInfo); in ApplyAPINotesType()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | ASTContext.h | 158 struct TypeInfo { struct 163 TypeInfo() : AlignRequirement(AlignRequirementKind::None) {} in TypeInfo() argument 164 TypeInfo(uint64_t Width, unsigned Align, in TypeInfo() argument 295 using TypeInfoMap = llvm::DenseMap<const Type *, struct TypeInfo>; 2510 TypeInfo getTypeInfoImpl(const Type *T) const; 2559 TypeInfo getTypeInfo(const Type *T) const; 2560 TypeInfo getTypeInfo(QualType T) const { return getTypeInfo(T.getTypePtr()); } in getTypeInfo()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/MC/MCParser/ |
| H A D | MCAsmParser.h | 315 AsmTypeInfo *TypeInfo = nullptr) = 0;
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Object/ |
| H A D | COFF.h | 558 support::ulittle16_t TypeInfo; member 560 int getType() const { return TypeInfo & 0x3; } in getType() 561 int getNameType() const { return (TypeInfo >> 2) & 0x7; } in getNameType()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | WinEHPrepare.cpp | 165 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()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstructionCombining.cpp | 4521 static bool isCatchAll(EHPersonality Personality, Constant *TypeInfo) { in isCatchAll() argument 4545 return TypeInfo->isNullValue(); in isCatchAll() 4576 Constant *TypeInfo = CatchClause->stripPointerCasts(); in visitLandingPadInst() local 4580 if (AlreadyCaught.insert(TypeInfo).second) { in visitLandingPadInst() 4590 if (isCatchAll(Personality, TypeInfo)) { in visitLandingPadInst() 4625 Constant *TypeInfo = in visitLandingPadInst() local 4628 if (isCatchAll(Personality, TypeInfo)) { in visitLandingPadInst() 4636 NewFilterElts.push_back(TypeInfo); in visitLandingPadInst() 4650 Constant *TypeInfo = Elt->stripPointerCasts(); in visitLandingPadInst() local 4651 if (isCatchAll(Personality, TypeInfo)) { in visitLandingPadInst() [all …]
|