Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuilder.h54 const CodeGenTypeCache &TypeCache; variable
87 CGBuilderTy(const CodeGenTypeCache &TypeCache, llvm::LLVMContext &C) in CGBuilderTy() argument
88 : CGBuilderBaseTy(C), TypeCache(TypeCache) {} in CGBuilderTy()
89 CGBuilderTy(const CodeGenTypeCache &TypeCache, llvm::LLVMContext &C, in CGBuilderTy() argument
92 : CGBuilderBaseTy(C, F, Inserter), TypeCache(TypeCache) {} in CGBuilderTy()
93 CGBuilderTy(const CodeGenTypeCache &TypeCache, llvm::Instruction *I) in CGBuilderTy() argument
94 : CGBuilderBaseTy(I), TypeCache(TypeCache) {} in CGBuilderTy()
95 CGBuilderTy(const CodeGenTypeCache &TypeCache, llvm::BasicBlock *BB) in CGBuilderTy() argument
96 : CGBuilderBaseTy(BB), TypeCache(TypeCache) {} in CGBuilderTy()
99 return llvm::ConstantInt::get(TypeCache.SizeTy, N.getQuantity()); in getSize()
[all …]
H A DCodeGenTypes.cpp228 if (TypeCache.count(ED->getTypeForDecl())) { in UpdateCompletedType()
233 TypeCache.clear(); in UpdateCompletedType()
264 TypeCache.clear(); in RefreshTypeCacheForClass()
370 auto TCI = TypeCache.find(Ty); in ConvertType()
371 if (TCI != TypeCache.end()) in ConvertType()
779 TypeCache[Ty] = ResultType; in ConvertType()
828 TypeCache.clear(); in ConvertRecordDeclType()
H A DCodeGenTypes.h87 llvm::DenseMap<const Type *, llvm::Type *> TypeCache; variable
H A DCGDebugInfo.cpp1987 TypeCache[ThisPtr.getAsOpaquePtr()].reset(ThisPtrType); in getOrCreateInstanceMethodType()
1995 TypeCache[ThisPtr.getAsOpaquePtr()].reset(ThisPtrType); in getOrCreateInstanceMethodType()
2619 auto I = TypeCache.find(TyPtr); in completeType()
2620 if (I == TypeCache.end() || !cast<llvm::DIType>(I->second)->isForwardDecl()) in completeType()
2624 TypeCache[TyPtr].reset(Res); in completeType()
2694 auto I = TypeCache.find(TyPtr); in completeClass()
2695 if (I != TypeCache.end() && !cast<llvm::DIType>(I->second)->isForwardDecl()) in completeClass()
2703 TypeCache[TyPtr].reset(Res); in completeClass()
3099 TypeCache[QTy.getAsOpaquePtr()].reset(RealDecl); in CreateTypeDefinition()
3650 auto It = TypeCache.find(Ty.getAsOpaquePtr()); in getTypeOrNull()
[all …]
H A DCGDebugInfo.h92 llvm::DenseMap<const void *, llvm::TrackingMDRef> TypeCache; variable
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DRISCVVEmitter.cpp99 RVVTypeCache TypeCache; member in __anon92aa39bc0111::RVVEmitter
353 auto T = TypeCache.computeType(BasicType::Int8, Log2LMUL, in createHeader()
362 auto T = TypeCache.computeType(BT, Log2LMUL, PrototypeDescriptor::Vector); in createHeader()
365 auto UT = TypeCache.computeType( in createHeader()
373 auto TupleT = TypeCache.computeType( in createHeader()
377 auto TupleUT = TypeCache.computeType( in createHeader()
392 auto T = TypeCache.computeType(BT, Log2LMUL, PrototypeDescriptor::Vector); in createHeader()
396 auto TupleT = TypeCache.computeType( in createHeader()
565 TypeCache.computeTypes(BT, Log2LMUL, NF, Prototype); in createRVVIntrinsics()
571 RVVIntrinsic::getSuffixStr(TypeCache, BT, Log2LMUL, SuffixDesc); in createRVVIntrinsics()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaRISCV.cpp164 RVVTypeCache TypeCache; member in __anond8d1aa3c0211::RISCVIntrinsicManagerImpl
298 TypeCache.computeTypes(BaseType, Log2LMUL, Record.NF, ProtoSeq); in ConstructRVVIntrinsics()
305 TypeCache, BaseType, Log2LMUL, SuffixProto); in ConstructRVVIntrinsics()
307 TypeCache, BaseType, Log2LMUL, OverloadedSuffixProto); in ConstructRVVIntrinsics()
321 std::optional<RVVTypes> PolicyTypes = TypeCache.computeTypes( in ConstructRVVIntrinsics()
332 TypeCache.computeTypes(BaseType, Log2LMUL, Record.NF, ProtoMaskSeq); in ConstructRVVIntrinsics()
344 std::optional<RVVTypes> PolicyTypes = TypeCache.computeTypes( in ConstructRVVIntrinsics()
/freebsd/contrib/llvm-project/clang/lib/Support/
H A DRISCVVIntrinsicUtils.cpp1028 RVVTypeCache &TypeCache, BasicType Type, int Log2LMUL, in getSuffixStr() argument
1032 auto T = TypeCache.computeType(Type, Log2LMUL, PD); in getSuffixStr()
/freebsd/contrib/llvm-project/clang/include/clang/Support/
H A DRISCVVIntrinsicUtils.h464 getSuffixStr(RVVTypeCache &TypeCache, BasicType Type, int Log2LMUL,
/freebsd/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()