Searched defs:Contents (Results 1 - 25 of 32) sorted by relevance

12

/external/clang/test/CodeGenCXX/
H A D2010-03-09-AnonAggregate.cpp8 union { struct { union { int BA; } Val; int Offset; } OffsetedInfo; } Contents; member in class:MO
/external/llvm/unittests/Support/
H A DSpecialCaseListTest.cpp35 std::string makeSpecialCaseListFile(StringRef Contents) { argument
40 OF << Contents; local
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
H A DInMemoryStruct.h37 value_type Contents; member in class:llvm::InMemoryStruct
43 InMemoryStruct(reference Value) : Target(&Contents), Contents(Value) {}
48 if (Value.Target != &Value.Contents) {
51 Target = &Contents;
52 Contents = Value.Contents;
/external/dtc/Documentation/
H A Ddtc-paper.tex159 \multicolumn{1}{r}{\textbf{Offset}}& \multicolumn{1}{c}{\textbf{Contents}} \\\cline{2-2}
244 \subsection{Contents of the tree}
/external/clang/unittests/Basic/
H A DVirtualFileSystemTest.cpp353 std::vector<std::string> Contents; local
356 Contents.push_back(I->getName());
360 EXPECT_EQ(4U, Contents.size());
362 for (const std::string &Name : Contents) {
/external/clang/unittests/libclang/
H A DLibclangTest.cpp42 const char *Contents; member in struct:__anon3360::TestVFO
45 TestVFO(const char *Contents) : Contents(Contents) { argument
60 if (Contents) {
65 EXPECT_STREQ(Contents, BufStr.c_str());
330 const char *Contents = local
347 EXPECT_STREQ(Contents, BufStr.c_str());
375 void WriteFile(std::string &Filename, const std::string &Contents) { argument
384 OS << Contents; local
[all...]
/external/llvm/lib/MC/
H A DMCFragment.cpp359 OS << " Contents:[";
360 const SmallVectorImpl<char> &Contents = DF->getContents(); local
361 for (unsigned i = 0, e = Contents.size(); i != e; ++i) {
363 OS << hexdigit((Contents[i] >> 4) & 0xF) << hexdigit(Contents[i] & 0xF);
365 OS << "] (" << Contents.size() << " bytes)";
383 OS << " Contents:[";
384 const SmallVectorImpl<char> &Contents = CEIF->getContents(); local
385 for (unsigned i = 0, e = Contents.size(); i != e; ++i) {
387 OS << hexdigit((Contents[
[all...]
H A DMCAssembler.cpp693 MutableArrayRef<char> Contents; local
696 Contents = FragWithFixups->getContents();
699 Contents = FragWithFixups->getContents();
702 Contents = FragWithFixups->getContents();
709 getBackend().applyFixup(Fixup, Contents.data(),
710 Contents.size(), FixedValue, IsPCRel);
H A DMCCodeView.cpp78 SmallVectorImpl<char> &Contents = getStringTableFragment()->getContents(); local
80 StringTable.insert(std::make_pair(S, unsigned(Contents.size())));
85 Contents.append(S.begin(), S.end() + 1);
384 SmallVectorImpl<char> &Contents = Frag.getContents(); local
385 Contents.clear();
388 raw_svector_ostream OS(Contents);
418 Fixups.push_back(MCFixup::create(Contents.size(), BE, FK_SecRel_4));
419 Contents.resize(Contents.size() + 4); // Fixup for code start.
421 Fixups.push_back(MCFixup::create(Contents
[all...]
/external/llvm/tools/llvm-readobj/
H A DWin64EHDumper.cpp292 ArrayRef<uint8_t> Contents; local
293 error(Ctx.COFF.getSectionContents(XData, Contents));
294 if (Contents.empty())
298 if (Offset > Contents.size())
301 const auto UI = reinterpret_cast<const UnwindInfo*>(Contents.data() + Offset);
314 ArrayRef<uint8_t> Contents; local
315 error(Ctx.COFF.getSectionContents(PData, Contents));
316 if (Contents.empty())
320 reinterpret_cast<const RuntimeFunction *>(Contents.data());
321 const size_t Count = Contents
[all...]
H A DARMWinEHPrinter.cpp515 ArrayRef<uint8_t> Contents;
516 if (COFF.getSectionContents(COFF.getCOFFSection(Section), Contents))
522 reinterpret_cast<const ulittle32_t *>(Contents.data() + Offset);
743 ArrayRef<uint8_t> Contents) {
746 reinterpret_cast<const ulittle32_t *>(Contents.data() + Offset);
757 ArrayRef<uint8_t> Contents; local
758 if (COFF.getSectionContents(COFF.getCOFFSection(Section), Contents))
761 if (Contents.size() % PDataEntrySize) {
766 for (unsigned EI = 0, EE = Contents.size() / PDataEntrySize; EI < EE; ++EI)
767 if (!dumpProcedureDataEntry(COFF, Section, EI, Contents))
741 dumpProcedureDataEntry(const COFFObjectFile &COFF, const SectionRef Section, unsigned Index, ArrayRef<uint8_t> Contents) argument
[all...]
H A DARMEHABIPrinter.h415 ErrorOr<ArrayRef<uint8_t> > Contents = ELF->getSectionContents(EHT); local
416 if (!Contents)
443 *reinterpret_cast<const support::ulittle32_t *>(Contents->data() + TableEntryOffset);
453 PrintOpcodes(Contents->data() + TableEntryOffset, 3, 1);
458 PrintOpcodes(Contents->data() + TableEntryOffset, 2 + 4 * AdditionalWords,
482 ErrorOr<ArrayRef<uint8_t> > Contents = ELF->getSectionContents(IT); local
483 if (!Contents)
497 reinterpret_cast<const support::ulittle32_t *>(Contents->data());
530 PrintOpcodes(Contents->data() + Entry * IndexTableEntrySize + 4, 3, 1);
H A DCOFFDumper.cpp717 // |SubSectionType|SubSectionSize|Contents...|
764 // |SubSectionType|SubSectionSize|Contents...|
776 StringRef Contents = Data.substr(0, SubSectionSize);
791 Contents);
795 printCodeViewSymbolsSubsection(Contents, Section, SectionContents);
799 printCodeViewInlineeLines(Contents);
803 printCodeViewFileChecksums(Contents);
828 FunctionLineTables[LinkageName] = Contents;
835 error(consumeObject(Contents, CodePtr));
843 while (!Contents
1465 StringRef Contents; local
[all...]
/external/llvm/lib/CodeGen/MIRParser/
H A DMIRParser.cpp63 MIRParserImpl(std::unique_ptr<MemoryBuffer> Contents, StringRef Filename,
167 MIRParserImpl::MIRParserImpl(std::unique_ptr<MemoryBuffer> Contents, argument
170 SM.AddNewSourceBuffer(std::move(Contents), SMLoc());
784 llvm::createMIRParser(std::unique_ptr<MemoryBuffer> Contents,
786 auto Filename = Contents->getBufferIdentifier();
788 llvm::make_unique<MIRParserImpl>(std::move(Contents), Filename, Context));
/external/llvm/tools/llvm-objdump/
H A DCOFFDump.cpp198 ArrayRef<uint8_t> &Contents, uint64_t &Addr) {
205 if (std::error_code EC = Obj->getSectionContents(Section, Contents))
463 ArrayRef<uint8_t> Contents; local
464 error(Obj->getSectionContents(Pdata, Contents));
465 if (Contents.empty())
468 RFStart = reinterpret_cast<const RuntimeFunction *>(Contents.data());
469 NumRFs = Contents.size() / sizeof(RuntimeFunction);
196 getSectionContents(const COFFObjectFile *Obj, const std::vector<RelocationRef> &Rels, uint64_t Offset, ArrayRef<uint8_t> &Contents, uint64_t &Addr) argument
/external/llvm/include/llvm/CodeGen/
H A DMachineOperand.h140 /// SmallContents - This really should be part of the Contents union, but
146 unsigned OffsetLo; // Matches Contents.OffsetedInfo.OffsetHi.
153 /// Contents union - This contains the payload for the various operand types.
182 } Contents; member in class:llvm::MachineOperand
412 return Contents.ImmVal;
417 return Contents.CI;
422 return Contents.CFP;
427 return Contents.MBB;
433 return Contents.OffsetedInfo.Val.Index;
438 return Contents
[all...]
H A DScheduleDAG.h78 /// Contents - A union discriminated by the dependence kind.
87 } Contents; member in class:llvm::SDep
102 : Dep(S, kind), Contents() {
110 Contents.Reg = Reg;
114 Contents.Reg = Reg;
120 : Dep(S, Order), Contents(), Latency(0) {
121 Contents.OrdKind = kind;
166 return getKind() == Order && (Contents.OrdKind == MayAliasMem
167 || Contents.OrdKind == MustAliasMem);
173 return getKind() == Order && Contents
[all...]
/external/llvm/include/llvm/MC/
H A DMCFragment.h170 SmallVector<char, ContentsSize> Contents; member in class:llvm::MCEncodedFragmentWithContents
179 SmallVectorImpl<char> &getContents() { return Contents; }
180 const SmallVectorImpl<char> &getContents() const { return Contents; }
379 SmallString<8> Contents; member in class:llvm::MCLEBFragment
384 Contents.push_back(0);
394 SmallString<8> &getContents() { return Contents; }
395 const SmallString<8> &getContents() const { return Contents; }
414 SmallString<8> Contents; member in class:llvm::MCDwarfLineAddrFragment
421 Contents.push_back(0);
431 SmallString<8> &getContents() { return Contents; }
447 SmallString<8> Contents; member in class:llvm::MCDwarfCallFrameFragment
499 SmallString<8> Contents; member in class:llvm::MCCVInlineLineTableFragment
[all...]
/external/llvm/tools/llvm-dwp/
H A Dllvm-dwp.cpp365 StringRef &Contents) {
372 if (!consumeCompressedDebugSectionHeader(Contents, OriginalSize) ||
373 zlib::uncompress(Contents, UncompressedSections.back(), OriginalSize) !=
379 Contents = UncompressedSections.back();
406 StringRef Contents; local
407 if (auto Err = Section.getContents(Contents))
410 if (auto Err = handleCompressedSection(UncompressedSections, Name, Contents))
422 (CurEntry.Contributions[Index].Length = Contents.size());
427 InfoSection = Contents;
430 AbbrevSection = Contents;
363 handleCompressedSection( std::deque<SmallString<32>> &UncompressedSections, StringRef &Name, StringRef &Contents) argument
[all...]
/external/swiftshader/third_party/LLVM/lib/MC/
H A DMCAssembler.cpp870 OS << " Contents:[";
871 const SmallVectorImpl<char> &Contents = DF->getContents(); local
872 for (unsigned i = 0, e = Contents.size(); i != e; ++i) {
874 OS << hexdigit((Contents[i] >> 4) & 0xF) << hexdigit(Contents[i] & 0xF);
876 OS << "] (" << Contents.size() << " bytes)";
/external/llvm/include/llvm/ExecutionEngine/Orc/
H A DOrcRemoteTargetClient.h367 : Size(Size), Align(Align), Contents(new char[Size + Align - 1]) {}
371 Contents(std::move(Other.Contents)),
377 Contents = std::move(Other.Contents);
387 uintptr_t LocalAddr = reinterpret_cast<uintptr_t>(Contents.get());
401 std::unique_ptr<char[]> Contents; member in class:llvm::orc::remote::OrcRemoteTargetClient::RCMemoryManager::Alloc
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
H A DMachineOperand.h114 /// SmallContents - This really should be part of the Contents union, but
120 unsigned OffsetLo; // Matches Contents.OffsetedInfo.OffsetHi.
127 /// Contents union - This contains the payload for the various operand types.
154 } Contents; member in class:llvm::MachineOperand
284 return Contents.Reg.Next;
362 return Contents.ImmVal;
367 return Contents.CI;
372 return Contents.CFP;
377 return Contents.MBB;
383 return Contents
[all...]
H A DScheduleDAG.h59 /// Contents - A union discriminated by the dependence kind.
81 } Contents; member in class:llvm::SDep
98 : Dep(S, kind), Contents(), Latency(latency) {
108 Contents.Reg = Reg;
112 Contents.Order.isNormalMemory = isNormalMemory;
113 Contents.Order.isMustAlias = isMustAlias;
114 Contents.Order.isArtificial = isArtificial;
125 return Contents.Reg == Other.Contents.Reg;
127 return Contents
[all...]
/external/clang/lib/Basic/
H A DVirtualFileSystem.cpp722 std::vector<std::unique_ptr<Entry>> Contents; member in class:__anon1175::RedirectingDirectoryEntry
727 std::vector<std::unique_ptr<Entry>> Contents,
729 : Entry(EK_Directory, Name), Contents(std::move(Contents)),
735 Contents.push_back(std::move(Content));
737 Entry *getLastContent() const { return Contents.back().get(); }
738 typedef decltype(Contents)::iterator iterator;
739 iterator contents_begin() { return Contents.begin(); }
740 iterator contents_end() { return Contents.end(); }
1175 yaml::SequenceNode *Contents local
726 RedirectingDirectoryEntry(StringRef Name, std::vector<std::unique_ptr<Entry>> Contents, Status S) argument
[all...]
/external/llvm/lib/Target/Hexagon/
H A DHexagonHardwareLoops.cpp300 } Contents; member in class:__anon12993::CountValue
306 Contents.R.Reg = v;
307 Contents.R.Sub = u;
309 Contents.ImmVal = v;
317 return Contents.R.Reg;
321 return Contents.R.Sub;
325 return Contents.ImmVal;
329 if (isReg()) { OS << PrintReg(Contents.R.Reg, TRI, Contents.R.Sub); }
330 if (isImm()) { OS << Contents
[all...]

Completed in 505 milliseconds

12