Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DLLVMContext.cpp36 LLVMContext::LLVMContext() : pImpl(new LLVMContextImpl(*this)) { in LLVMContext()
51 auto *DeoptEntry = pImpl->getOrInsertBundleTag("deopt"); in LLVMContext()
56 auto *FuncletEntry = pImpl->getOrInsertBundleTag("funclet"); in LLVMContext()
61 auto *GCTransitionEntry = pImpl->getOrInsertBundleTag("gc-transition"); in LLVMContext()
66 auto *CFGuardTargetEntry = pImpl->getOrInsertBundleTag("cfguardtarget"); in LLVMContext()
71 auto *PreallocatedEntry = pImpl->getOrInsertBundleTag("preallocated"); in LLVMContext()
76 auto *GCLiveEntry = pImpl->getOrInsertBundleTag("gc-live"); in LLVMContext()
82 pImpl->getOrInsertBundleTag("clang.arc.attachedcall"); in LLVMContext()
88 pImpl->getOrInsertSyncScopeID("singlethread"); in LLVMContext()
94 pImpl->getOrInsertSyncScopeID(""); in LLVMContext()
[all …]
H A DType.cpp180 Type *Type::getVoidTy(LLVMContext &C) { return &C.pImpl->VoidTy; } in getVoidTy()
181 Type *Type::getLabelTy(LLVMContext &C) { return &C.pImpl->LabelTy; } in getLabelTy()
182 Type *Type::getHalfTy(LLVMContext &C) { return &C.pImpl->HalfTy; } in getHalfTy()
183 Type *Type::getBFloatTy(LLVMContext &C) { return &C.pImpl->BFloatTy; } in getBFloatTy()
184 Type *Type::getFloatTy(LLVMContext &C) { return &C.pImpl->FloatTy; } in getFloatTy()
185 Type *Type::getDoubleTy(LLVMContext &C) { return &C.pImpl->DoubleTy; } in getDoubleTy()
186 Type *Type::getMetadataTy(LLVMContext &C) { return &C.pImpl->MetadataTy; } in getMetadataTy()
187 Type *Type::getTokenTy(LLVMContext &C) { return &C.pImpl->TokenTy; } in getTokenTy()
188 Type *Type::getX86_FP80Ty(LLVMContext &C) { return &C.pImpl->X86_FP80Ty; } in getX86_FP80Ty()
189 Type *Type::getFP128Ty(LLVMContext &C) { return &C.pImpl->FP128Ty; } in getFP128Ty()
[all …]
H A DAttributes.cpp94 LLVMContextImpl *pImpl = Context.pImpl; in get() local
100 AttributeImpl *PA = pImpl->AttrsSet.FindNodeOrInsertPos(ID, InsertPoint); in get()
106 PA = new (pImpl->Alloc) EnumAttributeImpl(Kind); in get()
108 PA = new (pImpl->Alloc) IntAttributeImpl(Kind, Val); in get()
109 pImpl->AttrsSet.InsertNode(PA, InsertPoint); in get()
117 LLVMContextImpl *pImpl = Context.pImpl; in get() local
123 AttributeImpl *PA = pImpl->AttrsSet.FindNodeOrInsertPos(ID, InsertPoint); in get()
129 pImpl->Alloc.Allocate(StringAttributeImpl::totalSizeToAlloc(Kind, Val), in get()
132 pImpl->AttrsSet.InsertNode(PA, InsertPoint); in get()
141 LLVMContextImpl *pImpl = Context.pImpl; in get() local
[all …]
H A DConstants.cpp848 LLVMContextImpl *pImpl = Context.pImpl; in getTrue() local
849 if (!pImpl->TheTrueVal) in getTrue()
850 pImpl->TheTrueVal = ConstantInt::get(Type::getInt1Ty(Context), 1); in getTrue()
851 return pImpl->TheTrueVal; in getTrue()
855 LLVMContextImpl *pImpl = Context.pImpl; in getFalse() local
856 if (!pImpl->TheFalseVal) in getFalse()
857 pImpl->TheFalseVal = ConstantInt::get(Type::getInt1Ty(Context), 0); in getFalse()
858 return pImpl->TheFalseVal; in getFalse()
888 LLVMContextImpl *pImpl = Context.pImpl; in get() local
889 std::unique_ptr<ConstantInt> &Slot = pImpl->IntConstants[V]; in get()
[all …]
H A DValue.cpp216 BOI.Tag = Assume->getContext().pImpl->getOrInsertBundleTag("ignore"); in dropDroppableUse()
275 auto I = Ctx.pImpl->ValueNames.find(this); in getValueName()
276 assert(I != Ctx.pImpl->ValueNames.end() && in getValueName()
285 assert(HasName == Ctx.pImpl->ValueNames.count(this) && in setValueName()
290 Ctx.pImpl->ValueNames.erase(this); in setValueName()
296 Ctx.pImpl->ValueNames[this] = VN; in setValueName()
1034 LLVMContextImpl *pImpl = getValPtr()->getContext().pImpl; in AddToUseList() local
1039 ValueHandleBase *&Entry = pImpl->ValueHandles[getValPtr()]; in AddToUseList()
1050 DenseMap<Value*, ValueHandleBase*> &Handles = pImpl->ValueHandles; in AddToUseList()
1092 LLVMContextImpl *pImpl = getValPtr()->getContext().pImpl; in RemoveFromUseList() local
[all …]
H A DMetadata.cpp69 getType()->getContext().pImpl->MetadataAsValues.erase(MD); in ~MetadataAsValue()
108 auto *&Entry = Context.pImpl->MetadataAsValues[MD]; in get()
117 auto &Store = Context.pImpl->MetadataAsValues; in getIfExists()
124 auto &Store = Context.pImpl->MetadataAsValues; in handleChangedMetadata()
366 auto *&Entry = Context.pImpl->ValuesAsMetadata[V]; in get()
383 return V->getContext().pImpl->ValuesAsMetadata.lookup(V); in getIfExists()
389 auto &Store = V->getType()->getContext().pImpl->ValuesAsMetadata; in handleDeletion()
412 auto &Store = Context.pImpl->ValuesAsMetadata; in handleRAUW()
468 auto &Store = Context.pImpl->MDStringCache; in get()
807 return uniquifyImpl(SubclassThis, getContext().pImpl->CLASS##s); \ in uniquify()
[all …]
H A DInlineAsm.cpp48 LLVMContextImpl *pImpl = FTy->getContext().pImpl; in get() local
49 return pImpl->InlineAsms.getOrCreate(PointerType::getUnqual(FTy), Key); in get()
53 getType()->getContext().pImpl->InlineAsms.remove(this); in destroyConstant()
H A DGlobals.cpp188 return getContext().pImpl->GlobalValuePartitions[this]; in getPartition()
199 S = getContext().pImpl->Saver.save(S); in setPartition()
200 getContext().pImpl->GlobalValuePartitions[this] = S; in setPartition()
209 return getContext().pImpl->GlobalObjectSections[this]; in getSectionImpl()
220 S = getContext().pImpl->Saver.save(S); in setSection()
221 getContext().pImpl->GlobalObjectSections[this] = S; in setSection()
H A DDebugInfoMetadata.cpp66 if (auto *N = getUniqued(Context.pImpl->DILocations, in getImpl()
82 Storage, Context.pImpl->DILocations); in getImpl()
291 if (auto *N = getUniqued(Context.pImpl->GenericDINodes, Key)) in getImpl()
305 Storage, Context.pImpl->GenericDINodes); in getImpl()
317 if (auto *N = getUniqued(Context.pImpl->CLASS##s, \
330 Storage, Context.pImpl->CLASS##s)
333 Storage, Context.pImpl->CLASS##s)
336 Storage, Context.pImpl->CLASS##s)
340 Storage, Context.pImpl->CLASS##s)
633 auto *&CT = (*Context.pImpl->DITypeMap)[&Identifier]; in buildODRType()
[all …]
H A DLLVMContextImpl.cpp153 Context.pImpl->dropTriviallyDeadConstantArrays(); in dropTriviallyDeadConstantArrays()
H A DDIBuilder.cpp170 unsigned EntitiesCount = C.pImpl->DIImportedEntitys.size(); in createImportedModule()
173 if (EntitiesCount < C.pImpl->DIImportedEntitys.size()) in createImportedModule()
H A DInstructions.cpp374 auto *ContextImpl = getContext().pImpl; in populateBundleOperandInfos()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DAttributes.h83 AttributeImpl *pImpl = nullptr;
85 Attribute(AttributeImpl *A) : pImpl(A) {} in Attribute()
155 bool isValid() const { return pImpl; } in isValid()
219 bool operator==(Attribute A) const { return pImpl == A.pImpl; }
220 bool operator!=(Attribute A) const { return pImpl != A.pImpl; }
229 return pImpl; in getRawPointer()
402 AttributeListImpl *pImpl = nullptr;
418 explicit AttributeList(AttributeListImpl *LI) : pImpl(LI) {}
756 bool operator==(const AttributeList &RHS) const { return pImpl == RHS.pImpl; }
757 bool operator!=(const AttributeList &RHS) const { return pImpl != RHS.pImpl; }
[all …]
H A DLLVMContext.h70 LLVMContextImpl *const pImpl;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DValueMapper.cpp1100 static Mapper *getAsMapper(void *pImpl) { in getAsMapper() argument
1101 return reinterpret_cast<Mapper *>(pImpl); in getAsMapper()
1110 explicit FlushingMapper(void *pImpl) : M(*getAsMapper(pImpl)) { in FlushingMapper() argument
1124 : pImpl(new Mapper(VM, Flags, TypeMapper, Materializer)) {} in ValueMapper()
1126 ValueMapper::~ValueMapper() { delete getAsMapper(pImpl); } in ~ValueMapper()
1131 return getAsMapper(pImpl)->registerAlternateMappingContext(VM, Materializer); in registerAlternateMappingContext()
1135 FlushingMapper(pImpl)->addFlags(Flags); in addFlags()
1139 return FlushingMapper(pImpl)->mapValue(&V); in mapValue()
1147 return FlushingMapper(pImpl)->mapMetadata(&MD); in mapMetadata()
1155 FlushingMapper(pImpl)->remapInstruction(&I); in remapInstruction()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DLiveDebugVariables.cpp1250 if (!pImpl) in runOnMachineFunction()
1251 pImpl = new LDVImpl(this); in runOnMachineFunction()
1252 return static_cast<LDVImpl*>(pImpl)->runOnMachineFunction(mf); in runOnMachineFunction()
1256 if (pImpl) in releaseMemory()
1257 static_cast<LDVImpl*>(pImpl)->clear(); in releaseMemory()
1261 if (pImpl) in ~LiveDebugVariables()
1262 delete static_cast<LDVImpl*>(pImpl); in ~LiveDebugVariables()
1401 if (pImpl) in splitRegister()
1402 static_cast<LDVImpl*>(pImpl)->splitRegister(OldReg, NewRegs); in splitRegister()
1752 if (pImpl) in emitDebugValues()
[all …]
H A DLiveDebugVariables.h33 void *pImpl = nullptr; variable
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/
H A DValueMapper.h144 void *pImpl; variable