HomeSort by: relevance | last modified time | path
    Searched defs:Ref (Results 1 - 25 of 38) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/llvm/include/llvm/IR/
TrackingMDRef.h 102 /// Typed tracking ref.
107 TrackingMDRef Ref;
111 explicit TypedTrackingMDRef(T *MD) : Ref(static_cast<Metadata *>(MD)) {}
113 TypedTrackingMDRef(TypedTrackingMDRef &&X) : Ref(std::move(X.Ref)) {}
114 TypedTrackingMDRef(const TypedTrackingMDRef &X) : Ref(X.Ref) {}
117 Ref = std::move(X.Ref);
122 Ref = X.Ref
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Support/
Regex.cpp 189 StringRef Ref = Repl.slice(0, Repl.find_first_not_of("0123456789"));
190 Repl = Repl.substr(Ref.size());
193 if (!Ref.getAsInteger(10, RefValue) &&
197 *Error = ("invalid backreference string '" + Twine(Ref) + "'").str();
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGCXX.cpp 141 auto *Ref = cast<llvm::GlobalValue>(GetAddrOfGlobal(TargetDecl));
142 llvm::Constant *Aliasee = Ref;
143 if (Ref->getType() != AliasType)
144 Aliasee = llvm::ConstantExpr::getBitCast(Ref, AliasType);
173 if (Ref->isDeclarationForLinker())
CGOpenMPRuntime.h 136 const Expr *Ref = nullptr;
141 ReductionData(const Expr *Shared, const Expr *Ref, const Expr *Private,
143 : Shared(Shared), Ref(Ref), Private(Private), ReductionOp(ReductionOp) {
219 const Expr *getRefExpr(unsigned N) const { return ClausesData[N].Ref; }
  /src/external/apache2/llvm/dist/llvm/lib/Target/
TargetLoweringObjectFile.cpp 401 const MCSymbolRefExpr *Ref =
404 return getTTypeReference(Ref, Encoding, Streamer);
  /src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/COFF/
Writer.cpp 355 ArrayRef<uint8_t> Ref = AuxSym.getRef();
356 std::copy(Ref.begin(), Ref.end(), Ptr);
  /src/external/apache2/llvm/dist/clang/lib/Sema/
CodeCompleteConsumer.cpp 348 StringRef Ref = String.toStringRef(Data);
352 char *Mem = (char *)Allocate(Ref.size() + 1, 1);
353 std::copy(Ref.begin(), Ref.end(), Mem);
354 Mem[Ref.size()] = 0;
  /src/external/apache2/llvm/dist/clang/tools/clang-import-test/
clang-import-test.cpp 153 StringRef Ref = Lexer::getSourceText(Range, SM, *LangOpts, &Invalid);
155 llvm::errs() << Ref << '\n';
  /src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
BitTracker.h 152 // possible bit values. One extension here is the "Ref" type, which
160 Ref // Bit value same as the one described in RefI.
162 // bottom will be expressed as a "ref to itself", which, in the context
167 // Self <= x, where "Self" is "ref to itself".
170 // for one register will be a simple "ref" for another register.
178 // Such cases are identical to the usual Ref type, but the register
181 // What is worthy of notice is that in value V (that is a "ref"), as long
184 // tion of V, then V is assumed to be "bottom" (as a "ref to itself"),
188 // not possible. Any value V that is a "ref", and whose RefI.Reg is 0
196 BitValue(unsigned Reg, uint16_t Pos) : Type(Ref), RefI(Reg, Pos) {
271 BitTracker::BitValue::ref(const BitValue &V) { function in class:llvm::BitTracker::BitValue
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/MCTargetDesc/
PPCMCTargetDesc.cpp 258 auto *Ref = dyn_cast<const MCSymbolRefExpr>(S);
259 if (!Ref)
261 const auto &RhsSym = cast<MCSymbolELF>(Ref->getSymbol());
  /src/external/apache2/llvm/dist/llvm/tools/llvm-libtool-darwin/
llvm-libtool-darwin.cpp 155 const MemoryBuffer &Ref = *FileOrErr.get();
157 line_iterator I(Ref, /*SkipBlanks=*/false);
  /src/external/apache2/llvm/dist/clang/lib/Analysis/
ExprMutationAnalyzer.cpp 313 // Used as non-const-ref argument when calling a function.
314 // An argument is assumed to be non-const-ref when the function is unresolved.
351 // Returned as non-const-ref.
352 // If we're returning 'Exp' directly then it's returned as non-const-ref.
354 // For returning by const-ref there will be an ImplicitCastExpr <NoOp> (for
504 const auto Ref =
513 if (const Stmt *S = findExprMutation(Ref))
  /src/external/apache2/llvm/dist/llvm/lib/IR/
Metadata.cpp 154 bool MetadataTracking::track(void *Ref, Metadata &MD, OwnerTy Owner) {
155 assert(Ref && "Expected live reference");
156 assert((Owner || *static_cast<Metadata **>(Ref) == &MD) &&
159 R->addRef(Ref, Owner);
165 PH->Use = static_cast<Metadata **>(Ref);
171 void MetadataTracking::untrack(void *Ref, Metadata &MD) {
172 assert(Ref && "Expected live reference");
174 R->dropRef(Ref);
179 bool MetadataTracking::retrack(void *Ref, Metadata &MD, void *New) {
180 assert(Ref && "Expected live reference")
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/
SystemZElimCompare.cpp 143 Reference Ref;
145 return Ref;
153 Ref.Use = true;
155 Ref.Def = true;
160 return Ref;
  /src/external/apache2/llvm/dist/llvm/tools/llvm-diff/
DifferenceEngine.cpp 155 BasicBlock *&Ref = Blocks[L];
157 if (Ref) {
158 if (Ref == R) return false;
162 << L << R << Ref;
166 Ref = R;
  /src/external/apache2/llvm/dist/clang/lib/Basic/
Diagnostic.cpp 657 unsigned Ref = PluralNumber(Start, End);
658 return Ref == Val;
  /src/external/apache2/llvm/dist/llvm/lib/MC/
MachObjectWriter.cpp 330 const auto *Ref = dyn_cast<MCSymbolRefExpr>(Value);
331 if (!Ref)
333 S = &Ref->getSymbol();
MCAssembler.cpp 147 const MCSymbolRefExpr *Ref = V.getSymA();
148 if (!Ref)
151 if (Ref->getKind() != MCSymbolRefExpr::VK_None)
154 const MCSymbol &Sym = Ref->getSymbol();
610 StringRef Ref(Data, ChunkSize);
612 OS << Ref;
WasmObjectWriter.cpp 1584 wasm::WasmDataReference Ref = wasm::WasmDataReference{
1588 DataLocations[&WS] = Ref;
1589 LLVM_DEBUG(dbgs() << " -> segment index: " << Ref.Segment << "\n");
1699 wasm::WasmDataReference Ref = wasm::WasmDataReference{
1703 DataLocations[&WS] = Ref;
1704 LLVM_DEBUG(dbgs() << " -> index:" << Ref.Segment << "\n");
  /src/external/apache2/llvm/dist/llvm/lib/Target/X86/MCTargetDesc/
X86MCCodeEmitter.cpp 236 const MCSymbolRefExpr *Ref = static_cast<const MCSymbolRefExpr *>(Expr);
237 const MCSymbol &S = Ref->getSymbol();
247 const MCSymbolRefExpr *Ref = static_cast<const MCSymbolRefExpr *>(Expr);
248 return Ref->getKind() == MCSymbolRefExpr::VK_SECREL;
266 const MCSymbolRefExpr *Ref = dyn_cast<MCSymbolRefExpr>(Op.getExpr());
267 return Ref && Ref->getKind() == MCSymbolRefExpr::VK_None;
1241 const auto *Ref = dyn_cast<MCSymbolRefExpr>(MO.getExpr());
1242 if (Ref && (Ref->getKind() == MCSymbolRefExpr::VK_GOTTPOFF |
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Object/
WindowsResource.cpp 76 ResourceEntryRef::ResourceEntryRef(BinaryStreamRef Ref,
78 : Reader(Ref), Owner(Owner) {}
82 auto Ref = ResourceEntryRef(BSR, Owner);
83 if (auto E = Ref.loadNext())
85 return Ref;
COFFObjectFile.cpp 102 const coff_symbol_type *COFFObjectFile::toSymb(DataRefImpl Ref) const {
104 reinterpret_cast<const coff_symbol_type *>(Ref.p);
119 const coff_section *COFFObjectFile::toSec(DataRefImpl Ref) const {
120 const coff_section *Addr = reinterpret_cast<const coff_section*>(Ref.p);
136 void COFFObjectFile::moveSymbolNext(DataRefImpl &Ref) const {
139 const coff_symbol16 *Symb = toSymb<coff_symbol16>(Ref);
141 Ref.p = std::min(reinterpret_cast<uintptr_t>(Symb), End);
143 const coff_symbol32 *Symb = toSymb<coff_symbol32>(Ref);
145 Ref.p = std::min(reinterpret_cast<uintptr_t>(Symb), End);
151 Expected<StringRef> COFFObjectFile::getSymbolName(DataRefImpl Ref) const
    [all...]
  /src/external/apache2/llvm/dist/llvm/tools/llvm-ar/
llvm-ar.cpp 1036 const MemoryBuffer &Ref = *Buf.get();
1041 for (line_iterator I(Ref, /*SkipBlanks*/ false), E; I != E; ++I) {
  /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
RDFGraph.h 143 // " - shadow ref (follows the node id),
271 Ref = 0x0002, // 10, Reference
321 return type(B) == Ref;
502 Ref_struct Ref;
522 return *Ref.Op;
529 return Ref.RD;
532 Ref.RD = RD;
536 return Ref.Sib;
539 Ref.Sib = Sib;
543 assert(getType() == NodeAttrs::Ref);
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/DWARFLinker/
DWARFLinker.cpp 873 uint64_t Ref = *Val.getAsReference();
901 assert(Ref > InputDIE.getOffset());
916 if (Ref < InputDIE.getOffset()) {
983 "base type ref doesn't point to DW_TAG_base_type.", File);
990 Linker.reportWarning("base type ref doesn't fit.", File);
1930 Optional<DWARFFormValue> Ref;
1936 if (!(Ref = DIE.find(dwarf::DW_AT_specification)) &&
1937 !(Ref = DIE.find(dwarf::DW_AT_abstract_origin)))
1940 if (!Ref->isFormClass(DWARFFormValue::FC_Reference))
1945 Linker.resolveDIEReference(File, CompileUnits, *Ref, DIE, RefCU))
    [all...]

Completed in 40 milliseconds

1 2