Home
last modified time | relevance | path

Searched refs:pImpl (Results 1 – 20 of 20) sorted by relevance

/llvm-project-15.0.7/llvm/lib/IR/
H A DLLVMContext.cpp106 pImpl->OwnedModules.insert(M); in addModule()
110 pImpl->OwnedModules.erase(M); in removeModule()
174 return pImpl->LLVMRS.get(); in getLLVMRemarkStreamer()
200 if (pImpl->YieldCallback) in yield()
201 pImpl->YieldCallback(this, pImpl->YieldOpaqueHandle); in yield()
249 if (pImpl->DiagHandler && in diagnose()
324 return pImpl->GCNames[&Fn]; in getGC()
328 pImpl->GCNames.erase(&Fn); in deleteGC()
338 if (pImpl->DITypeMap) in enableDebugTypeODRUniquing()
341 pImpl->DITypeMap.emplace(); in enableDebugTypeODRUniquing()
[all …]
H A DType.cpp327 IntegerType *&Entry = C.pImpl->IntegerTypes[NumBits]; in get()
363 LLVMContextImpl *pImpl = ReturnType->getContext().pImpl; in get() local
375 FT = (FunctionType *)pImpl->Alloc.Allocate( in get()
408 LLVMContextImpl *pImpl = Context.pImpl; in get() local
421 ST = new (Context.pImpl->Alloc) StructType(Context); in get()
624 return C.pImpl->NamedStructTypes.lookup(Name); in getTypeByName()
641 LLVMContextImpl *pImpl = ElementType->getContext().pImpl; in get() local
692 LLVMContextImpl *pImpl = ElementType->getContext().pImpl; in get() local
714 LLVMContextImpl *pImpl = ElementType->getContext().pImpl; in get() local
731 LLVMContextImpl *CImpl = EltTy->getContext().pImpl; in get()
[all …]
H A DAttributes.cpp97 LLVMContextImpl *pImpl = Context.pImpl; in get() local
120 LLVMContextImpl *pImpl = Context.pImpl; in get() local
145 LLVMContextImpl *pImpl = Context.pImpl; in get() local
261 return pImpl && pImpl->isEnumAttribute(); in isEnumAttribute()
265 return pImpl && pImpl->isIntAttribute(); in isIntAttribute()
273 return pImpl && pImpl->isTypeAttribute(); in isTypeAttribute()
320 return (pImpl && pImpl->hasAttribute(Kind)) || (!pImpl && Kind == None); in hasAttribute()
511 if (!pImpl && !A.pImpl) return false; in operator <()
514 return *pImpl < *A.pImpl; in operator <()
825 LLVMContextImpl *pImpl = C.pImpl; in getSorted() local
[all …]
H A DConstants.cpp828 LLVMContextImpl *pImpl = Context.pImpl; in getTrue() local
835 LLVMContextImpl *pImpl = Context.pImpl; in getFalse() local
868 LLVMContextImpl *pImpl = Context.pImpl; in get() local
1021 LLVMContextImpl* pImpl = Context.pImpl; in get() local
1422 LLVMContextImpl *pImpl = Context.pImpl; in get() local
1935 LLVMContextImpl *pImpl = Ty->getContext().pImpl; in getFoldedCast() local
2260 LLVMContextImpl *pImpl = C->getContext().pImpl; in get() local
2321 LLVMContextImpl *pImpl = C1->getContext().pImpl; in get() local
2455 LLVMContextImpl *pImpl = C->getContext().pImpl; in getSelect() local
2520 LLVMContextImpl *pImpl = C->getContext().pImpl; in getGetElementPtr() local
[all …]
H A DValue.cpp281 auto I = Ctx.pImpl->ValueNames.find(this); in getValueName()
282 assert(I != Ctx.pImpl->ValueNames.end() && in getValueName()
296 Ctx.pImpl->ValueNames.erase(this); in setValueName()
302 Ctx.pImpl->ValueNames[this] = VN; in setValueName()
1068 LLVMContextImpl *pImpl = getValPtr()->getContext().pImpl; in AddToUseList() local
1126 LLVMContextImpl *pImpl = getValPtr()->getContext().pImpl; in RemoveFromUseList() local
1139 LLVMContextImpl *pImpl = V->getContext().pImpl; in ValueIsDeleted() local
1140 ValueHandleBase *Entry = pImpl->ValueHandles[V]; in ValueIsDeleted()
1178 if (pImpl->ValueHandles[V]->getKind() == Assert) in ValueIsDeleted()
1195 LLVMContextImpl *pImpl = Old->getContext().pImpl; in ValueIsRAUWd() local
[all …]
H A DMetadata.cpp104 auto *&Entry = Context.pImpl->MetadataAsValues[MD]; in get()
113 auto &Store = Context.pImpl->MetadataAsValues; in getIfExists()
120 auto &Store = Context.pImpl->MetadataAsValues; in handleChangedMetadata()
254 auto &Store = Context.pImpl->ValuesAsMetadata; in SalvageDebugInfo()
396 auto *&Entry = Context.pImpl->ValuesAsMetadata[V]; in get()
442 auto &Store = Context.pImpl->ValuesAsMetadata; in handleRAUW()
498 auto &Store = Context.pImpl->MDStringCache; in get()
937 Storage, Context.pImpl->MDTuples); in getImpl()
965 getContext().pImpl->DistinctMDNodes.push_back(this); in storeDistinctInContext()
1349 getContext().pImpl->ValueMetadata.erase(this); in setMetadata()
[all …]
H A DGlobals.cpp205 return getContext().pImpl->GlobalValuePartitions[this]; in getPartition()
216 S = getContext().pImpl->Saver.save(S); in setPartition()
217 getContext().pImpl->GlobalValuePartitions[this] = S; in setPartition()
227 assert(getContext().pImpl->GlobalValueSanitizerMetadata.count(this)); in getSanitizerMetadata()
228 return getContext().pImpl->GlobalValueSanitizerMetadata[this]; in getSanitizerMetadata()
232 getContext().pImpl->GlobalValueSanitizerMetadata[this] = Meta; in setSanitizerMetadata()
238 getContext().pImpl->GlobalValueSanitizerMetadata; in removeSanitizerMetadata()
245 return getContext().pImpl->GlobalObjectSections[this]; in getSectionImpl()
256 S = getContext().pImpl->Saver.save(S); in setSection()
257 getContext().pImpl->GlobalObjectSections[this] = S; in setSection()
H A DInlineAsm.cpp49 LLVMContextImpl *pImpl = FTy->getContext().pImpl; in get() local
50 return pImpl->InlineAsms.getOrCreate(PointerType::getUnqual(FTy), Key); in get()
54 getType()->getContext().pImpl->InlineAsms.remove(this); in destroyConstant()
H A DDebugInfoMetadata.cpp67 if (auto *N = getUniqued(Context.pImpl->DILocations, in getImpl()
83 Storage, Context.pImpl->DILocations); in getImpl()
295 if (auto *N = getUniqued(Context.pImpl->GenericDINodes, Key)) in getImpl()
309 Storage, Context.pImpl->GenericDINodes); in getImpl()
334 Storage, Context.pImpl->CLASS##s)
338 Storage, Context.pImpl->CLASS##s)
342 Storage, Context.pImpl->CLASS##s)
346 Storage, Context.pImpl->CLASS##s)
690 auto *&CT = (*Context.pImpl->DITypeMap)[&Identifier]; in buildODRType()
732 auto *&CT = (*Context.pImpl->DITypeMap)[&Identifier]; in getODRType()
[all …]
H A DLLVMContextImpl.cpp169 Context.pImpl->dropTriviallyDeadConstantArrays(); in dropTriviallyDeadConstantArrays()
H A DDIBuilder.cpp182 unsigned EntitiesCount = C.pImpl->DIImportedEntitys.size(); in createImportedModule()
185 if (EntitiesCount < C.pImpl->DIImportedEntitys.size()) in createImportedModule()
H A DInstructions.cpp409 auto *ContextImpl = getContext().pImpl; in populateBundleOperandInfos()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DAttributes.h112 AttributeImpl *pImpl = nullptr;
114 Attribute(AttributeImpl *A) : pImpl(A) {} in Attribute()
182 bool isValid() const { return pImpl; } in isValid()
255 bool operator==(Attribute A) const { return pImpl == A.pImpl; }
256 bool operator!=(Attribute A) const { return pImpl != A.pImpl; }
265 return pImpl; in getRawPointer()
442 AttributeListImpl *pImpl = nullptr;
917 bool operator==(const AttributeList &RHS) const { return pImpl == RHS.pImpl; }
918 bool operator!=(const AttributeList &RHS) const { return pImpl != RHS.pImpl; }
922 return pImpl;
[all …]
H A DLLVMContext.h70 LLVMContextImpl *const pImpl;
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DValueMapper.cpp1121 static Mapper *getAsMapper(void *pImpl) { in getAsMapper() argument
1122 return reinterpret_cast<Mapper *>(pImpl); in getAsMapper()
1131 explicit FlushingMapper(void *pImpl) : M(*getAsMapper(pImpl)) { in FlushingMapper() argument
1147 ValueMapper::~ValueMapper() { delete getAsMapper(pImpl); } in ~ValueMapper()
1156 FlushingMapper(pImpl)->addFlags(Flags); in addFlags()
1160 return FlushingMapper(pImpl)->mapValue(&V); in mapValue()
1168 return FlushingMapper(pImpl)->mapMetadata(&MD); in mapMetadata()
1176 FlushingMapper(pImpl)->remapInstruction(&I); in remapInstruction()
1180 FlushingMapper(pImpl)->remapFunction(F); in remapFunction()
1194 getAsMapper(pImpl)->scheduleMapAppendingVariable( in scheduleMapAppendingVariable()
[all …]
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DLiveDebugVariables.cpp1308 if (!pImpl) in runOnMachineFunction()
1309 pImpl = new LDVImpl(this); in runOnMachineFunction()
1314 if (pImpl) in releaseMemory()
1315 static_cast<LDVImpl*>(pImpl)->clear(); in releaseMemory()
1319 if (pImpl) in ~LiveDebugVariables()
1320 delete static_cast<LDVImpl*>(pImpl); in ~LiveDebugVariables()
1502 if (pImpl) in splitRegister()
1958 if (pImpl) in emitDebugValues()
1959 static_cast<LDVImpl*>(pImpl)->emitDebugValues(VRM); in emitDebugValues()
1964 if (pImpl) in dump()
[all …]
H A DLiveDebugVariables.h33 void *pImpl = nullptr; variable
/llvm-project-15.0.7/clang/test/SemaTemplate/
H A Dinstantiate-method.cpp137 impl_fun_ptr pImpl = &X::template in f0() local
/llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/
H A DValueMapper.h144 void *pImpl; variable
/llvm-project-15.0.7/clang/test/Analysis/
H A Dcxx-uninitialized-object-ptr-ref.cpp584 IncompleteType *pImpl; //no-crash member
587 IncompletePointeeTypeTest(IncompleteType *A) : pImpl(A) {} in IncompletePointeeTypeTest()