/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | ASanStackFrameLayout.cpp | 53 ComputeASanStackFrameLayout(SmallVectorImpl<ASanStackVariableDescription> &Vars, in ComputeASanStackFrameLayout() argument 59 const size_t NumVars = Vars.size(); in ComputeASanStackFrameLayout() 62 Vars[i].Alignment = std::max(Vars[i].Alignment, kMinAlignment); in ComputeASanStackFrameLayout() 64 llvm::stable_sort(Vars, CompareVars); in ComputeASanStackFrameLayout() 68 Layout.FrameAlignment = std::max(Granularity, Vars[0].Alignment); in ComputeASanStackFrameLayout() 70 std::max(std::max(MinHeaderSize, Granularity), Vars[0].Alignment); in ComputeASanStackFrameLayout() 74 uint64_t Alignment = std::max(Granularity, Vars[i].Alignment); in ComputeASanStackFrameLayout() 76 uint64_t Size = Vars[i].Size; in ComputeASanStackFrameLayout() 82 IsLast ? Granularity : std::max(Granularity, Vars[i + 1].Alignment); in ComputeASanStackFrameLayout() 85 Vars[i].Offset = Offset; in ComputeASanStackFrameLayout() [all …]
|
H A D | PromoteMemoryToRegister.cpp | 133 SmallSet<DebugVariable, 2> Vars; in init() local 135 if (Vars.insert(DebugVariable(DAI)).second) in init() 139 if (Vars.insert(DebugVariable(DVR)).second) in init()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | ASanStackFrameLayout.h | 52 SmallVectorImpl<ASanStackVariableDescription> &Vars, 62 const SmallVectorImpl<ASanStackVariableDescription> &Vars); 67 GetShadowBytes(const SmallVectorImpl<ASanStackVariableDescription> &Vars, 75 const SmallVectorImpl<ASanStackVariableDescription> &Vars,
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTReader.cpp | 10890 SmallVector<Expr *, 16> Vars; in VisitOMPInitClause() local 10891 Vars.reserve(NumVars); in VisitOMPInitClause() 10893 Vars.push_back(Record.readSubExpr()); in VisitOMPInitClause() 10894 C->setVarRefs(Vars); in VisitOMPInitClause() 10964 SmallVector<Expr *, 16> Vars; in VisitOMPPrivateClause() local 10965 Vars.reserve(NumVars); in VisitOMPPrivateClause() 10967 Vars.push_back(Record.readSubExpr()); in VisitOMPPrivateClause() 10968 C->setVarRefs(Vars); in VisitOMPPrivateClause() 10969 Vars.clear(); in VisitOMPPrivateClause() 10971 Vars.push_back(Record.readSubExpr()); in VisitOMPPrivateClause() [all …]
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/ |
H A D | PrettyExternalSymbolDumper.cpp | 24 if (auto Vars = Symbol.findAllChildren<PDBSymbolPublicSymbol>()) { in start() local 25 while (auto Var = Vars->getNext()) in start()
|
H A D | llvm-pdbutil.cpp | 1274 if (auto Vars = GlobalScope->findAllChildren<PDBSymbolData>()) { in dumpPretty() 1277 while (auto Var = Vars->getNext()) in dumpPretty() 1281 while (auto Var = Vars->getNext()) in dumpPretty() 1276 if (auto Vars = GlobalScope->findAllChildren<PDBSymbolData>()) { dumpPretty() local
|
/freebsd/contrib/llvm-project/llvm/lib/TableGen/ |
H A D | TGParser.h | 99 std::map<std::string, Init *, std::less<>> Vars; variable 130 return Vars.find(Name) != Vars.end(); in varAlreadyDefined() 134 bool Ins = Vars.insert(std::make_pair(std::string(Name), I)).second; in addVar()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | OpenMPClause.cpp | 1141 const ASTContext &C, const OMPVarListLocTy &Locs, ArrayRef<Expr *> Vars, in Create() argument 1149 Sizes.NumVars = Vars.size(); in Create() 1174 Clause->setVarRefs(Vars); in Create() 1198 const ASTContext &C, const OMPVarListLocTy &Locs, ArrayRef<Expr *> Vars, in Create() argument 1205 Sizes.NumVars = Vars.size(); in Create() 1230 Clause->setVarRefs(Vars); in Create() 1248 const ASTContext &C, const OMPVarListLocTy &Locs, ArrayRef<Expr *> Vars, in Create() argument 1255 Sizes.NumVars = Vars.size(); in Create() 1281 Clause->setVarRefs(Vars); in Create() 1312 const ASTContext &C, const OMPVarListLocTy &Locs, ArrayRef<Expr *> Vars, in Create() argument [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | TreeTransform.h | 10449 llvm::SmallVector<Expr *, 16> Vars; in TransformOMPPrivateClause() local 10450 Vars.reserve(C->varlist_size()); in TransformOMPPrivateClause() 10455 Vars.push_back(EVar.get()); in TransformOMPPrivateClause() 10458 Vars, C->getBeginLoc(), C->getLParenLoc(), C->getEndLoc()); in TransformOMPPrivateClause() 10464 llvm::SmallVector<Expr *, 16> Vars; in TransformOMPFirstprivateClause() local 10465 Vars.reserve(C->varlist_size()); in TransformOMPFirstprivateClause() 10470 Vars.push_back(EVar.get()); in TransformOMPFirstprivateClause() 10473 Vars, C->getBeginLoc(), C->getLParenLoc(), C->getEndLoc()); in TransformOMPFirstprivateClause() 10479 llvm::SmallVector<Expr *, 16> Vars; in TransformOMPLastprivateClause() local 10480 Vars.reserve(C->varlist_size()); in TransformOMPLastprivateClause() [all …]
|
H A D | SemaOpenMP.cpp | 3259 SmallVector<Expr *, 8> Vars; in CheckOMPThreadPrivateDecl() local 3272 Vars.push_back(DE); in CheckOMPThreadPrivateDecl() 3322 Vars.push_back(RefExpr); in CheckOMPThreadPrivateDecl() 3330 if (!Vars.empty()) { in CheckOMPThreadPrivateDecl() 3332 Loc, Vars); in CheckOMPThreadPrivateDecl() 3463 SmallVector<Expr *, 8> Vars; in ActOnOpenMPAllocateDirective() local 3499 Vars.push_back(RefExpr); in ActOnOpenMPAllocateDirective() 3503 if (Vars.empty()) in ActOnOpenMPAllocateDirective() 3507 auto *D = OMPAllocateDecl::Create(getASTContext(), Owner, Loc, Vars, Clauses); in ActOnOpenMPAllocateDirective() 17102 SmallVector<Expr *, 8> Vars; in ActOnOpenMPPrivateClause() local [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | ConstraintElimination.cpp | 352 SmallVector<DecompEntry, 3> Vars; member 356 Vars.emplace_back(1, V, IsKnownNonNegative); in Decomposition() 358 Decomposition(int64_t Offset, ArrayRef<DecompEntry> Vars) in Decomposition() 359 : Offset(Offset), Vars(Vars) {} in Decomposition() 367 append_range(Vars, Other.Vars); in add() 374 append_range(Vars, Tmp.Vars); in sub() 379 for (auto &Var : Vars) in mul() 670 auto &VariablesA = ADec.Vars; in getConstraint() 671 auto &VariablesB = BDec.Vars; in getConstraint()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
H A D | BTFDebug.h | 185 std::vector<std::tuple<uint32_t, const MCSymbol *, uint32_t>> Vars; variable 190 return BTFTypeBase::getSize() + BTF::BTFDataSecVarSize * Vars.size(); in getSize() 193 Vars.push_back(std::make_tuple(Id, Sym, Size)); in addDataSecEntry()
|
H A D | BTFDebug.cpp | 417 BTFType.Info |= Vars.size(); in completeType() 423 for (const auto &V : Vars) { in emitType()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/ |
H A D | VarLocBasedImpl.cpp | 826 auto &Vars = Loc2Vars[Location]; in insert() local 828 {Location, static_cast<LocIndex::u32_index_t>(Vars.size())}); in insert() 829 Vars.push_back(VL); in insert() 897 SmallDenseMap<DebugVariable, LocIndices, 8> Vars; member in __anon28d3adc20111::VarLocBasedLDV::OpenRangesSet 937 Vars.clear(); in clear() 943 assert(Vars.empty() == EntryValuesBackupVars.empty() && in empty() 944 Vars.empty() == VarLocs.empty() && in empty() 1120 auto *EraseFrom = VL.isEntryBackupLoc() ? &EntryValuesBackupVars : &Vars; in erase() 1158 auto *EraseFrom = VL.isEntryBackupLoc() ? &EntryValuesBackupVars : &Vars; in erase() 1183 auto *InsertInto = VL.isEntryBackupLoc() ? &EntryValuesBackupVars : &Vars; in insert()
|
H A D | InstrRefBasedImpl.h | 1055 MapVector<DebugVariableID, DbgValue> Vars; 1079 auto Result = Vars.insert(std::make_pair(VarID, Rec)); 1109 auto Result = Vars.insert(std::make_pair(OverlappedID, Rec)); 1117 Vars.clear();
|
H A D | InstrRefBasedImpl.cpp | 3218 auto &TransferFunc = AllTheVLocs[ExpMBB->getNumber()].Vars; in buildVLocValueMap() 3302 auto TransferIt = VTracker.Vars.find(VarID); in buildVLocValueMap() 3303 if (TransferIt != VTracker.Vars.end()) { in buildVLocValueMap() 3392 auto ValueIt = VLocs.Vars.find(VarID); in placePHIsForSingleVarDefinition() 3795 for (auto &idx : VTracker->Vars) { in ExtendRanges()
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseOpenACC.cpp | 1303 llvm::SmallVector<Expr *> Vars; in ParseOpenACCVarList() local 1307 Vars.push_back(Res.get()); in ParseOpenACCVarList() 1310 return Vars; in ParseOpenACCVarList() 1319 Vars.push_back(Res.get()); in ParseOpenACCVarList() 1322 return Vars; in ParseOpenACCVarList() 1325 return Vars; in ParseOpenACCVarList()
|
H A D | ParseOpenMP.cpp | 762 SmallVectorImpl<Expr *> *Vars = &Uniforms; in parseDeclareSimdClauses() local 764 Vars = &Aligneds; in parseDeclareSimdClauses() 767 Vars = &Linears; in parseDeclareSimdClauses() 772 getOpenMPClauseKind(ClauseName), *Vars, Data)) in parseDeclareSimdClauses() 1460 SmallVector<Expr *> Vars; in ParseOMPDeclareVariantClauses() local 1462 Vars, Data); in ParseOMPDeclareVariantClauses() 1467 Vars); in ParseOMPDeclareVariantClauses() 4374 SmallVectorImpl<Expr *> &Vars, in ParseOpenMPVarList() argument 4716 Vars.push_back(VarExpr.get()); in ParseOpenMPVarList() 4819 Vars.empty()) || in ParseOpenMPVarList() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DwarfCompileUnit.cpp | 1124 auto Vars = DU->getScopeVariables().lookup(Scope); in createAndAddScopeChildren() local 1125 for (auto &DV : Vars.Args) in createAndAddScopeChildren() 1129 auto Locals = sortLocalVars(Vars.Locals); in createAndAddScopeChildren() 1149 auto Vars = DU->getScopeVariables().lookup(S); in createAndAddScopeChildren() local 1150 if (!Vars.Args.empty() || !Vars.Locals.empty()) in createAndAddScopeChildren()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGOpenMPRuntimeGPU.cpp | 280 ArrayRef<const Expr *> Vars; in VisitOpenMPCapturedStmt() local 282 Vars = PC->getVarRefs(); in VisitOpenMPCapturedStmt() 284 Vars = PC->getVarRefs(); in VisitOpenMPCapturedStmt() 287 for (const auto *E : Vars) { in VisitOpenMPCapturedStmt() 937 llvm::SmallVectorImpl<const ValueDecl *> &Vars) { in getDistributeLastprivateVars() argument 955 Vars.push_back(getPrivateItem(E)); in getDistributeLastprivateVars() 962 llvm::SmallVectorImpl<const ValueDecl *> &Vars) { in getTeamsReductionVars() argument 967 Vars.push_back(getPrivateItem(E)); in getTeamsReductionVars()
|
H A D | CGOpenMPRuntime.h | 1116 virtual void emitFlush(CodeGenFunction &CGF, ArrayRef<const Expr *> Vars, 1962 void emitFlush(CodeGenFunction &CGF, ArrayRef<const Expr *> Vars,
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | DebugInfo.cpp | 2057 const StorageToVarsMap &Vars, const DataLayout &DL, in trackAssignments() argument 2060 if (Vars.empty()) in trackAssignments() 2122 auto LocalIt = Vars.find(Info->Base); in trackAssignments() 2123 if (LocalIt == Vars.end()) { in trackAssignments() 2157 StorageToVarsMap Vars; in runOnFunction() local 2175 Vars[Alloca].insert(VarRecord(Declare)); in runOnFunction() 2198 trackAssignments(F.begin(), F.end(), Vars, *DL); in runOnFunction()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | DebugInfo.h | 331 const StorageToVarsMap &Vars, const DataLayout &DL,
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | MemorySSAUpdater.cpp | 462 void MemorySSAUpdater::fixupDefs(const SmallVectorImpl<WeakVH> &Vars) { in fixupDefs() argument 465 for (const auto &Var : Vars) { in fixupDefs()
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/ |
H A D | CFG.cpp | 260 return &Scope->Vars[VarIter - 1]; in operator ->() 266 return Scope->Vars[0]; in getFirstVarInScope() 310 AutomaticVarsTy Vars; member in __anonef2f84bd0111::LocalScope 319 : ctx(std::move(ctx)), Vars(this->ctx, 4), Prev(P) {} in LocalScope() 322 const_iterator begin() const { return const_iterator(*this, Vars.size()); } in begin() 325 Vars.push_back(VD, ctx); in addVar()
|