Home | History | Annotate | Download | only in IR

Lines Matching refs:pImpl

36   LLVMContextImpl *pImpl = Context.pImpl;
42 AttributeImpl *PA = pImpl->AttrsSet.FindNodeOrInsertPos(ID, InsertPoint);
51 pImpl->AttrsSet.InsertNode(PA, InsertPoint);
59 LLVMContextImpl *pImpl = Context.pImpl;
65 AttributeImpl *PA = pImpl->AttrsSet.FindNodeOrInsertPos(ID, InsertPoint);
71 pImpl->AttrsSet.InsertNode(PA, InsertPoint);
96 return pImpl && pImpl->isEnumAttribute();
100 return pImpl && pImpl->isAlignAttribute();
104 return pImpl && pImpl->isStringAttribute();
108 if (!pImpl) return None;
111 return pImpl ? pImpl->getKindAsEnum() : None;
115 if (!pImpl) return 0;
118 return pImpl ? pImpl->getValueAsInt() : 0;
122 if (!pImpl) return StringRef();
125 return pImpl ? pImpl->getKindAsString() : StringRef();
129 if (!pImpl) return StringRef();
132 return pImpl ? pImpl->getValueAsString() : StringRef();
136 return (pImpl && pImpl->hasAttribute(Kind)) || (!pImpl && Kind == None);
141 return pImpl && pImpl->hasAttribute(Kind);
148 return pImpl->getValueAsInt();
156 return pImpl->getValueAsInt();
160 if (!pImpl) return "";
275 StringRef Val = pImpl->getValueAsString();
286 if (!pImpl && !A.pImpl) return false;
287 if (!pImpl) return true;
288 if (!A.pImpl) return false;
289 return *pImpl < *A.pImpl;
415 LLVMContextImpl *pImpl = C.pImpl;
427 pImpl->AttrsSetNodes.FindNodeOrInsertPos(ID, InsertPoint);
436 pImpl->AttrsSetNodes.InsertNode(PA, InsertPoint);
539 LLVMContextImpl *pImpl = C.pImpl;
544 AttributeSetImpl *PA = pImpl->AttrsLists.FindNodeOrInsertPos(ID, InsertPoint);
554 pImpl->AttrsLists.InsertNode(PA, InsertPoint);
649 AttributeSetImpl *A0 = Attrs[0].pImpl;
657 AttributeSetImpl *AS = Attrs[I].pImpl;
697 if (!pImpl) return Attrs;
698 if (!Attrs.pImpl) return *this;
711 uint64_t NumAttrs = pImpl->getNumAttributes();
727 for (unsigned I = 0, E = Attrs.pImpl->getNumAttributes(); I != E; ++I)
729 for (AttributeSetImpl::iterator II = Attrs.pImpl->begin(I),
730 IE = Attrs.pImpl->end(I); II != IE; ++II)
752 if (!pImpl) return AttributeSet();
753 if (!Attrs.pImpl) return *this;
764 uint64_t NumAttrs = pImpl->getNumAttributes();
780 for (unsigned I = 0, E = Attrs.pImpl->getNumAttributes(); I != E; ++I)
782 B.removeAttributes(Attrs.pImpl->getSlotAttributes(I), Index);
800 return pImpl->getContext();
804 return pImpl && hasAttributes(Index) ?
805 AttributeSet::get(pImpl->getContext(),
812 return pImpl && hasAttributes(ReturnIndex) ?
813 AttributeSet::get(pImpl->getContext(),
821 return pImpl && hasAttributes(FunctionIndex) ?
822 AttributeSet::get(pImpl->getContext(),
847 if (!pImpl) return false;
849 for (unsigned I = 0, E = pImpl->getNumAttributes(); I != E; ++I)
850 for (AttributeSetImpl::iterator II = pImpl->begin(I),
851 IE = pImpl->end(I); II != IE; ++II)
888 if (!pImpl) return nullptr;
891 for (unsigned I = 0, E = pImpl->getNumAttributes(); I != E; ++I)
892 if (pImpl->getSlotIndex(I) == Index)
893 return pImpl->getSlotNode(I);
899 if (!pImpl)
901 return pImpl->begin(Slot);
905 if (!pImpl)
907 return pImpl->end(Slot);
918 return pImpl ? pImpl->getNumAttributes() : 0;
922 assert(pImpl && Slot < pImpl->getNumAttributes() &&
924 return pImpl->getSlotIndex(Slot);
928 assert(pImpl && Slot < pImpl->getNumAttributes() &&
930 return pImpl->getSlotAttributes(Slot);
935 return pImpl ? pImpl->Raw(Index) : 0;
960 AttributeSetImpl *pImpl = AS.pImpl;
961 if (!pImpl) return;
963 for (unsigned I = 0, E = pImpl->getNumAttributes(); I != E; ++I) {
964 if (pImpl->getSlotIndex(I) != Index) continue;
966 for (AttributeSetImpl::iterator II = pImpl
967 IE = pImpl->end(I); II != IE; ++II)