Lines Matching refs:pImpl
100 LLVMContextImpl *pImpl = Context.pImpl; in get() local
109 AttributeImpl *PA = pImpl->AttrsSet.FindNodeOrInsertPos(ID, InsertPoint); in get()
115 PA = new (pImpl->Alloc) EnumAttributeImpl(Kind); in get()
117 PA = new (pImpl->Alloc) IntAttributeImpl(Kind, Val); in get()
118 pImpl->AttrsSet.InsertNode(PA, InsertPoint); in get()
126 LLVMContextImpl *pImpl = Context.pImpl; in get() local
132 AttributeImpl *PA = pImpl->AttrsSet.FindNodeOrInsertPos(ID, InsertPoint); in get()
138 pImpl->Alloc.Allocate(StringAttributeImpl::totalSizeToAlloc(Kind, Val), in get()
141 pImpl->AttrsSet.InsertNode(PA, InsertPoint); in get()
151 LLVMContextImpl *pImpl = Context.pImpl; in get() local
157 AttributeImpl *PA = pImpl->AttrsSet.FindNodeOrInsertPos(ID, InsertPoint); in get()
162 PA = new (pImpl->Alloc) TypeAttributeImpl(Kind, Ty); in get()
163 pImpl->AttrsSet.InsertNode(PA, InsertPoint); in get()
174 LLVMContextImpl *pImpl = Context.pImpl; in get() local
181 AttributeImpl *PA = pImpl->AttrsSet.FindNodeOrInsertPos(ID, InsertPoint); in get()
186 PA = new (pImpl->ConstantRangeAttributeAlloc.Allocate()) in get()
188 pImpl->AttrsSet.InsertNode(PA, InsertPoint); in get()
199 LLVMContextImpl *pImpl = Context.pImpl; in get() local
209 AttributeImpl *PA = pImpl->AttrsSet.FindNodeOrInsertPos(ID, InsertPoint); in get()
219 void *Mem = pImpl->Alloc.Allocate( in get()
223 pImpl->AttrsSet.InsertNode(PA, InsertPoint); in get()
224 pImpl->ConstantRangeListAttributes.push_back( in get()
339 return pImpl && pImpl->isEnumAttribute(); in isEnumAttribute()
343 return pImpl && pImpl->isIntAttribute(); in isIntAttribute()
347 return pImpl && pImpl->isStringAttribute(); in isStringAttribute()
351 return pImpl && pImpl->isTypeAttribute(); in isTypeAttribute()
355 return pImpl && pImpl->isConstantRangeAttribute(); in isConstantRangeAttribute()
359 return pImpl && pImpl->isConstantRangeListAttribute(); in isConstantRangeListAttribute()
363 if (!pImpl) return None; in getKindAsEnum()
367 return pImpl->getKindAsEnum(); in getKindAsEnum()
371 if (!pImpl) return 0; in getValueAsInt()
374 return pImpl->getValueAsInt(); in getValueAsInt()
378 if (!pImpl) return false; in getValueAsBool()
381 return pImpl->getValueAsBool(); in getValueAsBool()
385 if (!pImpl) return {}; in getKindAsString()
388 return pImpl->getKindAsString(); in getKindAsString()
392 if (!pImpl) return {}; in getValueAsString()
395 return pImpl->getValueAsString(); in getValueAsString()
399 if (!pImpl) return {}; in getValueAsType()
402 return pImpl->getValueAsType(); in getValueAsType()
408 return pImpl->getValueAsConstantRange(); in getValueAsConstantRange()
414 return pImpl->getValueAsConstantRangeList(); in getValueAsConstantRangeList()
418 return (pImpl && pImpl->hasAttribute(Kind)) || (!pImpl && Kind == None); in hasAttribute()
423 return pImpl && pImpl->hasAttribute(Kind); in hasAttribute()
429 return MaybeAlign(pImpl->getValueAsInt()); in getAlignment()
435 return MaybeAlign(pImpl->getValueAsInt()); in getStackAlignment()
442 return pImpl->getValueAsInt(); in getDereferenceableBytes()
449 return pImpl->getValueAsInt(); in getDereferenceableOrNullBytes()
456 return unpackAllocSizeArgs(pImpl->getValueAsInt()); in getAllocSizeArgs()
462 return unpackVScaleRangeArgs(pImpl->getValueAsInt()).first; in getVScaleRangeMin()
468 return unpackVScaleRangeArgs(pImpl->getValueAsInt()).second; in getVScaleRangeMax()
474 return UWTableKind(pImpl->getValueAsInt()); in getUWTableKind()
480 return AllocFnKind(pImpl->getValueAsInt()); in getAllocKind()
486 return MemoryEffects::createFromIntValue(pImpl->getValueAsInt()); in getMemoryEffects()
492 return static_cast<FPClassTest>(pImpl->getValueAsInt()); in getNoFPClass()
498 return pImpl->getValueAsConstantRange(); in getRange()
504 return pImpl->getValueAsConstantRangeList(); in getInitializes()
522 if (!pImpl) return {}; in getAsString()
693 const auto &AttrVal = pImpl->getValueAsString(); in getAsString()
709 pImpl->Profile(ID); in hasParentContext()
711 return C.pImpl->AttrsSet.FindNodeOrInsertPos(ID, Unused) == pImpl; in hasParentContext()
715 if (!pImpl && !A.pImpl) return false; in operator <()
716 if (!pImpl) return true; in operator <()
717 if (!A.pImpl) return false; in operator <()
718 return *pImpl < *A.pImpl; in operator <()
722 ID.AddPointer(pImpl); in Profile()
1005 return C.pImpl->AttrsSetNodes.FindNodeOrInsertPos(ID, Unused) == SetNode; in hasParentContext()
1054 LLVMContextImpl *pImpl = C.pImpl; in getSorted() local
1063 pImpl->AttrsSetNodes.FindNodeOrInsertPos(ID, InsertPoint); in getSorted()
1071 pImpl->AttrsSetNodes.InsertNode(PA, InsertPoint); in getSorted()
1267 LLVMContextImpl *pImpl = C.pImpl; in getImpl() local
1273 pImpl->AttrsLists.FindNodeOrInsertPos(ID, InsertPoint); in getImpl()
1279 void *Mem = pImpl->Alloc.Allocate( in getImpl()
1283 pImpl->AttrsLists.InsertNode(PA, InsertPoint); in getImpl()
1510 if (!pImpl) in addAttributesAtIndex()
1571 if (!pImpl) in removeAttributesAtIndex()
1646 return pImpl && pImpl->hasFnAttribute(Kind); in hasFnAttr()
1655 return pImpl && pImpl->hasAttrSomewhere(Attr, Index); in hasAttrSomewhere()
1755 if (!pImpl || Index >= getNumAttrSets()) in getAttributes()
1757 return pImpl->begin()[Index]; in getAttributes()
1763 pImpl->Profile(ID); in hasParentContext()
1765 return C.pImpl->AttrsLists.FindNodeOrInsertPos(ID, Unused) == pImpl; in hasParentContext()
1769 return pImpl ? pImpl->begin() : nullptr; in begin()
1773 return pImpl ? pImpl->end() : nullptr; in end()
1781 return pImpl ? pImpl->NumAttrSets : 0; in getNumAttrSets()