Lines Matching refs:Name
190 // Otherwise construct human readable name for debug info.
196 // Print a fully qualified name like MSVC would.
200 // Print the unqualified name with some template arguments. This is what
213 // Copy this name on the side and use its reference.
262 SmallString<128> Name;
264 llvm::raw_svector_ostream OS(Name);
269 // Copy this name on the side and use its reference.
270 return internString(Name);
350 // Should we be asking the SourceManager for the main file name, instead of
351 // accepting it as an argument? This just causes the main file name to
357 // Get absolute path name.
363 // The main file name provided via the "-main-file-name" option contains just
364 // the file name itself with no path information. This file name may have had
616 // No need to fill in the Name, Line, Size, Alignment, Offset in case of
667 // TODO: This is using the RTTI name. Is there a better way to get
740 llvm::DIType *CGDebugInfo::getOrCreateStructPtrType(StringRef Name,
744 Cache = DBuilder.createForwardDecl(llvm::dwarf::DW_TAG_structure_type, Name,
801 // them without a name or a location.
894 StringRef name, QualType type, uint64_t sizeInBitsOverride,
915 return DBuilder.createMemberType(scope, name, file, line, SizeInBits,
923 // has the name and the location of the variable so we should iterate over
996 StringRef name = field->getName();
1000 if (name.empty() && !type->isRecordType())
1010 createFieldType(name, type, SizeInBitsOverride, field->getLocation(),
1137 // make sense to give a single ctor/dtor a linkage name.
1285 StringRef Name;
1287 Name = TPList->getParam(i)->getName();
1292 Name, TTy));
1297 TheCU, Name, TTy,
1328 TheCU, Name, TTy,
1349 TheCU, Name, TTy, cast<llvm::Constant>(V)));
1353 TheCU, Name, nullptr,
1358 TheCU, Name, nullptr,
1370 TheCU, Name, TTy, cast<llvm::Constant>(V->stripPointerCasts())));
1424 // Copy the gdb compatible name on the side and use its reference.
1467 // because they are only referenced by name in the IR.
1649 /// \return true if Getter has the default name for the property PD.
1661 /// \return true if Setter has the default name for the property PD.
2399 StringRef Name, uint64_t *Offset) {
2403 llvm::DIType *Ty = DBuilder.createMemberType(Unit, Name, Unit, 0, FieldSize,
2410 StringRef &Name,
2416 Name = getFunctionName(FD);
2417 // Use mangled name as linkage name for C/C++ functions.
2422 // No need to replicate the linkage name if it isn't different from the
2423 // subprogram name, no need to have it at all unless coverage is enabled or
2425 if (LinkageName == Name ||
2447 StringRef &Name, StringRef &LinkageName,
2464 Name = VD->getName();
2468 if (LinkageName == Name)
2495 StringRef Name, LinkageName;
2502 collectFunctionDeclProps(FD, Unit, Name, LinkageName, DContext,
2512 DContext, Name, LinkageName, Unit, Line,
2526 StringRef Name, LinkageName;
2532 collectVarDeclProps(VD, Unit, Line, T, Name, LinkageName, DContext);
2534 DContext, Name, LinkageName, Unit, Line, getOrCreateType(T, Unit),
2671 StringRef Name;
2684 // Use llvm function name.
2697 collectFunctionDeclProps(GD, Unit, Name, LinkageName, FDContext,
2700 Name = getObjCMethodName(OMD);
2703 // Use llvm function name.
2704 Name = Fn->getName();
2707 if (!Name.empty() && Name[0] == '\01')
2708 Name = Name.substr(1);
2725 FDContext, Name, LinkageName, Unit, LineNo,
2745 StringRef Name;
2758 collectFunctionDeclProps(GD, Unit, Name, LinkageName, FDContext,
2761 Name = getObjCMethodName(OMD);
2766 if (!Name.empty() && Name[0] == '\01')
2767 Name = Name.substr(1);
2778 DBuilder.createFunction(FDContext, Name, LinkageName, Unit, LineNo,
2971 StringRef Name = VD->getName();
2972 if (!Name
3036 ? DBuilder.createParameterVariable(Scope, Name, *ArgNo, Unit, Line,
3039 : DBuilder.createAutoVariable(Scope, Name, Unit, Line, Ty,
3240 StringRef name = variable->getName();
3251 DBuilder.createMemberType(tunit, name, tunit, line, PtrInfo.Width,
3254 fieldType = createFieldType(name, variable->getType(), 0, loc, AS_public,
3354 // to find the name of any field in the union.
3374 StringRef Name = VD->getName();
3406 DContext, Name, StringRef(), Unit, getLineNumber(VD->getLocation()), Ty,
3436 // overloaded name & provide lookup for all the overloads.