Lines Matching refs:pImpl
98 LLVMContextImpl *pImpl = Context.pImpl; in get() local
107 AttributeImpl *PA = pImpl->AttrsSet.FindNodeOrInsertPos(ID, InsertPoint); in get()
113 PA = new (pImpl->Alloc) EnumAttributeImpl(Kind); in get()
115 PA = new (pImpl->Alloc) IntAttributeImpl(Kind, Val); in get()
116 pImpl->AttrsSet.InsertNode(PA, InsertPoint); in get()
124 LLVMContextImpl *pImpl = Context.pImpl; in get() local
130 AttributeImpl *PA = pImpl->AttrsSet.FindNodeOrInsertPos(ID, InsertPoint); in get()
136 pImpl->Alloc.Allocate(StringAttributeImpl::totalSizeToAlloc(Kind, Val), in get()
139 pImpl->AttrsSet.InsertNode(PA, InsertPoint); in get()
149 LLVMContextImpl *pImpl = Context.pImpl; in get() local
155 AttributeImpl *PA = pImpl->AttrsSet.FindNodeOrInsertPos(ID, InsertPoint); in get()
160 PA = new (pImpl->Alloc) TypeAttributeImpl(Kind, Ty); in get()
161 pImpl->AttrsSet.InsertNode(PA, InsertPoint); in get()
275 return pImpl && pImpl->isEnumAttribute(); in isEnumAttribute()
279 return pImpl && pImpl->isIntAttribute(); in isIntAttribute()
283 return pImpl && pImpl->isStringAttribute(); in isStringAttribute()
287 return pImpl && pImpl->isTypeAttribute(); in isTypeAttribute()
291 if (!pImpl) return None; in getKindAsEnum()
294 return pImpl->getKindAsEnum(); in getKindAsEnum()
298 if (!pImpl) return 0; in getValueAsInt()
301 return pImpl->getValueAsInt(); in getValueAsInt()
305 if (!pImpl) return false; in getValueAsBool()
308 return pImpl->getValueAsBool(); in getValueAsBool()
312 if (!pImpl) return {}; in getKindAsString()
315 return pImpl->getKindAsString(); in getKindAsString()
319 if (!pImpl) return {}; in getValueAsString()
322 return pImpl->getValueAsString(); in getValueAsString()
326 if (!pImpl) return {}; in getValueAsType()
329 return pImpl->getValueAsType(); in getValueAsType()
334 return (pImpl && pImpl->hasAttribute(Kind)) || (!pImpl && Kind == None); in hasAttribute()
339 return pImpl && pImpl->hasAttribute(Kind); in hasAttribute()
345 return MaybeAlign(pImpl->getValueAsInt()); in getAlignment()
351 return MaybeAlign(pImpl->getValueAsInt()); in getStackAlignment()
358 return pImpl->getValueAsInt(); in getDereferenceableBytes()
365 return pImpl->getValueAsInt(); in getDereferenceableOrNullBytes()
372 return unpackAllocSizeArgs(pImpl->getValueAsInt()); in getAllocSizeArgs()
378 return unpackVScaleRangeArgs(pImpl->getValueAsInt()).first; in getVScaleRangeMin()
384 return unpackVScaleRangeArgs(pImpl->getValueAsInt()).second; in getVScaleRangeMax()
390 return UWTableKind(pImpl->getValueAsInt()); in getUWTableKind()
396 return AllocFnKind(pImpl->getValueAsInt()); in getAllocKind()
402 return MemoryEffects::createFromIntValue(pImpl->getValueAsInt()); in getMemoryEffects()
408 return static_cast<FPClassTest>(pImpl->getValueAsInt()); in getNoFPClass()
426 if (!pImpl) return {}; in getAsString()
579 const auto &AttrVal = pImpl->getValueAsString(); in getAsString()
595 pImpl->Profile(ID); in hasParentContext()
597 return C.pImpl->AttrsSet.FindNodeOrInsertPos(ID, Unused) == pImpl; in hasParentContext()
601 if (!pImpl && !A.pImpl) return false; in operator <()
602 if (!pImpl) return true; in operator <()
603 if (!A.pImpl) return false; in operator <()
604 return *pImpl < *A.pImpl; in operator <()
608 ID.AddPointer(pImpl); in Profile()
875 return C.pImpl->AttrsSetNodes.FindNodeOrInsertPos(ID, Unused) == SetNode; in hasParentContext()
924 LLVMContextImpl *pImpl = C.pImpl; in getSorted() local
933 pImpl->AttrsSetNodes.FindNodeOrInsertPos(ID, InsertPoint); in getSorted()
941 pImpl->AttrsSetNodes.InsertNode(PA, InsertPoint); in getSorted()
1137 LLVMContextImpl *pImpl = C.pImpl; in getImpl() local
1143 pImpl->AttrsLists.FindNodeOrInsertPos(ID, InsertPoint); in getImpl()
1149 void *Mem = pImpl->Alloc.Allocate( in getImpl()
1153 pImpl->AttrsLists.InsertNode(PA, InsertPoint); in getImpl()
1380 if (!pImpl) in addAttributesAtIndex()
1441 if (!pImpl) in removeAttributesAtIndex()
1509 return pImpl && pImpl->hasFnAttribute(Kind); in hasFnAttr()
1518 return pImpl && pImpl->hasAttrSomewhere(Attr, Index); in hasAttrSomewhere()
1618 if (!pImpl || Index >= getNumAttrSets()) in getAttributes()
1620 return pImpl->begin()[Index]; in getAttributes()
1626 pImpl->Profile(ID); in hasParentContext()
1628 return C.pImpl->AttrsLists.FindNodeOrInsertPos(ID, Unused) == pImpl; in hasParentContext()
1632 return pImpl ? pImpl->begin() : nullptr; in begin()
1636 return pImpl ? pImpl->end() : nullptr; in end()
1644 return pImpl ? pImpl->NumAttrSets : 0; in getNumAttrSets()