Lines Matching defs:pImpl
35 LLVMContextImpl *pImpl = Context.pImpl;
41 AttributeImpl *PA = pImpl->AttrsSet.FindNodeOrInsertPos(ID, InsertPoint);
50 pImpl->AttrsSet.InsertNode(PA, InsertPoint);
58 LLVMContextImpl *pImpl = Context.pImpl;
64 AttributeImpl *PA = pImpl->AttrsSet.FindNodeOrInsertPos(ID, InsertPoint);
70 pImpl->AttrsSet.InsertNode(PA, InsertPoint);
95 return pImpl && pImpl->isEnumAttribute();
99 return pImpl && pImpl->isAlignAttribute();
103 return pImpl && pImpl->isStringAttribute();
107 if (!pImpl) return None;
110 return pImpl ? pImpl->getKindAsEnum() : None;
114 if (!pImpl) return 0;
117 return pImpl ? pImpl->getValueAsInt() : 0;
121 if (!pImpl) return StringRef();
124 return pImpl ? pImpl->getKindAsString() : StringRef();
128 if (!pImpl) return StringRef();
131 return pImpl ? pImpl->getValueAsString() : StringRef();
135 return (pImpl && pImpl->hasAttribute(Kind)) || (!pImpl && Kind == None);
140 return pImpl && pImpl->hasAttribute(Kind);
147 return pImpl->getValueAsInt();
155 return pImpl->getValueAsInt();
159 if (!pImpl) return "";
266 StringRef Val = pImpl->getValueAsString();
277 if (!pImpl && !A.pImpl) return false;
278 if (!pImpl) return true;
279 if (!A.pImpl) return false;
280 return *pImpl < *A.pImpl;
398 LLVMContextImpl *pImpl = C.pImpl;
410 pImpl->AttrsSetNodes.FindNodeOrInsertPos(ID, InsertPoint);
419 pImpl->AttrsSetNodes.InsertNode(PA, InsertPoint);
522 LLVMContextImpl *pImpl = C.pImpl;
527 AttributeSetImpl *PA = pImpl->AttrsLists.FindNodeOrInsertPos(ID, InsertPoint);
537 pImpl->AttrsLists.InsertNode(PA, InsertPoint);
631 AttributeSetImpl *A0 = Attrs[0].pImpl;
639 AttributeSetImpl *AS = Attrs[I].pImpl;
679 if (!pImpl) return Attrs;
680 if (!Attrs.pImpl) return *this;
693 uint64_t NumAttrs = pImpl->getNumAttributes();
709 for (unsigned I = 0, E = Attrs.pImpl->getNumAttributes(); I != E; ++I)
711 for (AttributeSetImpl::iterator II = Attrs.pImpl->begin(I),
712 IE = Attrs.pImpl->end(I); II != IE; ++II)
734 if (!pImpl) return AttributeSet();
735 if (!Attrs.pImpl) return *this;
746 uint64_t NumAttrs = pImpl->getNumAttributes();
762 for (unsigned I = 0, E = Attrs.pImpl->getNumAttributes(); I != E; ++I)
764 B.removeAttributes(Attrs.pImpl->getSlotAttributes(I), Index);
782 return pImpl->getContext();
786 return pImpl && hasAttributes(Index) ?
787 AttributeSet::get(pImpl->getContext(),
794 return pImpl && hasAttributes(ReturnIndex) ?
795 AttributeSet::get(pImpl->getContext(),
803 return pImpl && hasAttributes(FunctionIndex) ?
804 AttributeSet::get(pImpl->getContext(),
829 if (pImpl == 0) return false;
831 for (unsigned I = 0, E = pImpl->getNumAttributes(); I != E; ++I)
832 for (AttributeSetImpl::iterator II = pImpl->begin(I),
833 IE = pImpl->end(I); II != IE; ++II)
870 if (!pImpl) return 0;
873 for (unsigned I = 0, E = pImpl->getNumAttributes(); I != E; ++I)
874 if (pImpl->getSlotIndex(I) == Index)
875 return pImpl->getSlotNode(I);
881 if (!pImpl)
883 return pImpl->begin(Slot);
887 if (!pImpl)
889 return pImpl->end(Slot);
900 return pImpl ? pImpl->getNumAttributes() : 0;
904 assert(pImpl && Slot < pImpl->getNumAttributes() &&
906 return pImpl->getSlotIndex(Slot);
910 assert(pImpl && Slot < pImpl->getNumAttributes() &&
912 return pImpl->getSlotAttributes(Slot);
917 return pImpl ? pImpl->Raw(Index) : 0;
942 AttributeSetImpl *pImpl = AS.pImpl;
943 if (!pImpl) return;
945 for (unsigned I = 0, E = pImpl->getNumAttributes(); I != E; ++I) {
946 if (pImpl->getSlotIndex(I) != Index) continue;
948 for (AttributeSetImpl::iterator II = pImpl->begin(I),
949 IE = pImpl->end(I); II != IE; ++II)