Lines Matching refs:pImpl
97 LLVMContextImpl *pImpl = Context.pImpl; in get() local
103 AttributeImpl *PA = pImpl->AttrsSet.FindNodeOrInsertPos(ID, InsertPoint); in get()
109 PA = new (pImpl->Alloc) EnumAttributeImpl(Kind); in get()
111 PA = new (pImpl->Alloc) IntAttributeImpl(Kind, Val); in get()
112 pImpl->AttrsSet.InsertNode(PA, InsertPoint); in get()
120 LLVMContextImpl *pImpl = Context.pImpl; in get() local
126 AttributeImpl *PA = pImpl->AttrsSet.FindNodeOrInsertPos(ID, InsertPoint); in get()
132 pImpl->Alloc.Allocate(StringAttributeImpl::totalSizeToAlloc(Kind, Val), in get()
135 pImpl->AttrsSet.InsertNode(PA, InsertPoint); in get()
145 LLVMContextImpl *pImpl = Context.pImpl; in get() local
151 AttributeImpl *PA = pImpl->AttrsSet.FindNodeOrInsertPos(ID, InsertPoint); in get()
156 PA = new (pImpl->Alloc) TypeAttributeImpl(Kind, Ty); in get()
157 pImpl->AttrsSet.InsertNode(PA, InsertPoint); in get()
261 return pImpl && pImpl->isEnumAttribute(); in isEnumAttribute()
265 return pImpl && pImpl->isIntAttribute(); in isIntAttribute()
269 return pImpl && pImpl->isStringAttribute(); in isStringAttribute()
273 return pImpl && pImpl->isTypeAttribute(); in isTypeAttribute()
277 if (!pImpl) return None; in getKindAsEnum()
280 return pImpl->getKindAsEnum(); in getKindAsEnum()
284 if (!pImpl) return 0; in getValueAsInt()
287 return pImpl->getValueAsInt(); in getValueAsInt()
291 if (!pImpl) return false; in getValueAsBool()
294 return pImpl->getValueAsBool(); in getValueAsBool()
298 if (!pImpl) return {}; in getKindAsString()
301 return pImpl->getKindAsString(); in getKindAsString()
305 if (!pImpl) return {}; in getValueAsString()
308 return pImpl->getValueAsString(); in getValueAsString()
312 if (!pImpl) return {}; in getValueAsType()
315 return pImpl->getValueAsType(); in getValueAsType()
320 return (pImpl && pImpl->hasAttribute(Kind)) || (!pImpl && Kind == None); in hasAttribute()
325 return pImpl && pImpl->hasAttribute(Kind); in hasAttribute()
331 return MaybeAlign(pImpl->getValueAsInt()); in getAlignment()
337 return MaybeAlign(pImpl->getValueAsInt()); in getStackAlignment()
344 return pImpl->getValueAsInt(); in getDereferenceableBytes()
351 return pImpl->getValueAsInt(); in getDereferenceableOrNullBytes()
357 return unpackAllocSizeArgs(pImpl->getValueAsInt()); in getAllocSizeArgs()
363 return unpackVScaleRangeArgs(pImpl->getValueAsInt()).first; in getVScaleRangeMin()
369 return unpackVScaleRangeArgs(pImpl->getValueAsInt()).second; in getVScaleRangeMax()
375 return UWTableKind(pImpl->getValueAsInt()); in getUWTableKind()
381 return AllocFnKind(pImpl->getValueAsInt()); in getAllocKind()
385 if (!pImpl) return {}; in getAsString()
489 const auto &AttrVal = pImpl->getValueAsString(); in getAsString()
505 pImpl->Profile(ID); in hasParentContext()
507 return C.pImpl->AttrsSet.FindNodeOrInsertPos(ID, Unused) == pImpl; in hasParentContext()
511 if (!pImpl && !A.pImpl) return false; in operator <()
512 if (!pImpl) return true; in operator <()
513 if (!A.pImpl) return false; in operator <()
514 return *pImpl < *A.pImpl; in operator <()
518 ID.AddPointer(pImpl); in Profile()
776 return C.pImpl->AttrsSetNodes.FindNodeOrInsertPos(ID, Unused) == SetNode; in hasParentContext()
825 LLVMContextImpl *pImpl = C.pImpl; in getSorted() local
834 pImpl->AttrsSetNodes.FindNodeOrInsertPos(ID, InsertPoint); in getSorted()
842 pImpl->AttrsSetNodes.InsertNode(PA, InsertPoint); in getSorted()
1026 LLVMContextImpl *pImpl = C.pImpl; in getImpl() local
1032 pImpl->AttrsLists.FindNodeOrInsertPos(ID, InsertPoint); in getImpl()
1038 void *Mem = pImpl->Alloc.Allocate( in getImpl()
1042 pImpl->AttrsLists.InsertNode(PA, InsertPoint); in getImpl()
1263 if (!pImpl) in addAttributesAtIndex()
1334 if (!pImpl) in removeAttributesAtIndex()
1406 return pImpl && pImpl->hasFnAttribute(Kind); in hasFnAttr()
1415 return pImpl && pImpl->hasAttrSomewhere(Attr, Index); in hasAttrSomewhere()
1503 if (!pImpl || Index >= getNumAttrSets()) in getAttributes()
1505 return pImpl->begin()[Index]; in getAttributes()
1511 pImpl->Profile(ID); in hasParentContext()
1513 return C.pImpl->AttrsLists.FindNodeOrInsertPos(ID, Unused) == pImpl; in hasParentContext()
1517 return pImpl ? pImpl->begin() : nullptr; in begin()
1521 return pImpl ? pImpl->end() : nullptr; in end()
1529 return pImpl ? pImpl->NumAttrSets : 0; in getNumAttrSets()