Home
last modified time | relevance | path

Searched refs:NewName (Results 1 – 17 of 17) sorted by relevance

/external/llvm/lib/IR/
DValueSymbolTable.cpp58 ValueName &NewName = vmap.GetOrCreateValue(UniqueName); in reinsertValue() local
59 if (NewName.getValue() == 0) { in reinsertValue()
61 NewName.setValue(V); in reinsertValue()
62 V->Name = &NewName; in reinsertValue()
97 ValueName &NewName = vmap.GetOrCreateValue(UniqueName); in createValueName() local
98 if (NewName.getValue() == 0) { in createValueName()
100 NewName.setValue(V); in createValueName()
102 return &NewName; in createValueName()
DValue.cpp175 void Value::setName(const Twine &NewName) { in setName() argument
180 if (NewName.isTriviallyEmpty() && !hasName()) in setName()
184 StringRef NameRef = NewName.toStringRef(NameData); in setName()
/external/jhead/
Djhead.c486 char NewName[_MAX_PATH+1];
514 strcpy(NewName, NewBaseName);
518 strncat(NewName, finddata.name+a, _MAX_PATH-strlen(NewName)); // add extension to new name
520 if (rename(FilePattern, NewName) == 0){
522 printf("%s --> %s\n",FilePattern, NewName);
546 char NewName[PATH_MAX+2];
630 strftime(NewName, PATH_MAX, pattern, &tm);
633 sprintf(NewName, "%02d%02d-%02d%02d%02d",
638 CatPath(NewBaseName, NewName);
642 char NewName[PATH_MAX+10];
[all …]
/external/llvm/lib/MC/
DMCContext.cpp138 SmallString<128> NewName = Name; in CreateSymbol() local
140 NewName.resize(Name.size()); in CreateSymbol()
141 raw_svector_ostream(NewName) << NextUniqueID++; in CreateSymbol()
142 NameEntry = &UsedNames.GetOrCreateValue(NewName); in CreateSymbol()
/external/clang/test/Modules/Inputs/oldname/
Dmodule.map1 module NewName {
/external/llvm/include/llvm/MC/
DMCAtom.h66 void setName(StringRef NewName) { Name = NewName.str(); } in setName() argument
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/
Dtoy.cpp621 std::string NewName; in MakeLegalFunctionName() local
626 NewName = Name; in MakeLegalFunctionName()
629 if (NewName.find_first_of("0123456789") == 0) { in MakeLegalFunctionName()
630 NewName.insert(0, 1, 'n'); in MakeLegalFunctionName()
636 while ((pos = NewName.find_first_not_of(legal_elements)) != std::string::npos) { in MakeLegalFunctionName()
637 char old_c = NewName.at(pos); in MakeLegalFunctionName()
640 NewName = NewName.replace(pos, 1, new_str); in MakeLegalFunctionName()
643 return NewName; in MakeLegalFunctionName()
/external/llvm/examples/Kaleidoscope/MCJIT/initial/
Dtoy.cpp619 std::string NewName; in MakeLegalFunctionName() local
624 NewName = Name; in MakeLegalFunctionName()
627 if (NewName.find_first_of("0123456789") == 0) { in MakeLegalFunctionName()
628 NewName.insert(0, 1, 'n'); in MakeLegalFunctionName()
634 while ((pos = NewName.find_first_not_of(legal_elements)) != std::string::npos) { in MakeLegalFunctionName()
635 char old_c = NewName.at(pos); in MakeLegalFunctionName()
638 NewName = NewName.replace(pos, 1, new_str); in MakeLegalFunctionName()
641 return NewName; in MakeLegalFunctionName()
/external/clang/test/Modules/
Drenamed.m1 @import NewName;
/external/llvm/examples/Kaleidoscope/MCJIT/cached/
Dtoy.cpp642 std::string NewName; in MakeLegalFunctionName() local
647 NewName = Name; in MakeLegalFunctionName()
650 if (NewName.find_first_of("0123456789") == 0) { in MakeLegalFunctionName()
651 NewName.insert(0, 1, 'n'); in MakeLegalFunctionName()
657 while ((pos = NewName.find_first_not_of(legal_elements)) != std::string::npos) { in MakeLegalFunctionName()
658 char old_c = NewName.at(pos); in MakeLegalFunctionName()
661 NewName = NewName.replace(pos, 1, new_str); in MakeLegalFunctionName()
664 return NewName; in MakeLegalFunctionName()
/external/llvm/examples/Kaleidoscope/MCJIT/complete/
Dtoy.cpp666 std::string NewName; in MakeLegalFunctionName() local
671 NewName = Name; in MakeLegalFunctionName()
674 if (NewName.find_first_of("0123456789") == 0) { in MakeLegalFunctionName()
675 NewName.insert(0, 1, 'n'); in MakeLegalFunctionName()
681 while ((pos = NewName.find_first_not_of(legal_elements)) != std::string::npos) { in MakeLegalFunctionName()
682 char old_c = NewName.at(pos); in MakeLegalFunctionName()
685 NewName = NewName.replace(pos, 1, new_str); in MakeLegalFunctionName()
688 return NewName; in MakeLegalFunctionName()
/external/llvm/lib/Transforms/IPO/
DArgumentPromotion.cpp849 std::string NewName = I->getName(); in DoPromotion() local
851 NewName += "." + utostr(Operands[i]); in DoPromotion()
853 NewName += ".val"; in DoPromotion()
854 TheArg->setName(NewName); in DoPromotion()
/external/llvm/lib/TableGen/
DRecord.cpp1683 void Record::setName(Init *NewName) { in setName() argument
1691 Name = NewName; in setName()
1729 Init *NewName = Name->resolveReferences(*this, RV); in resolveReferencesTo() local
1730 if (NewName != OldName) { in resolveReferencesTo()
1732 setName(NewName); in resolveReferencesTo()
2028 BinOpInit *NewName = in QualifyName() local
2038 NewName = in QualifyName()
2044 NewName->Fold(&CurRec, CurMultiClass), in QualifyName()
2048 return NewName->Fold(&CurRec, CurMultiClass); in QualifyName()
/external/clang/lib/Lex/
DPPDirectives.cpp1409 StringRef NewName = HeaderInfo.MapHeaderToIncludeAlias(OriginalFilename); in HandleIncludeDirective() local
1410 if (!NewName.empty()) in HandleIncludeDirective()
1411 Filename = NewName; in HandleIncludeDirective()
/external/clang/lib/Sema/
DSemaExprCXX.cpp1573 DeclarationName NewName = Context.DeclarationNames.getCXXOperatorName( in FindAllocationFunctions() local
1583 if (FindAllocationOverload(StartLoc, Range, NewName, AllocArgs, Record, in FindAllocationFunctions()
1593 if (FindAllocationOverload(StartLoc, Range, NewName, AllocArgs, TUDecl, in FindAllocationFunctions()
1603 NewName = Context.DeclarationNames.getCXXOperatorName(OO_New); in FindAllocationFunctions()
1605 if (FindAllocationOverload(StartLoc, Range, NewName, AllocArgs, TUDecl, in FindAllocationFunctions()
DTreeTransform.h2995 DeclarationName NewName in TransformDeclarationNameInfo() local
2999 NewNameInfo.setName(NewName); in TransformDeclarationNameInfo()
/external/clang/lib/Frontend/
DASTUnit.cpp1337 StringRef NewName) { in CreatePaddedMainFileBuffer() argument
1339 = llvm::MemoryBuffer::getNewUninitMemBuffer(NewSize, NewName); in CreatePaddedMainFileBuffer()