/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | ValueSymbolTable.cpp | 58 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()
|
D | Value.cpp | 163 void Value::setName(const Twine &NewName) { in setName() argument 165 if (NewName.isTriviallyEmpty() && !hasName()) in setName() 169 StringRef NameRef = NewName.toStringRef(NameData); in setName()
|
/external/clang/lib/Tooling/Core/ |
D | Lookup.cpp | 50 StringRef NewName, in getBestNamespaceSubstr() argument 58 return HadLeadingColonColon ? NewName : NewName.substr(2); in getBestNamespaceSubstr() 65 if (NewName.startswith(NS)) in getBestNamespaceSubstr() 66 return NewName.substr(NS.size()); in getBestNamespaceSubstr()
|
/external/llvm/lib/IR/ |
D | Globals.cpp | 112 std::string NewName = Name; in getGlobalIdentifier() local 119 NewName = NewName.insert(0, "<unknown>:"); in getGlobalIdentifier() 121 NewName = NewName.insert(0, FileName.str() + ":"); in getGlobalIdentifier() 123 return NewName; in getGlobalIdentifier()
|
D | Value.cpp | 200 void Value::setNameImpl(const Twine &NewName) { in setNameImpl() argument 206 if (NewName.isTriviallyEmpty() && !hasName()) in setNameImpl() 210 StringRef NameRef = NewName.toStringRef(NameData); in setNameImpl() 257 void Value::setName(const Twine &NewName) { in setName() argument 258 setNameImpl(NewName); in setName()
|
/external/swiftshader/third_party/LLVM/lib/MC/ |
D | MCContext.cpp | 90 SmallString<128> NewName = Name; in CreateSymbol() local 92 NewName.resize(Name.size()); in CreateSymbol() 93 raw_svector_ostream(NewName) << NextUniqueID++; in CreateSymbol() 94 NameEntry = &UsedNames.GetOrCreateValue(NewName); in CreateSymbol()
|
/external/llvm/include/llvm/IR/ |
D | ModuleSummaryIndex.h | 449 SmallString<256> NewName(Name); in getGlobalNameForLocal() 450 NewName += ".llvm."; in getGlobalNameForLocal() 451 NewName += utohexstr(ModHash[0]); // Take the first 32 bits in getGlobalNameForLocal() 452 return NewName.str(); in getGlobalNameForLocal()
|
/external/llvm/examples/Kaleidoscope/MCJIT/initial/ |
D | toy.cpp | 620 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/examples/Kaleidoscope/MCJIT/lazy/ |
D | toy.cpp | 622 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/complete/ |
D | toy.cpp | 662 std::string NewName; in MakeLegalFunctionName() local 667 NewName = Name; in MakeLegalFunctionName() 670 if (NewName.find_first_of("0123456789") == 0) { in MakeLegalFunctionName() 671 NewName.insert(0, 1, 'n'); in MakeLegalFunctionName() 677 while ((pos = NewName.find_first_not_of(legal_elements)) != std::string::npos) { in MakeLegalFunctionName() 678 char old_c = NewName.at(pos); in MakeLegalFunctionName() 681 NewName = NewName.replace(pos, 1, new_str); in MakeLegalFunctionName() 684 return NewName; in MakeLegalFunctionName()
|
/external/llvm/examples/Kaleidoscope/MCJIT/cached/ |
D | toy.cpp | 643 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/clang/test/Modules/Inputs/oldname/ |
D | module.map | 1 module NewName {
|
/external/clang/test/Modules/ |
D | renamed.m | 1 @import NewName;
|
/external/llvm/lib/MC/ |
D | MCContext.cpp | 182 SmallString<128> NewName = Name; in createSymbol() local 187 NewName.resize(Name.size()); in createSymbol() 188 raw_svector_ostream(NewName) << NextUniqueID++; in createSymbol() 190 auto NameEntry = UsedNames.insert(std::make_pair(NewName, true)); in createSymbol()
|
/external/llvm/include/llvm/ExecutionEngine/Orc/ |
D | CompileOnDemandLayer.h | 431 std::string NewName = SrcM.getName(); in emitPartition() local 433 NewName += "."; in emitPartition() 434 NewName += F->getName(); in emitPartition() 437 auto M = llvm::make_unique<Module>(NewName, SrcM.getContext()); in emitPartition()
|
/external/clang/include/clang/Basic/ |
D | VirtualFileSystem.h | 55 static Status copyWithNewName(const Status &In, StringRef NewName); 57 StringRef NewName);
|
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
D | ArgumentPromotion.cpp | 855 std::string NewName = I->getName(); in DoPromotion() local 857 NewName += "." + utostr(Operands[i]); in DoPromotion() 859 NewName += ".val"; in DoPromotion() 860 TheArg->setName(NewName); in DoPromotion()
|
/external/llvm/lib/Transforms/IPO/ |
D | ArgumentPromotion.cpp | 1000 std::string NewName = I->getName(); in DoPromotion() local 1002 NewName += "." + utostr(Operands[i]); in DoPromotion() 1004 NewName += ".val"; in DoPromotion() 1005 TheArg->setName(NewName); in DoPromotion()
|
/external/llvm/lib/TableGen/ |
D | Record.cpp | 1652 void Record::setName(Init *NewName) { in setName() argument 1653 Name = NewName; in setName() 1687 Init *NewName = Name->resolveReferences(*this, RV); in resolveReferencesTo() local 1688 if (NewName != OldName) { in resolveReferencesTo() 1690 setName(NewName); in resolveReferencesTo() 1929 BinOpInit *NewName = in QualifyName() local 1939 NewName = in QualifyName() 1945 NewName->Fold(&CurRec, CurMultiClass), in QualifyName() 1949 return NewName->Fold(&CurRec, CurMultiClass); in QualifyName()
|
/external/lzma/CPP/7zip/UI/Common/ |
D | Update.h | 70 UString NewName; member
|
/external/spirv-llvm/lib/SPIRV/ |
D | SPIRVUtil.cpp | 648 auto NewName = ArgMutate(CI, Args); in mutateCallInst() local 654 auto NewCI = addCallInst(M, NewName, CI->getType(), Args, Attrs, CI, Mangle, in mutateCallInst() 673 auto NewName = ArgMutate(CI, Args, RetTy); in mutateCallInst() local 679 auto NewCI = addCallInst(M, NewName, RetTy, Args, Attrs, in mutateCallInst() 1221 StringRef NewName) { in getSPIRVTypeByChangeBaseTypeName() argument 1224 return getOrCreateOpaquePtrType(M, getSPIRVTypeName(NewName, Postfixes)); in getSPIRVTypeByChangeBaseTypeName()
|
/external/clang/lib/Basic/ |
D | VirtualFileSystem.cpp | 56 Status Status::copyWithNewName(const Status &In, StringRef NewName) { in copyWithNewName() argument 57 return Status(NewName, In.getUniqueID(), In.getLastModificationTime(), in copyWithNewName() 62 Status Status::copyWithNewName(const file_status &In, StringRef NewName) { in copyWithNewName() argument 63 return Status(NewName, In.getUniqueID(), In.getLastModificationTime(), in copyWithNewName() 145 RealFile(int FD, StringRef NewName, StringRef NewRealPathName) in RealFile() argument 146 : FD(FD), S(NewName, {}, {}, {}, {}, {}, in RealFile()
|
/external/llvm/lib/Support/ |
D | CommandLine.cpp | 252 void updateArgStr(Option *O, StringRef NewName, SubCommand *SC) { in updateArgStr() argument 254 if (!Sub.OptionsMap.insert(std::make_pair(NewName, O)).second) { in updateArgStr() 262 void updateArgStr(Option *O, StringRef NewName) { in updateArgStr() argument 264 updateArgStr(O, NewName, &*TopLevelSubCommand); in updateArgStr() 267 updateArgStr(O, NewName, SC); in updateArgStr()
|
/external/llvm/lib/Transforms/Utils/ |
D | BasicBlockUtils.cpp | 428 std::string NewName = std::string(Suffix) + ".split-lp"; in SplitBlockPredecessors() local 430 SplitLandingPadPredecessors(BB, Preds, Suffix, NewName.c_str(), NewBBs, DT, in SplitBlockPredecessors()
|
/external/clang/utils/TableGen/ |
D | NeonEmitter.cpp | 1226 std::string NewName = "rev" + utostr(I); in emitArgumentReversal() local 1229 Variable NewV(V.getType(), NewName + VariablePostfix); in emitArgumentReversal() 1271 std::string NewName = "s" + utostr(I); in emitShadowedArgs() local 1272 Variable V2(V.getType(), NewName + VariablePostfix); in emitShadowedArgs()
|