| /src/external/apache2/llvm/dist/llvm/lib/MC/MCParser/ |
| MCAsmParserExtension.cpp | 26 StringRef From; 28 if (getParser().parseIdentifier(From)) 52 MCSymbol *FromSym = getContext().getOrCreateSymbol(From);
|
| /src/external/apache2/llvm/dist/llvm/utils/TableGen/GlobalISel/ |
| GIMatchDag.cpp | 64 auto From = format(FromFmt, E->getFromMI(), E->getFromMO()->getIdx()); 67 std::swap(From, To); 69 OS << " " << From << " -> " << To << " [label=\"$" << E->getName(); 97 auto From = 99 OS << " " << From << " -> " << To << " " << Style << "\n"; 102 auto From = format(FromMIFmt, E->getRequiredMI()); 103 OS << " " << From << " -> " << To << " " << Style << "\n";
|
| /src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| DynamicCastInfo.h | 21 DynamicCastInfo(QualType from, QualType to, CastResult resultKind) 22 : From(from), To(to), ResultKind(resultKind) {} 24 QualType from() const { return From; } function in class:clang::ento::DynamicCastInfo 27 bool equals(QualType from, QualType to) const { 28 return From == from && To == to; 35 return From == RHS.From && To == RHS.To [all...] |
| RangedConstraintManager.h | 26 /// A Range represents the closed range [from, to]. The caller must 27 /// guarantee that from <= to. Note that Range is immutable, so as not 31 Range(const llvm::APSInt &From, const llvm::APSInt &To) : Impl(&From, &To) { 32 assert(From <= To); 38 return From() <= Point && Point <= To(); 40 const llvm::APSInt &From() const { return *Impl.first; } 43 return &From() == &To() ? &From() : nullptr; 47 ID.AddPointer(&From()); [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/Support/ |
| CFGUpdate.h | 29 NodePtr From; 33 Update(UpdateKind Kind, NodePtr From, NodePtr To) 34 : From(From), ToAndKind(To, Kind) {} 37 NodePtr getFrom() const { return From; } 40 return From == RHS.From && ToAndKind == RHS.ToAndKind; 74 NodePtr From = U.getFrom(); 77 std::swap(From, To); // Reverse edge for postdominators. 79 Operations[{From, To}] += (U.getKind() == UpdateKind::Insert ? 1 : -1) [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/XRay/ |
| BlockVerifier.cpp | 55 BlockVerifier::State From; 124 assert(Mapping.From == CurrentRecord && 129 "BlockVerifier: Invalid transition from %s to %s.",
|
| /src/external/apache2/llvm/dist/clang/include/clang/Analysis/Analyses/ |
| Consumed.h | 149 const Stmt *From = nullptr; 156 : Reachable(Other.Reachable), From(Other.From), VarMap(Other.VarMap), 160 /// they were declared to be in upon return from a function. 189 void setSource(const Stmt *Source) { this->From = Source; } 197 /// Remove the temporary value from our state map. 235 bool isBackEdge(const CFGBlock *From, const CFGBlock *To);
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/ |
| PredicateInfo.h | 125 // Mixin class for edge predicates. The FROM block is the block where the 130 BasicBlock *From; 138 PredicateWithEdge(PredicateType PType, Value *Op, BasicBlock *From, 140 : PredicateBase(PType, Op, Cond), From(From), To(To) {} 202 // This maps from copy operands to Predicate Info. Note that it does not own
|
| /src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| AliasAnalysisSummary.cpp | 87 auto From = instantiateInterfaceValue(ERelation.From, Call); 88 if (!From) 93 return InstantiatedRelation{*From, *To, ERelation.Offset};
|
| AliasAnalysisSummary.h | 63 /// Attr represent whether the said pointer comes from an unknown source 67 /// AttrUnknown represent whether the said pointer comes from a source not known 72 /// AttrCaller represent whether the said pointer comes from a source not known 79 /// AttrEscaped represent whether the said pointer comes from a known source but 82 /// alias pointers coming from unknown sources. 154 InterfaceValue From, To; 159 return LHS.From == RHS.From && LHS.To == RHS.To && LHS.Offset == RHS.Offset; 165 if (LHS.From < RHS.From) [all...] |
| DomTreeUpdater.cpp | 27 const auto *From = Update.getFrom(); 31 // Discard updates by inspecting the current state of successors of From. 32 // Since isUpdateValid() must be called *after* the Terminator of From is 35 const bool HasEdge = llvm::is_contained(successors(From), To); 133 // Prevent forceFlushDeletedBB() from erasing DomTree or PostDomTree nodes. 260 // it is safe to infer the existence of an edge from the first update 317 void DomTreeUpdater::insertEdge(BasicBlock *From, BasicBlock *To) { 320 assert(isUpdateValid({DominatorTree::Insert, From, To}) && 328 if (From == To) 333 DT->insertEdge(From, To) [all...] |
| CFLAndersAliasAnalysis.cpp | 10 // differs from CFLSteensAliasAnalysis in its inclusion-based nature while 22 // "whether X is reachable from Y", we keep track of "whether X is reachable 23 // from Y at state Z", where the "state" field indicates where we are in the CFL 37 // value reads from value writes. For example, if Y is reachable from X at state 45 // read from. 116 // are reachable at 'ReadWrite' state, it does NOT mean X is both read from 171 // Insert edge 'From->To' at state 'State' 172 bool insert(InstantiatedValue From, InstantiatedValue To, MatchState State) { 173 assert(From != To) [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/TableGen/ |
| SetTheory.cpp | 1 //===- SetTheory.cpp - Generate ordered sets from DAG expressions ---------===// 10 // Records from DAG expressions. 176 // (sequence "Format", From, To) Generate a sequence of records by name. 182 PrintFatalError(Loc, "Bad args to (sequence \"Format\", From, To): " + 198 int64_t From, To; 200 From = II->getValue(); 202 PrintFatalError(Loc, "From must be an integer: " + Expr->getAsString()); 203 if (From < 0 || From >= (1 << 30)) 204 PrintFatalError(Loc, "From out of range") [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/ |
| TargetLoweringObjectFile.cpp | 182 const MCSymbol *From = GetSym(E->getOperand(0)); 186 if (!From || !To) 193 MCSymbolRefExpr::create(From, MCSymbolRefExpr::VK_None, C), 199 /// a global object. Given a global variable and information from the TM, this 396 /// reference to the specified global variable from exception
|
| /src/external/apache2/llvm/dist/clang/tools/clang-format/ |
| ClangFormat.cpp | 79 "When reading from stdin, clang-format assumes this\n" 98 "clang-format from an editor integration"), 274 size_t From = 0; 276 while ((Index = Text.find_first_of("\n\r<&", From)) != StringRef::npos) { 277 outs() << Text.substr(From, Index - From); 294 From = Index + 1; 296 outs() << Text.substr(From); 359 errs() << "error: cannot use -i when reading from stdin.\n"; 510 "If no arguments are specified, it formats the code from standard input\n [all...] |
| /src/external/apache2/llvm/dist/llvm/tools/llvm-exegesis/lib/X86/ |
| X86Counter.cpp | 74 const void *From, const void *To, 94 const uint64_t BlockStart = From == nullptr 96 : reinterpret_cast<uint64_t>(From); 101 if (BlockStart <= Entry.from && BlockEnd >= Entry.to) 160 // Prevent the compiler from unrolling the loop and get rid of all the 200 const void *From = reinterpret_cast<const void *>(FunctionBytes.data()); 203 return doReadCounter(From, To); 207 X86LbrCounter::doReadCounter(const void *From, const void *To) const { 212 // counts from the buffer. 245 parseDataBuffer(DataBuf.get(), DataSize, From, To, &CycleArray) [all...] |
| /src/external/apache2/llvm/dist/llvm/utils/TableGen/ |
| DFAEmitter.cpp | 18 // initial automaton was nondeterministic - it allows mapping back from the DFA 48 void DfaEmitter::addTransition(state_type From, state_type To, action_type A) { 50 NfaStates.insert(From); 52 NfaTransitions[{From, A}].push_back(To); 64 // If this action is possible from this state add the transitioned-to 138 OS << " unsigned FromDfaState; // The transitioned-from DFA state.\n"; 152 dfa_state_type From = KV.first.first; 156 OS << " {" << From << ", "; 287 // Starting from the initial state, build up a list of possible states and
|
| /src/external/apache2/llvm/dist/clang/lib/ASTMatchers/ |
| ASTMatchersInternal.cpp | 351 const auto From = getSupportedKind(); 355 /// - From Matcher<Type> to Matcher<QualType> 356 if (From.isSame(TypeKind) && To.isSame(QualKind)) return true; 357 /// - From Matcher<Base> to Matcher<Derived> 358 return From.isBaseOf(To); 535 /// Consumes the name suffix from each pattern in the set and removes the ones 585 // This function is copied and adapted from NamedDecl::printQualifiedName()
|
| /src/external/apache2/llvm/dist/clang/lib/CrossTU/ |
| CrossTranslationUnit.cpp | 104 return "Missing definition from the index file."; 420 // Load the ASTUnit from the pre-dumped AST file specified by ASTFileName. 486 // a lookup name from a single translation unit. If multiple 490 // Try to get the value from the heavily cached storage. 546 /// Load the AST from a source-file, which is supposed to be located inside the 594 /// LLVM YAML parser is used to extract information from invocation list file. 748 ASTContext &From = Unit->getASTContext(); 750 auto I = ASTUnitImporterMap.find(From.getTranslationUnitDecl()); 755 Context, Context.getSourceManager().getFileManager(), From, 756 From.getSourceManager().getFileManager(), false, ImporterSharedSt) [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/BPF/ |
| BPFISelDAGToDAG.cpp | 10 // converting from a legalized dag to a BPF dag. 68 // Include the pieces autogenerated from the target description. 82 // Find constants from a constant structure 94 // Mapping from ConstantStruct global value to corresponding byte-list values 312 SDValue From[] = {SDValue(Node, 0), SDValue(Node, 1)}; 314 CurDAG->ReplaceAllUsesOfValuesWith(From, To, 2); 323 // . loads from ConstantStruct or ConstantArray of constructs 325 // avoid reading from read-only section at runtime. 475 // when the Reg operand comes from bpf_load_[byte | half | word] for
|
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
| CallSiteSplitting.cpp | 21 // Split from : 32 // from : 129 /// If From has a conditional jump to To, add the condition to Conditions, 131 static void recordCondition(CallBase &CB, BasicBlock *From, BasicBlock *To, 133 auto *BI = dyn_cast<BranchInst>(From->getTerminator()); 145 Conditions.push_back({Cmp, From->getTerminator()->getSuccessor(0) == To 156 BasicBlock *From = Pred; 159 while (To != StopAt && !Visited.count(From->getSinglePredecessor()) && 160 (From = From->getSinglePredecessor())) [all...] |
| /src/external/gpl3/gdb.old/dist/gdb/unittests/ |
| array-view-selftests.c | 42 template<typename From, typename To> 46 return std::is_convertible<From, To>::value; 144 /* Check that array_view implicitly converts from std::vector. */ 161 /* Check that array_view implicitly converts from std::array. */ 635 /* Can be implicitly constructed from an int, such that we can use the same
|
| /src/external/gpl3/gdb/dist/gdb/unittests/ |
| array-view-selftests.c | 42 template<typename From, typename To> 46 return std::is_convertible<From, To>::value; 144 /* Check that array_view implicitly converts from std::vector. */ 161 /* Check that array_view implicitly converts from std::array. */ 648 /* Can be implicitly constructed from an int, such that we can use the same
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/MC/ |
| MCAssembler.h | 311 /// if not specified it is automatically created from backend. 437 const MCSymbolRefExpr *From;
|
| /src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
| StackColoring.cpp | 79 ProtectFromEscapedAllocas("protect-from-escaped-allocas", 155 // `z`'s lifetime is over after we exit from block `A:`, so any further 196 // From our rules, we see that *out-of-scope* slots are never *in-use*, 197 // and from (L7) we see that "non-degenerate" slots remain non-*in-use* 208 // as `x` is only in use if we came in from the `var` edge and `y` only 209 // if we came from the `!var` edge, they still can't be in use together. 245 // scope, meaning that from a lexical point of view, their lifetimes 246 // overlap. From a control flow pointer of view, however, the two 347 // hoisted up out of the loop from block 4 to block 2. [Note that 348 // this is not an actual load from the stack, only an instruction tha [all...] |