Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DLLVMContext.cpp34 LLVMContext::LLVMContext() : pImpl(new LLVMContextImpl(*this)) { in LLVMContext()
49 auto *DeoptEntry = pImpl->getOrInsertBundleTag("deopt"); in LLVMContext()
54 auto *FuncletEntry = pImpl->getOrInsertBundleTag("funclet"); in LLVMContext()
59 auto *GCTransitionEntry = pImpl->getOrInsertBundleTag("gc-transition"); in LLVMContext()
64 auto *CFGuardTargetEntry = pImpl->getOrInsertBundleTag("cfguardtarget"); in LLVMContext()
69 auto *PreallocatedEntry = pImpl->getOrInsertBundleTag("preallocated"); in LLVMContext()
74 auto *GCLiveEntry = pImpl->getOrInsertBundleTag("gc-live"); in LLVMContext()
80 pImpl->getOrInsertBundleTag("clang.arc.attachedcall"); in LLVMContext()
85 auto *PtrauthEntry = pImpl->getOrInsertBundleTag("ptrauth"); in LLVMContext()
90 auto *KCFIEntry = pImpl->getOrInsertBundleTag("kcfi"); in LLVMContext()
[all …]
H A DType.cpp224 Type *Type::getVoidTy(LLVMContext &C) { return &C.pImpl->VoidTy; } in getVoidTy()
225 Type *Type::getLabelTy(LLVMContext &C) { return &C.pImpl->LabelTy; } in getLabelTy()
226 Type *Type::getHalfTy(LLVMContext &C) { return &C.pImpl->HalfTy; } in getHalfTy()
227 Type *Type::getBFloatTy(LLVMContext &C) { return &C.pImpl->BFloatTy; } in getBFloatTy()
228 Type *Type::getFloatTy(LLVMContext &C) { return &C.pImpl->FloatTy; } in getFloatTy()
229 Type *Type::getDoubleTy(LLVMContext &C) { return &C.pImpl->DoubleTy; } in getDoubleTy()
230 Type *Type::getMetadataTy(LLVMContext &C) { return &C.pImpl->MetadataTy; } in getMetadataTy()
231 Type *Type::getTokenTy(LLVMContext &C) { return &C.pImpl->TokenTy; } in getTokenTy()
232 Type *Type::getX86_FP80Ty(LLVMContext &C) { return &C.pImpl->X86_FP80Ty; } in getX86_FP80Ty()
233 Type *Type::getFP128Ty(LLVMContext &C) { return &C.pImpl->FP128Ty; } in getFP128Ty()
[all …]
H A DAttributes.cpp97 LLVMContextImpl *pImpl = Context.pImpl; in get() local
106 AttributeImpl *PA = pImpl->AttrsSet.FindNodeOrInsertPos(ID, InsertPoint); in get()
112 PA = new (pImpl->Alloc) EnumAttributeImpl(Kind); in get()
114 PA = new (pImpl->Alloc) IntAttributeImpl(Kind, Val); in get()
115 pImpl->AttrsSet.InsertNode(PA, InsertPoint); in get()
123 LLVMContextImpl *pImpl = Context.pImpl; in get() local
129 AttributeImpl *PA = pImpl->AttrsSet.FindNodeOrInsertPos(ID, InsertPoint); in get()
135 pImpl->Alloc.Allocate(StringAttributeImpl::totalSizeToAlloc(Kind, Val), in get()
138 pImpl->AttrsSet.InsertNode(PA, InsertPoint); in get()
148 LLVMContextImpl *pImpl = Context.pImpl; in get() local
[all …]
H A DConstants.cpp836 LLVMContextImpl *pImpl = Context.pImpl; in getTrue() local
837 if (!pImpl->TheTrueVal) in getTrue()
838 pImpl->TheTrueVal = ConstantInt::get(Type::getInt1Ty(Context), 1); in getTrue()
839 return pImpl->TheTrueVal; in getTrue()
843 LLVMContextImpl *pImpl = Context.pImpl; in getFalse() local
844 if (!pImpl->TheFalseVal) in getFalse()
845 pImpl->TheFalseVal = ConstantInt::get(Type::getInt1Ty(Context), 0); in getFalse()
846 return pImpl->TheFalseVal; in getFalse()
876 LLVMContextImpl *pImpl = Context.pImpl; in get() local
877 std::unique_ptr<ConstantInt> &Slot = pImpl->IntConstants[V]; in get()
[all …]
H A DValue.cpp225 BOI.Tag = Assume->getContext().pImpl->getOrInsertBundleTag("ignore"); in dropDroppableUse()
284 auto I = Ctx.pImpl->ValueNames.find(this); in getValueName()
285 assert(I != Ctx.pImpl->ValueNames.end() && in getValueName()
294 assert(HasName == Ctx.pImpl->ValueNames.count(this) && in setValueName()
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
1060 ValueHandleBase *&Entry = pImpl->ValueHandles[getValPtr()]; in AddToUseList()
1071 DenseMap<Value*, ValueHandleBase*> &Handles = pImpl->ValueHandles; in AddToUseList()
1113 LLVMContextImpl *pImpl = getValPtr()->getContext().pImpl; in RemoveFromUseList() local
[all …]
H A DMetadata.cpp65 getType()->getContext().pImpl->MetadataAsValues.erase(MD); in ~MetadataAsValue()
104 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()
413 return V->getContext().pImpl->ValuesAsMetadata.lookup(V); in getIfExists()
419 auto &Store = V->getType()->getContext().pImpl->ValuesAsMetadata; in handleDeletion()
442 auto &Store = Context.pImpl->ValuesAsMetadata; in handleRAUW()
498 auto &Store = Context.pImpl->MDStringCache; in get()
[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()
354 if (auto *N = getUniqued(Context.pImpl->CLASS##s, \
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()
[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-src/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;
465 explicit AttributeList(AttributeListImpl *LI) : pImpl(LI) {}
933 bool operator==(const AttributeList &RHS) const { return pImpl == RHS.pImpl; }
934 bool operator!=(const AttributeList &RHS) const { return pImpl != RHS.pImpl; }
[all …]
H A DLLVMContext.h69 LLVMContextImpl *const pImpl;
/openbsd-src/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
1144 : pImpl(new Mapper(VM, Flags, TypeMapper, Materializer)) {} in ValueMapper()
1146 ValueMapper::~ValueMapper() { delete getAsMapper(pImpl); } in ~ValueMapper()
1151 return getAsMapper(pImpl)->registerAlternateMappingContext(VM, Materializer); in registerAlternateMappingContext()
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()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DLiveDebugVariables.cpp1312 if (!pImpl) in runOnMachineFunction()
1313 pImpl = new LDVImpl(this); in runOnMachineFunction()
1314 return static_cast<LDVImpl *>(pImpl)->runOnMachineFunction(mf, InstrRef); 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()
1507 static_cast<LDVImpl*>(pImpl)->splitRegister(OldReg, NewRegs); in splitRegister()
1961 if (pImpl) in emitDebugValues()
[all …]
H A DLiveDebugVariables.h33 void *pImpl = nullptr; variable
/openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/Utils/
H A DValueMapper.h144 void *pImpl; variable