Home | History | Annotate | Download | only in AsmParser

Lines Matching defs:PTy

706   auto *PTy = dyn_cast<PointerType>(AliaseeType);
707 if (!PTy)
709 unsigned AddrSpace = PTy->getAddressSpace();
711 if (Ty != PTy->getElementType())
1067 static inline GlobalValue *createGlobalFwdRef(Module *M, PointerType *PTy,
1069 if (auto *FT = dyn_cast<FunctionType>(PTy->getElementType()))
1072 return new GlobalVariable(*M, PTy->getElementType(), false,
1075 PTy->getAddressSpace());
1083 PointerType *PTy = dyn_cast<PointerType>(Ty);
1084 if (!PTy) {
1110 GlobalValue *FwdVal = createGlobalFwdRef(M, PTy, Name);
1116 PointerType *PTy = dyn_cast<PointerType>(Ty);
1117 if (!PTy) {
1141 GlobalValue *FwdVal = createGlobalFwdRef(M, PTy, "");