Home
last modified time | relevance | path

Searched refs:TypeCache (Results 1 – 10 of 10) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuilder.h48 const CodeGenTypeCache &TypeCache; variable
51 CGBuilderTy(const CodeGenTypeCache &TypeCache, llvm::LLVMContext &C) in CGBuilderTy() argument
52 : CGBuilderBaseTy(C), TypeCache(TypeCache) {} in CGBuilderTy()
53 CGBuilderTy(const CodeGenTypeCache &TypeCache, llvm::LLVMContext &C, in CGBuilderTy() argument
56 : CGBuilderBaseTy(C, F, Inserter), TypeCache(TypeCache) {} in CGBuilderTy()
58 : CGBuilderBaseTy(I), TypeCache(TypeCache) {} in CGBuilderTy()
60 : CGBuilderBaseTy(BB), TypeCache(TypeCache) {} in CGBuilderTy()
63 return llvm::ConstantInt::get(TypeCache.SizeTy, N.getQuantity()); in getSize()
66 return llvm::ConstantInt::get(TypeCache.SizeTy, N); in getSize()
261 assert(Addr.getElementType() == TypeCache.Int8Ty);
[all …]
H A DCodeGenTypes.cpp172 if (TypeCache.count(ED->getTypeForDecl())) { in UpdateCompletedType()
177 TypeCache.clear(); in UpdateCompletedType()
208 TypeCache.clear(); in RefreshTypeCacheForClass()
314 auto TCI = TypeCache.find(Ty); in ConvertType()
315 if (TCI != TypeCache.end()) in ConvertType()
718 TypeCache[Ty] = ResultType; in ConvertType()
767 TypeCache.clear(); in ConvertRecordDeclType()
H A DCodeGenTypes.h92 llvm::DenseMap<const Type *, llvm::Type *> TypeCache; variable
H A DCGDebugInfo.cpp2493 auto I = TypeCache.find(TyPtr); in completeType()
2498 TypeCache[TyPtr].reset(Res); in completeType()
2568 auto I = TypeCache.find(TyPtr); in completeClass()
2577 TypeCache[TyPtr].reset(Res); in completeClass()
3501 if (It != TypeCache.end()) { in getTypeOrNull()
3547 TypeCache[TyPtr].reset(Res); in getOrCreateType()
4112 if (It == TypeCache.end()) in getObjCMethodDeclaration()
5841 assert(It != TypeCache.end()); in finalize()
5863 auto It = TypeCache.find(P.first); in finalize()
5864 assert(It != TypeCache.end()); in finalize()
[all …]
H A DCGDebugInfo.h87 llvm::DenseMap<const void *, llvm::TrackingMDRef> TypeCache; variable
/freebsd-14.2/contrib/llvm-project/clang/utils/TableGen/
H A DRISCVVEmitter.cpp97 RVVTypeCache TypeCache; member in __anon2ee031320111::RVVEmitter
355 auto T = TypeCache.computeType(BasicType::Int8, Log2LMUL, in createHeader()
367 auto UT = TypeCache.computeType( in createHeader()
375 auto TupleT = TypeCache.computeType( in createHeader()
379 auto TupleUT = TypeCache.computeType( in createHeader()
398 auto TupleT = TypeCache.computeType( in createHeader()
567 TypeCache.computeTypes(BT, Log2LMUL, NF, Prototype); in createRVVIntrinsics()
575 TypeCache, BT, Log2LMUL, OverloadedSuffixDesc); in createRVVIntrinsics()
591 TypeCache.computeTypes(BT, Log2LMUL, NF, PolicyPrototype); in createRVVIntrinsics()
603 TypeCache.computeTypes(BT, Log2LMUL, NF, MaskedPrototype); in createRVVIntrinsics()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaRISCVVectorLookup.cpp158 RVVTypeCache TypeCache; member in __anon4488c39f0211::RISCVIntrinsicManagerImpl
291 TypeCache.computeTypes(BaseType, Log2LMUL, Record.NF, ProtoSeq); in ConstructRVVIntrinsics()
298 TypeCache, BaseType, Log2LMUL, SuffixProto); in ConstructRVVIntrinsics()
300 TypeCache, BaseType, Log2LMUL, OverloadedSuffixProto); in ConstructRVVIntrinsics()
314 std::optional<RVVTypes> PolicyTypes = TypeCache.computeTypes( in ConstructRVVIntrinsics()
325 TypeCache.computeTypes(BaseType, Log2LMUL, Record.NF, ProtoMaskSeq); in ConstructRVVIntrinsics()
337 std::optional<RVVTypes> PolicyTypes = TypeCache.computeTypes( in ConstructRVVIntrinsics()
/freebsd-14.2/contrib/llvm-project/clang/lib/Support/
H A DRISCVVIntrinsicUtils.cpp1029 RVVTypeCache &TypeCache, BasicType Type, int Log2LMUL, in getSuffixStr() argument
1033 auto T = TypeCache.computeType(Type, Log2LMUL, PD); in getSuffixStr()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Support/
H A DRISCVVIntrinsicUtils.h467 getSuffixStr(RVVTypeCache &TypeCache, BasicType Type, int Log2LMUL,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DDebugify.cpp95 DenseMap<uint64_t, DIType *> TypeCache; in applyDebugifyMetadata() local
98 DIType *&DTy = TypeCache[Size]; in applyDebugifyMetadata()