Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/llvm/lib/IR/
H A DLLVMContext.cpp111 pImpl->OwnedModules.insert(M); in addModule()
115 pImpl->OwnedModules.erase(M); in removeModule()
179 return pImpl->LLVMRS.get(); in getLLVMRemarkStreamer()
205 if (pImpl->YieldCallback) in yield()
206 pImpl->YieldCallback(this, pImpl->YieldOpaqueHandle); in yield()
254 if (pImpl->DiagHandler && in diagnose()
329 return pImpl->GCNames[&Fn]; in getGC()
333 pImpl->GCNames.erase(&Fn); in deleteGC()
343 if (pImpl->DITypeMap) in enableDebugTypeODRUniquing()
346 pImpl->DITypeMap.emplace(); in enableDebugTypeODRUniquing()
[all …]
H A DType.cpp329 IntegerType *&Entry = C.pImpl->IntegerTypes[NumBits]; in get()
365 LLVMContextImpl *pImpl = ReturnType->getContext().pImpl; in get() local
377 FT = (FunctionType *)pImpl->Alloc.Allocate( in get()
410 LLVMContextImpl *pImpl = Context.pImpl; in get() local
626 return C.pImpl->NamedStructTypes.lookup(Name); in getTypeByName()
643 LLVMContextImpl *pImpl = ElementType->getContext().pImpl; in get() local
694 LLVMContextImpl *pImpl = ElementType->getContext().pImpl; in get() local
716 LLVMContextImpl *pImpl = ElementType->getContext().pImpl; in get() local
733 LLVMContextImpl *CImpl = EltTy->getContext().pImpl; in get()
749 LLVMContextImpl *CImpl = C.pImpl; in get()
[all …]
H A DAttributes.cpp97 LLVMContextImpl *pImpl = Context.pImpl; in get() local
123 LLVMContextImpl *pImpl = Context.pImpl; in get() local
148 LLVMContextImpl *pImpl = Context.pImpl; in get() local
269 return pImpl && pImpl->isEnumAttribute(); in isEnumAttribute()
273 return pImpl && pImpl->isIntAttribute(); in isIntAttribute()
281 return pImpl && pImpl->isTypeAttribute(); in isTypeAttribute()
328 return (pImpl && pImpl->hasAttribute(Kind)) || (!pImpl && Kind == None); in hasAttribute()
582 if (!pImpl && !A.pImpl) return false; in operator <()
585 return *pImpl < *A.pImpl; in operator <()
901 LLVMContextImpl *pImpl = C.pImpl; in getSorted() local
[all …]
H A DConstants.cpp836 LLVMContextImpl *pImpl = Context.pImpl; in getTrue() local
843 LLVMContextImpl *pImpl = Context.pImpl; in getFalse() local
876 LLVMContextImpl *pImpl = Context.pImpl; in get() local
1029 LLVMContextImpl* pImpl = Context.pImpl; in get() local
1430 LLVMContextImpl *pImpl = Context.pImpl; in get() local
1965 LLVMContextImpl *pImpl = Ty->getContext().pImpl; in getFoldedCast() local
2320 LLVMContextImpl *pImpl = C1->getContext().pImpl; in get() local
2454 LLVMContextImpl *pImpl = C->getContext().pImpl; in getSelect() local
2519 LLVMContextImpl *pImpl = C->getContext().pImpl; in getGetElementPtr() local
2591 LLVMContextImpl *pImpl = Val->getContext().pImpl; in getExtractElement() local
[all …]
H A DValue.cpp284 auto I = Ctx.pImpl->ValueNames.find(this); in getValueName()
285 assert(I != Ctx.pImpl->ValueNames.end() && in getValueName()
299 Ctx.pImpl->ValueNames.erase(this); in setValueName()
305 Ctx.pImpl->ValueNames[this] = VN; in setValueName()
1055 LLVMContextImpl *pImpl = getValPtr()->getContext().pImpl; in AddToUseList() local
1113 LLVMContextImpl *pImpl = getValPtr()->getContext().pImpl; in RemoveFromUseList() local
1126 LLVMContextImpl *pImpl = V->getContext().pImpl; in ValueIsDeleted() local
1127 ValueHandleBase *Entry = pImpl->ValueHandles[V]; in ValueIsDeleted()
1165 if (pImpl->ValueHandles[V]->getKind() == Assert) in ValueIsDeleted()
1182 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.cpp199 return getContext().pImpl->GlobalValuePartitions[this]; in getPartition()
210 S = getContext().pImpl->Saver.save(S); in setPartition()
211 getContext().pImpl->GlobalValuePartitions[this] = S; in setPartition()
221 assert(getContext().pImpl->GlobalValueSanitizerMetadata.count(this)); in getSanitizerMetadata()
222 return getContext().pImpl->GlobalValueSanitizerMetadata[this]; in getSanitizerMetadata()
226 getContext().pImpl->GlobalValueSanitizerMetadata[this] = Meta; in setSanitizerMetadata()
232 getContext().pImpl->GlobalValueSanitizerMetadata; in removeSanitizerMetadata()
239 return getContext().pImpl->GlobalObjectSections[this]; in getSectionImpl()
250 S = getContext().pImpl->Saver.save(S); in setSection()
251 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 DTypedPointerType.cpp21 LLVMContextImpl *CImpl = EltTy->getContext().pImpl; in get()
H A DDebugInfoMetadata.cpp74 if (auto *N = getUniqued(Context.pImpl->DILocations, in getImpl()
90 Storage, Context.pImpl->DILocations); in getImpl()
328 if (auto *N = getUniqued(Context.pImpl->GenericDINodes, Key)) in getImpl()
342 Storage, Context.pImpl->GenericDINodes); in getImpl()
367 Storage, Context.pImpl->CLASS##s)
371 Storage, Context.pImpl->CLASS##s)
374 Storage, Context.pImpl->CLASS##s)
378 Storage, Context.pImpl->CLASS##s)
724 auto *&CT = (*Context.pImpl->DITypeMap)[&Identifier]; in buildODRType()
766 auto *&CT = (*Context.pImpl->DITypeMap)[&Identifier]; in getODRType()
[all …]
H A DLLVMContextImpl.cpp170 Context.pImpl->dropTriviallyDeadConstantArrays(); in dropTriviallyDeadConstantArrays()
H A DDIBuilder.cpp184 unsigned EntitiesCount = C.pImpl->DIImportedEntitys.size(); in createImportedModule()
187 if (EntitiesCount < C.pImpl->DIImportedEntitys.size()) in createImportedModule()
H A DDebugInfo.cpp1677 auto &Map = Ctx.pImpl->AssignmentIDToInstrs; in getAssignmentInsts()
H A DInstructions.cpp438 auto *ContextImpl = getContext().pImpl; in populateBundleOperandInfos()
/openbsd/gnu/llvm/llvm/include/llvm/IR/
H A DAttributes.h114 AttributeImpl *pImpl = nullptr;
116 Attribute(AttributeImpl *A) : pImpl(A) {} in Attribute()
185 bool isValid() const { return pImpl; } in isValid()
260 bool operator==(Attribute A) const { return pImpl == A.pImpl; }
261 bool operator!=(Attribute A) const { return pImpl != A.pImpl; }
270 return pImpl; in getRawPointer()
449 AttributeListImpl *pImpl = nullptr;
933 bool operator==(const AttributeList &RHS) const { return pImpl == RHS.pImpl; }
934 bool operator!=(const AttributeList &RHS) const { return pImpl != RHS.pImpl; }
938 return pImpl;
[all …]
H A DLLVMContext.h69 LLVMContextImpl *const pImpl;
/openbsd/gnu/llvm/llvm/lib/Transforms/Utils/
H A DValueMapper.cpp1120 static Mapper *getAsMapper(void *pImpl) { in getAsMapper() argument
1121 return reinterpret_cast<Mapper *>(pImpl); in getAsMapper()
1130 explicit FlushingMapper(void *pImpl) : M(*getAsMapper(pImpl)) { in FlushingMapper() argument
1146 ValueMapper::~ValueMapper() { delete getAsMapper(pImpl); } in ~ValueMapper()
1155 FlushingMapper(pImpl)->addFlags(Flags); in addFlags()
1159 return FlushingMapper(pImpl)->mapValue(&V); in mapValue()
1167 return FlushingMapper(pImpl)->mapMetadata(&MD); in mapMetadata()
1175 FlushingMapper(pImpl)->remapInstruction(&I); in remapInstruction()
1179 FlushingMapper(pImpl)->remapFunction(F); in remapFunction()
1193 getAsMapper(pImpl)->scheduleMapAppendingVariable( in scheduleMapAppendingVariable()
[all …]
/openbsd/gnu/llvm/llvm/lib/CodeGen/
H A DLiveDebugVariables.cpp1312 if (!pImpl) in runOnMachineFunction()
1313 pImpl = new LDVImpl(this); in runOnMachineFunction()
1318 if (pImpl) in releaseMemory()
1319 static_cast<LDVImpl*>(pImpl)->clear(); in releaseMemory()
1323 if (pImpl) in ~LiveDebugVariables()
1324 delete static_cast<LDVImpl*>(pImpl); in ~LiveDebugVariables()
1506 if (pImpl) in splitRegister()
1961 if (pImpl) in emitDebugValues()
1962 static_cast<LDVImpl*>(pImpl)->emitDebugValues(VRM); in emitDebugValues()
1967 if (pImpl) in dump()
[all …]
H A DLiveDebugVariables.h33 void *pImpl = nullptr; variable
/openbsd/gnu/llvm/llvm/include/llvm/Transforms/Utils/
H A DValueMapper.h144 void *pImpl; variable