Home
last modified time | relevance | path

Searched refs:Vars (Results 1 – 25 of 60) sorted by relevance

123

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DASanStackFrameLayout.cpp55 ComputeASanStackFrameLayout(SmallVectorImpl<ASanStackVariableDescription> &Vars, in ComputeASanStackFrameLayout() argument
61 const size_t NumVars = Vars.size(); in ComputeASanStackFrameLayout()
64 Vars[i].Alignment = std::max(Vars[i].Alignment, kMinAlignment); in ComputeASanStackFrameLayout()
66 std::stable_sort(Vars.begin(), Vars.end(), CompareVars); in ComputeASanStackFrameLayout()
70 Layout.FrameAlignment = std::max(Granularity, Vars[0].Alignment); in ComputeASanStackFrameLayout()
72 Vars[0].Alignment); in ComputeASanStackFrameLayout()
76 size_t Alignment = std::max(Granularity, Vars[i].Alignment); in ComputeASanStackFrameLayout()
78 size_t Size = Vars[i].Size; in ComputeASanStackFrameLayout()
84 : std::max(Granularity, Vars[i + 1].Alignment); in ComputeASanStackFrameLayout()
87 Vars[i].Offset = Offset; in ComputeASanStackFrameLayout()
[all …]
/external/llvm/lib/Transforms/Utils/
DASanStackFrameLayout.cpp51 ComputeASanStackFrameLayout(SmallVectorImpl<ASanStackVariableDescription> &Vars, in ComputeASanStackFrameLayout() argument
58 size_t NumVars = Vars.size(); in ComputeASanStackFrameLayout()
61 Vars[i].Alignment = std::max(Vars[i].Alignment, kMinAlignment); in ComputeASanStackFrameLayout()
63 std::stable_sort(Vars.begin(), Vars.end(), CompareVars); in ComputeASanStackFrameLayout()
67 Layout->FrameAlignment = std::max(Granularity, Vars[0].Alignment); in ComputeASanStackFrameLayout()
71 Vars[0].Alignment); in ComputeASanStackFrameLayout()
76 size_t Alignment = std::max(Granularity, Vars[i].Alignment); in ComputeASanStackFrameLayout()
78 size_t Size = Vars[i].Size; in ComputeASanStackFrameLayout()
79 const char *Name = Vars[i].Name; in ComputeASanStackFrameLayout()
87 : std::max(Granularity, Vars[i + 1].Alignment); in ComputeASanStackFrameLayout()
[all …]
/external/v8/src/compiler/
Dgraph-assembler.h246 template <typename... Vars>
247 void Goto(GraphAssemblerLabel<sizeof...(Vars)>* label, Vars...);
254 template <typename... Vars>
255 void GotoIf(Node* condition, GraphAssemblerLabel<sizeof...(Vars)>* label,
256 Vars...);
259 template <typename... Vars>
260 void GotoIfNot(Node* condition, GraphAssemblerLabel<sizeof...(Vars)>* label,
261 Vars...);
268 template <typename... Vars>
269 void MergeState(GraphAssemblerLabel<sizeof...(Vars)>* label, Vars... vars);
[all …]
/external/clang/lib/Serialization/
DASTReaderStmt.cpp2043 SmallVector<Expr *, 16> Vars; in VisitOMPPrivateClause() local
2044 Vars.reserve(NumVars); in VisitOMPPrivateClause()
2046 Vars.push_back(Reader->Reader.ReadSubExpr()); in VisitOMPPrivateClause()
2047 C->setVarRefs(Vars); in VisitOMPPrivateClause()
2048 Vars.clear(); in VisitOMPPrivateClause()
2050 Vars.push_back(Reader->Reader.ReadSubExpr()); in VisitOMPPrivateClause()
2051 C->setPrivateCopies(Vars); in VisitOMPPrivateClause()
2058 SmallVector<Expr *, 16> Vars; in VisitOMPFirstprivateClause() local
2059 Vars.reserve(NumVars); in VisitOMPFirstprivateClause()
2061 Vars.push_back(Reader->Reader.ReadSubExpr()); in VisitOMPFirstprivateClause()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/
DASanStackFrameLayout.h53 SmallVectorImpl<ASanStackVariableDescription> &Vars,
63 const SmallVectorImpl<ASanStackVariableDescription> &Vars);
68 GetShadowBytes(const SmallVectorImpl<ASanStackVariableDescription> &Vars,
76 const SmallVectorImpl<ASanStackVariableDescription> &Vars,
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Utils/
DASanStackFrameLayoutTest.cpp37 SmallVector<ASanStackVariableDescription, 10> Vars = V; \
39 ComputeASanStackFrameLayout(Vars, Granularity, MinHeaderSize); \
41 ComputeASanStackFrameDescription(Vars).c_str()); \
42 EXPECT_EQ(ExpectedShadow, ShadowBytesToString(GetShadowBytes(Vars, L))); \
44 ShadowBytesToString(GetShadowBytesAfterScope(Vars, L))); \
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfFile.cpp146 SmallVectorImpl<DbgVariable *> &Vars = ScopeVariables[LS]; in addScopeVariable() local
157 auto I = Vars.begin(); in addScopeVariable()
158 while (I != Vars.end()) { in addScopeVariable()
173 Vars.insert(I, Var); in addScopeVariable()
177 Vars.push_back(Var); in addScopeVariable()
/external/swiftshader/third_party/subzero/src/
DIceRegAlloc.cpp116 Unhandled.reserve(Vars.size()); in initForGlobal()
117 UnhandledPrecolored.reserve(Vars.size()); in initForGlobal()
119 for (Variable *Var : Vars) { in initForGlobal()
173 Variable *Var = Vars[VarNum]; in livenessValidateIntervals()
178 Variable *Var = Vars[VarNum]; in livenessValidateIntervals()
216 CfgVector<InstNumberT> LRBegin(Vars.size(), Inst::NumberSentinel); in initForInfOnly()
217 CfgVector<InstNumberT> LREnd(Vars.size(), Inst::NumberSentinel); in initForInfOnly()
247 for (SizeT i = 0; i < Vars.size(); ++i) { in initForInfOnly()
248 Variable *Var = Vars[i]; in initForInfOnly()
280 Variable *Var = Vars[VarNum]; in initForInfOnly()
[all …]
DIceELFObjectWriter.cpp291 void partitionGlobalsBySection(const VariableDeclarationList &Vars, in partitionGlobalsBySection() argument
293 for (VariableDeclaration *Var : Vars) { in partitionGlobalsBySection()
319 void ELFObjectWriter::writeDataSection(const VariableDeclarationList &Vars, in writeDataSection() argument
327 SectionList.reserve(Vars.size()); in writeDataSection()
328 partitionGlobalsBySection(Vars, VarsBySection); in writeDataSection()
346 const VariableDeclarationPartition &Vars, in writeDataOfType() argument
350 if (Vars.empty()) in writeDataOfType()
355 for (VariableDeclaration *Var : Vars) { in writeDataOfType()
400 for (VariableDeclaration *Var : Vars) { in writeDataOfType()
DIceInstX8632.cpp83 Vars = nullptr; in X86OperandMem()
90 Vars = Func->allocateArrayOf<Variable *>(NumVars); in X86OperandMem()
93 Vars[I++] = Base; in X86OperandMem()
95 Vars[I++] = Index; in X86OperandMem()
DIceInstX8664.cpp74 Vars = nullptr; in X86OperandMem()
81 Vars = Func->allocateArrayOf<Variable *>(NumVars); in X86OperandMem()
84 Vars[I++] = Base; in X86OperandMem()
86 Vars[I++] = Index; in X86OperandMem()
DIceELFObjectWriter.h65 void writeDataSection(const VariableDeclarationList &Vars,
164 const VariableDeclarationPartition &Vars,
DIceOperand.h77 return Vars[I]; in getVar()
122 Variable **Vars = nullptr; variable
176 Vars = nullptr; in Constant()
873 Vars = VarsReal; in Variable()
874 Vars[0] = this; in Variable()
DIceRegAlloc.h136 CfgVector<Variable *> Vars; variable
/external/llvm/lib/CodeGen/
DLiveDebugValues.cpp152 SmallDenseMap<DebugVariableBase, unsigned, 8> Vars; member in __anon15cd703d0111::LiveDebugValues::OpenRangesSet
159 auto It = Vars.find(Var); in erase()
160 if (It != Vars.end()) { in erase()
163 Vars.erase(It); in erase()
172 Vars.erase(VarLocIDs[ID].Var); in erase()
178 Vars.insert({Var, VarLocID}); in insert()
184 Vars.clear(); in clear()
189 assert(Vars.empty() == VarLocs.empty() && "open ranges are inconsistent"); in empty()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-pdbutil/
DPrettyExternalSymbolDumper.cpp24 if (auto Vars = Symbol.findAllChildren<PDBSymbolPublicSymbol>()) { in start() local
25 while (auto Var = Vars->getNext()) in start()
/external/llvm/tools/llvm-pdbdump/
DExternalSymbolDumper.cpp24 auto Vars = Symbol.findAllChildren<PDBSymbolPublicSymbol>(); in start() local
25 while (auto Var = Vars->getNext()) in start()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DLiveDebugValues.cpp196 SmallDenseMap<DebugVariableBase, unsigned, 8> Vars; member in __anon2f1687750111::LiveDebugValues::OpenRangesSet
203 auto It = Vars.find(Var); in erase()
204 if (It != Vars.end()) { in erase()
207 Vars.erase(It); in erase()
216 Vars.erase(VarLocIDs[ID].Var); in erase()
222 Vars.insert({Var, VarLocID}); in insert()
228 Vars.clear(); in clear()
233 assert(Vars.empty() == VarLocs.empty() && "open ranges are inconsistent"); in empty()
/external/clang/lib/AST/
DOpenMPClause.cpp586 ArrayRef<Expr *> Vars, ArrayRef<ValueDecl *> Declarations, in Create() argument
591 unsigned NumVars = Vars.size(); in Create()
616 Clause->setVarRefs(Vars); in Create()
639 SourceLocation EndLoc, ArrayRef<Expr *> Vars, in Create() argument
642 unsigned NumVars = Vars.size(); in Create()
668 Clause->setVarRefs(Vars); in Create()
689 ArrayRef<Expr *> Vars, ArrayRef<ValueDecl *> Declarations, in Create() argument
691 unsigned NumVars = Vars.size(); in Create()
717 Clause->setVarRefs(Vars); in Create()
/external/llvm/unittests/Transforms/Utils/
DASanStackFrameLayoutTest.cpp30 static void TestLayout(SmallVector<ASanStackVariableDescription, 10> Vars, in TestLayout() argument
35 ComputeASanStackFrameLayout(Vars, Granularity, MinHeaderSize, &L); in TestLayout()
/external/clang/lib/Sema/
DSemaOpenMP.cpp1318 SmallVector<Expr *, 8> Vars; in CheckOMPThreadPrivateDecl() local
1331 Vars.push_back(DE); in CheckOMPThreadPrivateDecl()
1381 Vars.push_back(RefExpr); in CheckOMPThreadPrivateDecl()
1389 if (!Vars.empty()) { in CheckOMPThreadPrivateDecl()
1391 Vars); in CheckOMPThreadPrivateDecl()
8205 SmallVector<Expr *, 8> Vars; in ActOnOpenMPPrivateClause() local
8215 Vars.push_back(RefExpr); in ActOnOpenMPPrivateClause()
8300 Vars.push_back((VD || CurContext->isDependentContext()) in ActOnOpenMPPrivateClause()
8306 if (Vars.empty()) in ActOnOpenMPPrivateClause()
8309 return OMPPrivateClause::Create(Context, StartLoc, LParenLoc, EndLoc, Vars, in ActOnOpenMPPrivateClause()
[all …]
DTreeTransform.h7810 llvm::SmallVector<Expr *, 16> Vars; in TransformOMPPrivateClause() local
7811 Vars.reserve(C->varlist_size()); in TransformOMPPrivateClause()
7816 Vars.push_back(EVar.get()); in TransformOMPPrivateClause()
7819 Vars, C->getLocStart(), C->getLParenLoc(), C->getLocEnd()); in TransformOMPPrivateClause()
7825 llvm::SmallVector<Expr *, 16> Vars; in TransformOMPFirstprivateClause() local
7826 Vars.reserve(C->varlist_size()); in TransformOMPFirstprivateClause()
7831 Vars.push_back(EVar.get()); in TransformOMPFirstprivateClause()
7834 Vars, C->getLocStart(), C->getLParenLoc(), C->getLocEnd()); in TransformOMPFirstprivateClause()
7840 llvm::SmallVector<Expr *, 16> Vars; in TransformOMPLastprivateClause() local
7841 Vars.reserve(C->varlist_size()); in TransformOMPLastprivateClause()
[all …]
/external/clang/lib/Parse/
DParseOpenMP.cpp461 auto *Vars = &Uniforms; in parseDeclareSimdClauses() local
463 Vars = &Aligneds; in parseDeclareSimdClauses()
465 Vars = &Linears; in parseDeclareSimdClauses()
469 getOpenMPClauseKind(ClauseName), *Vars, Data)) in parseDeclareSimdClauses()
1525 SmallVectorImpl<Expr *> &Vars, in ParseOpenMPVarList() argument
1680 Vars.push_back(VarExpr.get()); in ParseOpenMPVarList()
1719 Vars.empty()) || in ParseOpenMPVarList()
1720 (Kind != OMPC_depend && Kind != OMPC_map && Vars.empty()) || in ParseOpenMPVarList()
1769 SmallVector<Expr *, 4> Vars; in ParseOpenMPVarListClause() local
1772 if (ParseOpenMPVarList(DKind, Kind, Vars, Data)) in ParseOpenMPVarListClause()
[all …]
/external/llvm/include/llvm/Transforms/Utils/
DASanStackFrameLayout.h52 SmallVectorImpl<ASanStackVariableDescription> &Vars,
/external/syzkaller/prog/
Ddecodeexec.go12 Vars []uint64 member
82 Vars: dec.vars,

123