HomeSort by: relevance | last modified time | path
    Searched refs:Var (Results 1 - 25 of 167) sorted by relevancy

1 2 3 4 5 6 7

  /src/external/apache2/llvm/dist/llvm/utils/TableGen/GlobalISel/
CodeExpander.cpp 55 StringRef Var;
56 std::tie(Var, Current) = Current.split("}");
59 StringRef EndVar = StartVar.drop_front(2 /* ${ */ + Var.size());
61 PrintWarning(Loc, "Unterminated expansion '${" + Var + "'");
65 auto ValueI = Expansions.find(Var);
68 "Attempt to expand an undeclared variable '" + Var + "'");
72 OS << "/*$" << Var << "{*/";
73 OS << Expansions.lookup(Var);
  /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/DIA/
DIAEnumTables.cpp 26 VARIANT Var;
27 Var.vt = VT_UINT;
28 Var.uintVal = Index;
29 if (S_OK != Enumerator->Item(Var, &Item))
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
ASanStackFrameLayout.cpp 103 for (const auto &Var : Vars) {
104 std::string Name = Var.Name;
105 if (Var.Line) {
107 Name += to_string(Var.Line);
109 StackDescription << " " << Var.Offset << " " << Var.Size << " "
123 for (const auto &Var : Vars) {
124 SB.resize(Var.Offset / Granularity, kAsanStackMidRedzoneMagic);
126 SB.resize(SB.size() + Var.Size / Granularity, 0);
127 if (Var.Size % Granularity
    [all...]
SSAUpdaterBulk.cpp 41 unsigned Var = Rewrites.size();
42 LLVM_DEBUG(dbgs() << "SSAUpdater: Var=" << Var << ": initialized with Ty = "
46 return Var;
51 void SSAUpdaterBulk::AddAvailableValue(unsigned Var, BasicBlock *BB, Value *V) {
52 assert(Var < Rewrites.size() && "Variable not found!");
53 LLVM_DEBUG(dbgs() << "SSAUpdater: Var=" << Var
56 Rewrites[Var].Defines[BB] = V;
61 void SSAUpdaterBulk::AddUse(unsigned Var, Use *U)
    [all...]
AutoInitRemark.cpp 52 R << "Store inserted by -ftrivial-auto-var-init.\nStore size: "
62 << "Initialization inserted by -ftrivial-auto-var-init.");
125 R << NV("Callee", F) << " inserted by -ftrivial-auto-var-init.";
157 VariableInfo Var{DILV->getName(), DISize};
158 if (!Var.isEmpty()) {
159 Result.push_back(std::move(Var));
180 VariableInfo Var{Name, Size};
181 if (!Var.isEmpty())
182 Result.push_back(std::move(Var));
  /src/external/gpl2/diffutils/dist/lib/
xalloc.h 66 /* Declare and alloc memory for VAR of type TYPE. */
67 # define NEW(Type, Var) Type *(Var) = XMALLOC (Type, 1)
69 /* Free VAR only if non NULL. */
70 # define XFREE(Var) \
72 if (Var) \
73 free (Var); \
  /src/external/gpl2/grep/dist/lib/
xalloc.h 71 /* Declare and alloc memory for VAR of type TYPE. */
72 # define NEW(Type, Var) Type *(Var) = XMALLOC (Type, 1)
74 /* Free VAR only if non NULL. */
75 # define XFREE(Var) \
77 if (Var) \
78 free (Var); \
  /src/external/apache2/llvm/dist/llvm/tools/llvm-pdbutil/
PrettyExternalSymbolDumper.cpp 24 while (auto Var = Vars->getNext())
25 Var->dump(*this);
PrettyVariableDumper.cpp 37 void VariableDumper::start(const PDBSymbolData &Var, uint32_t Offset) {
38 if (Var.isCompilerGenerated() && opts::pretty::ExcludeCompilerGenerated)
40 if (Printer.IsSymbolExcluded(Var.getName()))
43 auto VarType = Var.getType();
47 switch (auto LocType = Var.getLocationType()) {
52 << format_hex(Var.getVirtualAddress(), 10);
55 dumpSymbolTypeAndName(*VarType, Var.getName());
62 dumpSymbolTypeAndName(*VarType, Var.getName());
64 WithColor(Printer, PDB_ColorItem::LiteralValue).get() << Var.getValue();
70 << "+" << format_hex(Offset + Var.getOffset(), 4
    [all...]
PrettyVariableDumper.h 26 void start(const PDBSymbolData &Var, uint32_t Offset = 0);
27 void start(const PDBSymbolTypeVTable &Var, uint32_t Offset = 0);
  /src/external/apache2/llvm/dist/llvm/tools/llvm-exegesis/lib/
CodeTemplate.cpp 35 MCOperand &InstructionTemplate::getValueFor(const Variable &Var) {
36 return VariableValues[Var.getIndex()];
39 const MCOperand &InstructionTemplate::getValueFor(const Variable &Var) const {
40 return VariableValues[Var.getIndex()];
52 return any_of(Instr->Variables, [this](const Variable &Var) {
53 return Instr->getPrimaryOperand(Var).isImmediate();
CodeTemplate.h 34 MCOperand &getValueFor(const Variable &Var);
35 const MCOperand &getValueFor(const Variable &Var) const;
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
MachineCheckDebugify.cpp 80 unsigned Var = ~0U;
82 (void)to_integer(LocalVar->getName(), Var, 10);
83 assert(Var <= NumVars && "Unexpected name for DILocalVariable");
84 MissingVars.reset(Var - 1);
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
DbgEntityHistoryCalculator.cpp 71 bool DbgValueHistoryMap::startDbgValue(InlinedEntity Var,
77 auto &Entries = VarEntries[Var];
91 EntryIndex DbgValueHistoryMap::startClobber(InlinedEntity Var,
93 auto &Entries = VarEntries[Var];
296 // Claim that @Var is not described by @RegNo anymore.
298 InlinedEntity Var) {
302 const auto &VarPos = llvm::find(VarSet, Var);
310 // Claim that @Var is now described by @RegNo.
312 InlinedEntity Var) {
315 assert(!is_contained(VarSet, Var));
    [all...]
DwarfFile.cpp 106 bool DwarfFile::addScopeVariable(LexicalScope *LS, DbgVariable *Var) {
108 const DILocalVariable *DV = Var->getVariable();
112 ScopeVars.Args[ArgNum] = Var;
114 Cached->second->addMMIEntry(*Var);
118 ScopeVars.Locals.push_back(Var);
  /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/
SSAUpdaterBulk.h 67 void AddAvailableValue(unsigned Var, BasicBlock *BB, Value *V);
71 void AddUse(unsigned Var, Use *U);
75 bool HasValueForBlock(unsigned Var, BasicBlock *BB);
  /src/external/apache2/llvm/dist/clang/lib/ARCMigrate/
TransBlockObjCVariable.cpp 44 VarDecl *Var;
48 BlockVarChecker(VarDecl *var) : Var(var) { }
53 if (ref->getDecl() == Var) {
57 Var->getASTContext().getLangOpts().CPlusPlus)
66 if (E->getDecl() == Var)
81 VarDecl *var = I.getVariable(); local
83 var->getType()->isObjCObjectPointerType() &&
84 isImplicitStrong(var->getType()))
90 VarDecl *var = BlockVars[i]; local
135 VarDecl *var = *I; local
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGCUDANV.cpp 59 llvm::GlobalVariable *Var;
130 void registerDeviceVar(const VarDecl *VD, llvm::GlobalVariable &Var,
132 DeviceVars.push_back({&Var,
138 void registerDeviceSurf(const VarDecl *VD, llvm::GlobalVariable &Var,
140 DeviceVars.push_back({&Var,
146 void registerDeviceTex(const VarDecl *VD, llvm::GlobalVariable &Var,
148 DeviceVars.push_back({&Var,
172 llvm::GlobalVariable &Var) override;
439 // Replace the original variable Var with the address loaded from variable
441 static void replaceManagedVar(llvm::GlobalVariable *Var,
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Analysis/
Consumed.cpp 279 const VarDecl *Var;
313 const VarDecl *Var;
323 PropagationInfo(const VarDecl *Var, ConsumedState TestsFor)
325 VarTest.Var = Var;
344 BinTest.LTest.Var = LVar;
346 BinTest.RTest.Var = RVar;
352 PropagationInfo(const VarDecl *Var) : InfoType(IT_Var), Var(Var) {}
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/
PDBSymbolCompiland.cpp 49 std::string Var = Env->getName();
50 if (Var == "cwd") {
54 if (Var == "src") {
  /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
DbgEntityHistoryCalculator.h 104 bool startDbgValue(InlinedEntity Var, const MachineInstr &MI,
106 EntryIndex startClobber(InlinedEntity Var, const MachineInstr &MI);
108 Entry &getEntry(InlinedEntity Var, EntryIndex Index) {
109 auto &Entries = VarEntries[Var];
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/LiveDebugValues/
InstrRefBasedImpl.cpp 755 /// information in \pProperties, for variable Var. Don't insert it anywhere,
757 MachineInstrBuilder emitLoc(Optional<LocIdx> MLoc, const DebugVariable &Var,
759 DebugLoc DL = DILocation::get(Var.getVariable()->getContext(), 0, 0,
760 Var.getVariable()->getScope(),
761 const_cast<DILocation *>(Var.getInlinedAt()));
788 MIB.addMetadata(Var.getVariable());
912 DebugVariable Var(MI.getDebugVariable(), MI.getDebugExpression(),
918 auto Result = Vars.insert(std::make_pair(Var, Rec));
921 Scopes[Var] = MI.getDebugLoc().get();
927 DebugVariable Var(MI.getDebugVariable(), MI.getDebugExpression()
    [all...]
  /src/external/apache2/llvm/dist/clang/tools/libclang/
CIndexCXX.cpp 111 } else if (const VarDecl *Var = dyn_cast<VarDecl>(D)) {
112 if (Var->isStaticDataMember())
113 Template = Var->getInstantiatedFromStaticDataMember();
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/WebKit/
UncountedLocalVarsChecker.cpp 33 bool isDeclaredInForOrIf(const VarDecl *Var) {
34 assert(Var);
35 auto &ASTCtx = Var->getASTContext();
36 auto parent = ASTCtx.getParents(*Var);
  /src/external/apache2/llvm/dist/llvm/include/llvm/MC/MCParser/
MCAsmParser.h 63 VariableIdentifier Var;
80 Var.Decl = decl;
81 Var.IsGlobalLV = isGlobalLV;
82 Var.Size = size;
83 Var.Type = type;
84 Var.Length = size / type;

Completed in 62 milliseconds

1 2 3 4 5 6 7