Home
last modified time | relevance | path

Searched refs:Ctxt (Results 1 – 25 of 29) sorted by relevance

12

/external/clang/unittests/AST/
DASTVectorTest.cpp32 Ctxt(LangOpts, SourceMgr, Idents, Sels, Builtins) {} in ASTVectorTest()
43 ASTContext Ctxt; member in clang::ast::__anon5a53362a0111::ASTVectorTest
49 V.insert(Ctxt, V.begin(), 0); in TEST_F()
56 auto I = V.insert(Ctxt, V.begin(), 5, 1.0); in TEST_F()
60 I = V.insert(Ctxt, V.begin() + 1, 5, 1.0); in TEST_F()
64 I = V.insert(Ctxt, V.end(), 5, 1.0); in TEST_F()
74 auto I = V.insert(Ctxt, V.begin(), IntVec.begin(), IntVec.begin()); in TEST_F()
79 I = V.insert(Ctxt, V.begin(), IntVec.begin(), IntVec.end()); in TEST_F()
83 I = V.insert(Ctxt, V.end(), IntVec.begin(), IntVec.begin()); in TEST_F()
87 I = V.insert(Ctxt, V.end(), IntVec.begin(), IntVec.end()); in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/
DCompileUnit.cpp71 DeclContext *Ctxt, PatchLocation Attr) { in noteForwardReference() argument
72 ForwardDIEReferences.emplace_back(Die, RefUnit, Ctxt, Attr); in noteForwardReference()
80 DeclContext *Ctxt; in fixupForwardReferences() local
81 std::tie(RefDie, RefUnit, Ctxt, Attr) = Ref; in fixupForwardReferences()
82 if (Ctxt && Ctxt->getCanonicalDIEOffset()) in fixupForwardReferences()
83 Attr.set(Ctxt->getCanonicalDIEOffset()); in fixupForwardReferences()
DDebugMap.cpp134 YAMLContext Ctxt; in parseYAMLDebugMap() local
136 Ctxt.PrependPath = PrependPath; in parseYAMLDebugMap()
139 yaml::Input yin((*ErrOrFile)->getBuffer(), &Ctxt); in parseYAMLDebugMap()
210 if (void *Ctxt = io.getContext()) in mapping() local
211 reinterpret_cast<YAMLContext *>(Ctxt)->BinaryTriple = DM.BinaryTriple; in mapping()
221 if (void *Ctxt = io.getContext()) in mapping() local
222 reinterpret_cast<YAMLContext *>(Ctxt)->BinaryTriple = DM->BinaryTriple; in mapping()
238 const auto &Ctxt = *reinterpret_cast<YAMLContext *>(IO.getContext()); in denormalize() local
239 SmallString<80> Path(Ctxt.PrependPath); in denormalize()
250 auto Object = ObjectEntry->getObject(Ctxt.BinaryTriple); in denormalize()
DDwarfLinker.cpp254 Info.Ctxt = in analyzeContextInfo()
256 if (Info.Ctxt) in analyzeContextInfo()
257 Info.Ctxt->setDefinedInClangModule(InClangModule); in analyzeContextInfo()
259 Info.Ctxt = CurrentDeclContext = nullptr; in analyzeContextInfo()
275 Info.Prune &= Info.Ctxt && Info.Ctxt->getCanonicalDIEOffset(); in analyzeContextInfo()
721 bool IsModuleRef = Info.Ctxt && Info.Ctxt->getCanonicalDIEOffset() && in keepDIEAndDependencies()
722 Info.Ctxt->isDefinedInClangModule(); in keepDIEAndDependencies()
732 Info.Ctxt && in keepDIEAndDependencies()
733 Info.Ctxt != ReferencedCU->getInfo(Info.ParentIdx).Ctxt && in keepDIEAndDependencies()
734 Info.Ctxt->getCanonicalDIEOffset() && isODRAttribute(AttrSpec.Attr)) in keepDIEAndDependencies()
[all …]
DDeclContext.h154 static unsigned getHashValue(const DeclContext *Ctxt) { in getHashValue()
155 return Ctxt->QualifiedNameHash; in getHashValue()
DCompileUnit.h59 DeclContext *Ctxt; member
164 DeclContext *Ctxt, PatchLocation Attr);
DDeclContext.cpp36 U.getInfo(FirstIdx).Ctxt = nullptr; in setLastSeenDIE()
/external/llvm/tools/dsymutil/
DDebugMap.cpp110 YAMLContext Ctxt; in parseYAMLDebugMap() local
112 Ctxt.PrependPath = PrependPath; in parseYAMLDebugMap()
115 yaml::Input yin((*ErrOrFile)->getBuffer(), &Ctxt); in parseYAMLDebugMap()
186 if (void *Ctxt = io.getContext()) in mapping() local
187 reinterpret_cast<YAMLContext *>(Ctxt)->BinaryTriple = DM.BinaryTriple; in mapping()
197 if (void *Ctxt = io.getContext()) in mapping() local
198 reinterpret_cast<YAMLContext *>(Ctxt)->BinaryTriple = DM->BinaryTriple; in mapping()
214 const auto &Ctxt = *reinterpret_cast<YAMLContext *>(IO.getContext()); in denormalize() local
215 SmallString<80> Path(Ctxt.PrependPath); in denormalize()
223 } else if (auto ErrOrObjectFile = BinHolder.Get(Ctxt.BinaryTriple)) { in denormalize()
DDwarfLinker.cpp142 static unsigned getHashValue(const DeclContext *Ctxt) { in getHashValue()
143 return Ctxt->QualifiedNameHash; in getHashValue()
190 DeclContext *Ctxt; ///< ODR Declaration context. member
276 DeclContext *Ctxt, PatchLocation Attr);
412 DeclContext *Ctxt, PatchLocation Attr) { in noteForwardReference() argument
413 ForwardDIEReferences.emplace_back(Die, RefUnit, Ctxt, Attr); in noteForwardReference()
422 DeclContext *Ctxt; in fixupForwardReferences() local
423 std::tie(RefDie, RefUnit, Ctxt, Attr) = Ref; in fixupForwardReferences()
424 if (Ctxt && Ctxt->getCanonicalDIEOffset()) in fixupForwardReferences()
425 Attr.set(Ctxt->getCanonicalDIEOffset()); in fixupForwardReferences()
[all …]
/external/llvm/unittests/MC/
DDwarfLineTables.cpp49 Context Ctxt; variable
56 MCDwarfLineAddr::Encode(Ctxt, Params, LineDelta, AddrDelta, EncodingOS); in verifyEncoding()
63 if (!Ctxt) in TEST()
113 if (!Ctxt) in TEST()
167 if (!Ctxt) in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DYAMLTraits.cpp40 IO::IO(void *Context) : Ctxt(Context) {} in IO()
45 return Ctxt; in getContext()
49 Ctxt = Context; in setContext()
56 Input::Input(StringRef InputContent, void *Ctxt, in Input() argument
58 : IO(Ctxt), Strm(new Stream(InputContent, SrcMgr, false, &EC)) { in Input()
64 Input::Input(MemoryBufferRef Input, void *Ctxt, in Input() argument
66 : IO(Ctxt), Strm(new Stream(Input, SrcMgr, false, &EC)) { in Input()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/MC/
DDwarfLineTables.cpp50 static Context Ctxt; in getContext() local
51 return Ctxt; in getContext()
/external/swiftshader/third_party/LLVM/tools/bugpoint/
DBugDriver.cpp86 LLVMContext& Ctxt) { in ParseInputFile() argument
88 Module *Result = ParseIRFile(Filename, Err, Ctxt); in ParseInputFile()
/external/llvm/tools/bugpoint/
DBugDriver.cpp87 LLVMContext &Ctxt) { in parseInputFile() argument
89 std::unique_ptr<Module> Result = parseIRFile(Filename, Err, Ctxt); in parseInputFile()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/bugpoint/
DBugDriver.cpp94 LLVMContext &Ctxt) { in parseInputFile() argument
96 std::unique_ptr<Module> Result = parseIRFile(Filename, Err, Ctxt); in parseInputFile()
/external/llvm/lib/Support/
DYAMLTraits.cpp29 IO::IO(void *Context) : Ctxt(Context) { in IO()
36 return Ctxt; in getContext()
40 Ctxt = Context; in setContext()
48 void *Ctxt, in Input() argument
51 : IO(Ctxt), in Input()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/DWARF/
DDWARFContext.cpp1073 DWARFContext *Ctxt = S->Context.get(); in getDWOContext() local
1074 return std::shared_ptr<DWARFContext>(std::move(S), Ctxt); in getDWOContext()
1080 DWARFContext *Ctxt = S->Context.get(); in getDWOContext() local
1081 return std::shared_ptr<DWARFContext>(std::move(S), Ctxt); in getDWOContext()
1115 auto *Ctxt = S->Context.get(); in getDWOContext() local
1116 return std::shared_ptr<DWARFContext>(std::move(S), Ctxt); in getDWOContext()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/LTO/
DLTOCodeGenerator.cpp655 void *Ctxt) { in setDiagnosticHandler() argument
657 this->DiagContext = Ctxt; in setDiagnosticHandler()
/external/llvm/lib/LTO/
DLTOCodeGenerator.cpp647 void *Ctxt) { in setDiagnosticHandler() argument
649 this->DiagContext = Ctxt; in setDiagnosticHandler()
/external/llvm/include/llvm/Support/
DYAMLTraits.h458 IO(void *Ctxt=nullptr);
632 void *Ctxt;
974 void *Ctxt = nullptr,
1111 Output(llvm::raw_ostream &, void *Ctxt = nullptr, int WrapColumn = 70);
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DYAMLTraits.h513 IO(void *Ctxt=nullptr);
706 void *Ctxt;
1062 void *Ctxt = nullptr,
1209 Output(llvm::raw_ostream &, void *Ctxt = nullptr, int WrapColumn = 70);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DMIRPrinter.cpp172 static void output(const Module &Mod, void *Ctxt, raw_ostream &OS) { in output()
176 static StringRef input(StringRef Str, void *Ctxt, Module &Mod) { in input()
/external/llvm/lib/CodeGen/
DMIRPrinter.cpp137 static void output(const Module &Mod, void *Ctxt, raw_ostream &OS) { in output()
140 static StringRef input(StringRef Str, void *Ctxt, Module &Mod) { in input()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DYAMLTraits.h1314 Output(raw_ostream &, void *Ctxt = nullptr, int WrapColumn = 70);
/external/llvm/docs/
DYamlIO.rst509 static void output(const MyStringType &Value, void *Ctxt,
514 static StringRef input(StringRef Scalar, void *Ctxt,

12