Home
last modified time | relevance | path

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

/external/llvm/lib/IR/
DValueSymbolTable.cpp59 ValueName &NewName = vmap.GetOrCreateValue(UniqueName); in reinsertValue() local
60 if (!NewName.getValue()) { in reinsertValue()
62 NewName.setValue(V); in reinsertValue()
63 V->Name = &NewName; in reinsertValue()
98 ValueName &NewName = vmap.GetOrCreateValue(UniqueName); in createValueName() local
99 if (!NewName.getValue()) { in createValueName()
101 NewName.setValue(V); in createValueName()
103 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.cpp122 SmallString<128> NewName = Name; in CreateSymbol() local
124 NewName.resize(Name.size()); in CreateSymbol()
125 raw_svector_ostream(NewName) << NextUniqueID++; in CreateSymbol()
126 NameEntry = &UsedNames.GetOrCreateValue(NewName); in CreateSymbol()
/external/clang/test/Modules/Inputs/oldname/
Dmodule.map1 module NewName {
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/
Dtoy.cpp622 std::string NewName; in MakeLegalFunctionName() local
627 NewName = Name; in MakeLegalFunctionName()
630 if (NewName.find_first_of("0123456789") == 0) { in MakeLegalFunctionName()
631 NewName.insert(0, 1, 'n'); in MakeLegalFunctionName()
637 while ((pos = NewName.find_first_not_of(legal_elements)) != std::string::npos) { in MakeLegalFunctionName()
638 char old_c = NewName.at(pos); in MakeLegalFunctionName()
641 NewName = NewName.replace(pos, 1, new_str); in MakeLegalFunctionName()
644 return NewName; in MakeLegalFunctionName()
/external/llvm/examples/Kaleidoscope/MCJIT/initial/
Dtoy.cpp620 std::string NewName; in MakeLegalFunctionName() local
625 NewName = Name; in MakeLegalFunctionName()
628 if (NewName.find_first_of("0123456789") == 0) { in MakeLegalFunctionName()
629 NewName.insert(0, 1, 'n'); in MakeLegalFunctionName()
635 while ((pos = NewName.find_first_not_of(legal_elements)) != std::string::npos) { in MakeLegalFunctionName()
636 char old_c = NewName.at(pos); in MakeLegalFunctionName()
639 NewName = NewName.replace(pos, 1, new_str); in MakeLegalFunctionName()
642 return NewName; in MakeLegalFunctionName()
/external/llvm/lib/CodeGen/
DJumpInstrTables.cpp181 std::string NewName(jump_func_prefix); in insertEntry() local
182 NewName += (Twine(it->second.TableNum) + "_" + Twine(it->second.Count)).str(); in insertEntry()
184 Function::Create(OrigFunTy, GlobalValue::ExternalLinkage, NewName, &M); in insertEntry()
/external/llvm/include/llvm/MC/MCAnalysis/
DMCAtom.h68 void setName(StringRef NewName) { Name = NewName.str(); } in setName() argument
/external/clang/test/Modules/
Drenamed.m1 @import NewName;
/external/llvm/examples/Kaleidoscope/MCJIT/cached/
Dtoy.cpp643 std::string NewName; in MakeLegalFunctionName() local
648 NewName = Name; in MakeLegalFunctionName()
651 if (NewName.find_first_of("0123456789") == 0) { in MakeLegalFunctionName()
652 NewName.insert(0, 1, 'n'); in MakeLegalFunctionName()
658 while ((pos = NewName.find_first_not_of(legal_elements)) != std::string::npos) { in MakeLegalFunctionName()
659 char old_c = NewName.at(pos); in MakeLegalFunctionName()
662 NewName = NewName.replace(pos, 1, new_str); in MakeLegalFunctionName()
665 return NewName; in MakeLegalFunctionName()
/external/llvm/examples/Kaleidoscope/MCJIT/complete/
Dtoy.cpp667 std::string NewName; in MakeLegalFunctionName() local
672 NewName = Name; in MakeLegalFunctionName()
675 if (NewName.find_first_of("0123456789") == 0) { in MakeLegalFunctionName()
676 NewName.insert(0, 1, 'n'); in MakeLegalFunctionName()
682 while ((pos = NewName.find_first_not_of(legal_elements)) != std::string::npos) { in MakeLegalFunctionName()
683 char old_c = NewName.at(pos); in MakeLegalFunctionName()
686 NewName = NewName.replace(pos, 1, new_str); in MakeLegalFunctionName()
689 return NewName; in MakeLegalFunctionName()
/external/llvm/lib/Transforms/IPO/
DArgumentPromotion.cpp875 std::string NewName = I->getName(); in DoPromotion() local
877 NewName += "." + utostr(Operands[i]); in DoPromotion()
879 NewName += ".val"; in DoPromotion()
880 TheArg->setName(NewName); in DoPromotion()
/external/llvm/lib/TableGen/
DRecord.cpp1692 void Record::setName(Init *NewName) { in setName() argument
1700 Name = NewName; in setName()
1738 Init *NewName = Name->resolveReferences(*this, RV); in resolveReferencesTo() local
1739 if (NewName != OldName) { in resolveReferencesTo()
1741 setName(NewName); in resolveReferencesTo()
2037 BinOpInit *NewName = in QualifyName() local
2047 NewName = in QualifyName()
2053 NewName->Fold(&CurRec, CurMultiClass), in QualifyName()
2057 return NewName->Fold(&CurRec, CurMultiClass); in QualifyName()
/external/clang/utils/TableGen/
DNeonEmitter.cpp1206 std::string NewName = "rev" + utostr(I); in emitArgumentReversal() local
1209 Variable NewV(V.getType(), NewName + VariablePostfix); in emitArgumentReversal()
1251 std::string NewName = "s" + utostr(I); in emitShadowedArgs() local
1252 Variable V2(V.getType(), NewName + VariablePostfix); in emitShadowedArgs()
/external/clang/lib/Lex/
DPPDirectives.cpp1456 StringRef NewName = HeaderInfo.MapHeaderToIncludeAlias(OriginalFilename); in HandleIncludeDirective() local
1457 if (!NewName.empty()) in HandleIncludeDirective()
1458 Filename = NewName; in HandleIncludeDirective()
/external/clang/lib/Sema/
DSemaExprCXX.cpp1648 DeclarationName NewName = Context.DeclarationNames.getCXXOperatorName( in FindAllocationFunctions() local
1658 if (FindAllocationOverload(StartLoc, Range, NewName, AllocArgs, Record, in FindAllocationFunctions()
1668 if (FindAllocationOverload(StartLoc, Range, NewName, AllocArgs, TUDecl, in FindAllocationFunctions()
1678 NewName = Context.DeclarationNames.getCXXOperatorName(OO_New); in FindAllocationFunctions()
1680 if (FindAllocationOverload(StartLoc, Range, NewName, AllocArgs, TUDecl, in FindAllocationFunctions()
DTreeTransform.h3156 DeclarationName NewName in TransformDeclarationNameInfo() local
3160 NewNameInfo.setName(NewName); in TransformDeclarationNameInfo()