Lines Matching refs:pImpl
66 LLVMContextImpl *pImpl = Context.pImpl; in get() local
72 AttributeImpl *PA = pImpl->AttrsSet.FindNodeOrInsertPos(ID, InsertPoint); in get()
81 pImpl->AttrsSet.InsertNode(PA, InsertPoint); in get()
89 LLVMContextImpl *pImpl = Context.pImpl; in get() local
95 AttributeImpl *PA = pImpl->AttrsSet.FindNodeOrInsertPos(ID, InsertPoint); in get()
101 pImpl->AttrsSet.InsertNode(PA, InsertPoint); in get()
146 return pImpl && pImpl->isEnumAttribute(); in isEnumAttribute()
150 return pImpl && pImpl->isIntAttribute(); in isIntAttribute()
154 return pImpl && pImpl->isStringAttribute(); in isStringAttribute()
158 if (!pImpl) return None; in getKindAsEnum()
161 return pImpl->getKindAsEnum(); in getKindAsEnum()
165 if (!pImpl) return 0; in getValueAsInt()
168 return pImpl->getValueAsInt(); in getValueAsInt()
172 if (!pImpl) return StringRef(); in getKindAsString()
175 return pImpl->getKindAsString(); in getKindAsString()
179 if (!pImpl) return StringRef(); in getValueAsString()
182 return pImpl->getValueAsString(); in getValueAsString()
186 return (pImpl && pImpl->hasAttribute(Kind)) || (!pImpl && Kind == None); in hasAttribute()
191 return pImpl && pImpl->hasAttribute(Kind); in hasAttribute()
197 return pImpl->getValueAsInt(); in getAlignment()
203 return pImpl->getValueAsInt(); in getStackAlignment()
210 return pImpl->getValueAsInt(); in getDereferenceableBytes()
217 return pImpl->getValueAsInt(); in getDereferenceableOrNullBytes()
223 return unpackAllocSizeArgs(pImpl->getValueAsInt()); in getAllocSizeArgs()
227 if (!pImpl) return ""; in getAsString()
384 StringRef Val = pImpl->getValueAsString(); in getAsString()
395 if (!pImpl && !A.pImpl) return false; in operator <()
396 if (!pImpl) return true; in operator <()
397 if (!A.pImpl) return false; in operator <()
398 return *pImpl < *A.pImpl; in operator <()
549 LLVMContextImpl *pImpl = C.pImpl; in get() local
560 pImpl->AttrsSetNodes.FindNodeOrInsertPos(ID, InsertPoint); in get()
568 pImpl->AttrsSetNodes.InsertNode(PA, InsertPoint); in get()
692 LLVMContextImpl *pImpl = C.pImpl; in getImpl() local
697 AttributeSetImpl *PA = pImpl->AttrsLists.FindNodeOrInsertPos(ID, InsertPoint); in getImpl()
706 pImpl->AttrsLists.InsertNode(PA, InsertPoint); in getImpl()
826 AttributeSetImpl *A0 = Attrs[0].pImpl; in get()
834 AttributeSetImpl *AS = Attrs[I].pImpl; in get()
867 unsigned I = 0, E = pImpl ? pImpl->getNumSlots() : 0; in addAttribute()
896 if (!pImpl) return Attrs; in addAttributes()
897 if (!Attrs.pImpl) return *this; in addAttributes()
910 uint64_t NumAttrs = pImpl->getNumSlots(); in addAttributes()
926 for (unsigned I = 0, E = Attrs.pImpl->getNumSlots(); I != E; ++I) in addAttributes()
928 for (AttributeSetImpl::iterator II = Attrs.pImpl->begin(I), in addAttributes()
929 IE = Attrs.pImpl->end(I); II != IE; ++II) in addAttributes()
957 if (!pImpl) return AttributeSet(); in removeAttributes()
958 if (!Attrs.pImpl) return *this; in removeAttributes()
967 uint64_t NumAttrs = pImpl->getNumSlots(); in removeAttributes()
983 for (unsigned I = 0, E = Attrs.pImpl->getNumSlots(); I != E; ++I) in removeAttributes()
985 B.removeAttributes(Attrs.pImpl->getSlotAttributes(I), Index); in removeAttributes()
1000 if (!pImpl) return AttributeSet(); in removeAttributes()
1008 uint64_t NumAttrs = pImpl->getNumSlots(); in removeAttributes()
1063 return pImpl->getContext(); in getContext()
1067 return pImpl && hasAttributes(Index) ? in getParamAttributes()
1068 AttributeSet::get(pImpl->getContext(), in getParamAttributes()
1075 return pImpl && hasAttributes(ReturnIndex) ? in getRetAttributes()
1076 AttributeSet::get(pImpl->getContext(), in getRetAttributes()
1084 return pImpl && hasAttributes(FunctionIndex) ? in getFnAttributes()
1085 AttributeSet::get(pImpl->getContext(), in getFnAttributes()
1108 return pImpl && pImpl->hasFnAttribute(Kind); in hasFnAttribute()
1113 if (!pImpl) return false; in hasAttrSomewhere()
1115 for (unsigned I = 0, E = pImpl->getNumSlots(); I != E; ++I) in hasAttrSomewhere()
1116 for (AttributeSetImpl::iterator II = pImpl->begin(I), in hasAttrSomewhere()
1117 IE = pImpl->end(I); II != IE; ++II) in hasAttrSomewhere()
1119 if (Index) *Index = pImpl->getSlotIndex(I); in hasAttrSomewhere()
1170 if (!pImpl) return nullptr; in getAttributes()
1173 for (unsigned I = 0, E = pImpl->getNumSlots(); I != E; ++I) in getAttributes()
1174 if (pImpl->getSlotIndex(I) == Index) in getAttributes()
1175 return pImpl->getSlotNode(I); in getAttributes()
1181 if (!pImpl) in begin()
1183 return pImpl->begin(Slot); in begin()
1187 if (!pImpl) in end()
1189 return pImpl->end(Slot); in end()
1197 return pImpl ? pImpl->getNumSlots() : 0; in getNumSlots()
1201 assert(pImpl && Slot < pImpl->getNumSlots() && in getSlotIndex()
1203 return pImpl->getSlotIndex(Slot); in getSlotIndex()
1207 assert(pImpl && Slot < pImpl->getNumSlots() && in getSlotAttributes()
1209 return pImpl->getSlotAttributes(Slot); in getSlotAttributes()
1214 return pImpl ? pImpl->Raw(Index) : 0; in Raw()
1240 AttributeSetImpl *pImpl = AS.pImpl; in AttrBuilder() local
1241 if (!pImpl) return; in AttrBuilder()
1243 for (unsigned I = 0, E = pImpl->getNumSlots(); I != E; ++I) { in AttrBuilder()
1244 if (pImpl->getSlotIndex(I) != Index) continue; in AttrBuilder()
1246 for (AttributeSetImpl::iterator II = pImpl->begin(I), in AttrBuilder()
1247 IE = pImpl->end(I); II != IE; ++II) in AttrBuilder()