HomeSort by: relevance | last modified time | path
    Searched defs:Region (Results 1 - 24 of 24) sorted by relevancy

  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
DynamicTypeChecker.cpp 55 // The tracked region.
160 const MemRegion *Region = C.getSVal(CE).getAsRegion();
161 if (!Region)
165 DynamicTypeInfo DynTypeInfo = getDynamicTypeInfo(State, Region);
199 reportTypeError(DynType, StaticType, Region, CE, C);
PointerArithChecker.cpp 50 const MemRegion *getArrayRegion(const MemRegion *Region, bool &Polymorphic,
52 const MemRegion *getPointedRegion(const MemRegion *Region,
105 PointerArithChecker::getPointedRegion(const MemRegion *Region,
107 assert(Region);
109 SVal S = State->getSVal(Region);
113 /// Checks whether a region is the part of an array.
116 /// allocation kind of the inspected region.
117 const MemRegion *PointerArithChecker::getArrayRegion(const MemRegion *Region,
121 assert(Region);
122 while (const auto *BaseRegion = dyn_cast<CXXBaseObjectRegion>(Region)) {
    [all...]
StackAddrEscapeChecker.cpp 71 // Get the base region, stripping away fields and elements.
77 // Check if the region is a compound literal.
107 llvm_unreachable("Invalid region in ReturnStackAddressChecker.");
145 const MemRegion *Region = Val.getAsRegion();
146 if (Region && isa<StackSpaceRegion>(Region->getMemorySpace()))
147 Regions.push_back(Region);
186 for (const MemRegion *Region : getCapturedStackRegions(B, C)) {
193 if (isa<BlockDataRegion>(Region))
204 SourceRange Range = genName(Out, Region, C.getASTContext())
    [all...]
SmartPtrModeling.cpp 113 // If a region is removed all of the subregions need to be removed too.
117 const MemRegion *Region) {
118 if (!Region)
121 if (E.first->isSubRegionOf(Region))
128 const MemRegion *Region,
131 State = State->set<TrackedRegionMap>(Region, *RegionInnerPointerVal);
133 State = State->remove<TrackedRegionMap>(Region);
160 // Helper method to pretty print region and avoid extra spacing.
162 const MemRegion *Region) {
163 if (Region->canPrintPretty())
    [all...]
MacOSKeychainAPIChecker.cpp 42 SymbolRef Region;
46 Region(R) {}
50 Region == X.Region);
55 ID.AddPointer(Region);
125 R->markInteresting(AP.second->Region);
130 /// region.
133 // The allocated region symbol tracked by the main analysis.
222 // Report deallocator mismatch. Remove the region from tracking - reporting a
290 Report->markInteresting(AS->Region);
    [all...]
MoveChecker.cpp 147 // be easily obtained from the memory region, it is supplied separately.
161 : Chk(Chk), Region(R), RD(RD), MK(MK), Found(false) {}
166 ID.AddPointer(Region);
168 // the region. In practice though, it's not always possible to obtain
169 // the declaration directly from the region, that's why we store it
179 // The tracked region.
180 const MemRegion *Region;
211 void modelUse(ProgramStateRef State, const MemRegion *Region,
217 ExplodedNode *reportBug(const MemRegion *Region, const CXXRecordDecl *RD,
224 const MemRegion *Region,
    [all...]
NullabilityChecker.cpp 138 NullabilityBugVisitor(const MemRegion *M) : Region(M) {}
143 ID.AddPointer(Region);
151 // The tracked region.
152 const MemRegion *Region;
161 ExplodedNode *N, const MemRegion *Region,
167 const MemRegion *Region, BugReporter &BR,
171 if (Region) {
172 R->markInteresting(Region);
173 R->addVisitor(std::make_unique<NullabilityBugVisitor>(Region));
186 /// If an SVal wraps a region that should be tracked, it will return a pointe
    [all...]
MallocChecker.cpp 471 /// - (OPTIONAL) second: size of the allocated region
639 /// sized memory region.
732 /// region.
737 // The allocated region symbol tracked by the main analysis.
743 // A symbol from when the primary region should have been reallocated.
1527 // Bind the return value to the symbolic value from the heap region.
1537 // Fill the region with the initialization value.
1540 // Set the region's extent.
1730 // Non-region locations (labels and fixed addresses) also shouldn't be freed.
2559 const MemRegion *Region = nullptr
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
RegionInfo.cpp 1 //===- RegionInfo.cpp - SESE region detection analysis --------------------===//
25 #define DEBUG_TYPE "region"
42 "verify-region-info",
44 cl::desc("Verify region info (time consuming)"));
46 static cl::opt<Region::PrintStyle, true> printStyleX("print-region-style",
51 clEnumValN(Region::PrintNone, "none", "print no details"),
52 clEnumValN(Region::PrintBB, "bb",
54 clEnumValN(Region::PrintRN, "rn",
58 // Region implementatio
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
GCNIterativeScheduler.h 60 struct Region {
69 // best schedule for the region so far (not scheduled yet)
73 SpecificBumpPtrAllocator<Region> Alloc;
74 std::vector<Region*> Regions;
84 GCNRegPressure getSchedulePressure(const Region &R,
90 GCNRegPressure getRegionPressure(const Region &R) const {
94 void setBestSchedule(Region &R,
98 void scheduleBest(Region &R);
105 void scheduleRegion(Region &R, Range &&Schedule,
117 const Region *R
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/Mips/MCTargetDesc/
MipsMCTargetDesc.cpp 149 // Absolute branch within the current 256 MB-aligned region
150 uint64_t Region = Addr & ~uint64_t(0xfffffff);
151 Target = Region + Inst.getOperand(NumOps - 1).getImm();
  /src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
WebAssemblyCFGSort.cpp 168 /// Bookkeeping for a region to help ensure that we don't mix blocks not
208 // - Between a region header and the last block in the region, there can be
228 // If MBB is a region header, add it to the active region list. We can't
230 // region.
233 // For each active region the block is in, decrement the count. If MBB is
234 // the last block in an active region, take it off the list and pick up
252 // belong to the current (innermost) region but also BBs that are
253 // dominated by the current region header. But we should not do this fo
    [all...]
  /src/external/apache2/llvm/dist/llvm/tools/llvm-cov/
SourceCoverageView.h 31 CounterMappingRegion Region;
34 ExpansionView(const CounterMappingRegion &Region,
36 : Region(Region), View(std::move(View)) {}
38 : Region(std::move(RHS.Region)), View(std::move(RHS.View)) {}
40 Region = std::move(RHS.Region);
45 unsigned getLine() const { return Region.LineStart; }
46 unsigned getStartCol() const { return Region.ColumnStart;
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
RegionInfo.h 1 //===- RegionInfo.h - SESE region analysis ----------------------*- C++ -*-===//
65 class Region;
88 using RegionT = Region;
104 /// Marker class to iterate over the elements of a Region in flat mode.
115 /// Region.
125 /// This is the entry basic block that starts this region node. If this is a
132 /// The node can hold either a Region or a BasicBlock.
137 /// The parent Region of this RegionNode.
158 /// Get the parent Region of this RegionNode.
160 /// The parent Region is the Region this RegionNode belongs to. If fo
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
HotColdSplitting.cpp 15 /// grows a maximal cold region around that block. The maximal region contains
17 /// cold as the sink. Once a region is found, it's split out of the original
149 // requires unwind destinations to be within the extraction region.
239 /// Get the benefit score of outlining \p Region.
240 static InstructionCost getOutliningBenefit(ArrayRef<BasicBlock *> Region,
245 for (BasicBlock *BB : Region)
254 /// Get the penalty score for outlining \p Region.
255 static int getOutliningPenalty(ArrayRef<BasicBlock *> Region,
265 // Find the number of distinct exit blocks for the region. Use a conservativ
    [all...]
PartialInlining.cpp 82 // Command line option to disable multi-region partial-inlining. The default is
86 cl::desc("Disable multi-region partial inlining"));
105 // Used to determine if a cold region is worth outlining based on
107 // ie. if the cold region reduces the inlining cost of the original function by
110 "min-region-size-ratio", cl::init(0.1), cl::Hidden,
123 cl::desc("Minimum BranchProbability to consider a region cold."));
136 // the least value that is used to weigh the outline region. If BFI
139 OutlineRegionFreqPercent("outline-region-freq-percent", cl::init(75),
141 cl::desc("Relative frequency of outline region to "
158 // the region to be outlined
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
MemRegion.h 61 /// Represent a region's offset within the top level base region.
63 /// The base region.
66 /// The bit offset within the base region. Can be negative.
90 // Base region classes.
97 #define REGION(Id, Parent) Id ## Kind,
121 /// Recursively retrieve the region of the most derived class instance of
125 /// Check if the region is a subregion of the given region.
126 /// Each region is a subregion of itself
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/Support/
AMDGPUMetadata.h 68 Region = 5,
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CoverageMappingGen.cpp 93 /// A region of source code that can be mapped to a counter.
101 /// The region's starting location.
104 /// The region's ending location.
107 /// Whether this region is a gap region. The count from a gap region is set
126 assert(FalseCount && "Region has no alternate counter");
137 assert(LocStart && "Region has no start location");
149 assert(LocEnd && "Region has no end location");
160 /// Spelling locations for the start and end of a source region
    [all...]
CGOpenMPRuntime.cpp 53 /// Region with outlined function for standalone 'parallel'
56 /// Region with outlined function for standalone 'task' directive.
58 /// Region for constructs that do not require function outlining,
61 /// Region with outlined function for standalone 'target' directive.
120 assert(ThreadIDVar != nullptr && "No ThreadID in OpenMP region.");
201 assert(ThreadIDVar != nullptr && "No ThreadID in OpenMP region.");
247 llvm_unreachable("No context value for inlined OpenMP region");
255 llvm_unreachable("No context value for inlined OpenMP region");
262 // If there is no outer outlined region,no need to lookup in a list of
310 /// CodeGen info about outer OpenMP region
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/ProfileData/Coverage/
CoverageMapping.h 91 /// execution count for a region of code using the collected profile count data.
207 /// A Counter mapping region associates a source range with a specific counter.
213 /// An ExpansionRegion represents a file expansion region that associates
223 /// line execution count when its the only region in the line.
334 /// Return the number of times that a region of code associated with this
365 void pushRegion(CounterMappingRegion Region, uint64_t Count,
367 if (Region.Kind == CounterMappingRegion::BranchRegion) {
368 CountedBranchRegions.emplace_back(Region, Count, FalseCount);
369 // If both counters are hard-coded to zero, then this region represents a
371 if (Region.Count.isZero() && Region.FalseCount.isZero()
    [all...]
  /src/sys/external/bsd/acpica/dist/include/
acobject.h 97 #define AOPOBJ_OBJECT_INITIALIZED 0x08 /* Region is initialized */
99 #define AOPOBJ_SETUP_COMPLETE 0x20 /* Region setup is complete */
100 #define AOPOBJ_INVALID 0x40 /* Host OS won't allow a Region address */
204 union acpi_operand_object *Handler; /* Handler for region access */
330 /* COMMON FIELD (for BUFFER, REGION, BANK, and INDEX fields) */
336 union acpi_operand_object *RegionObj; /* Parent Operation Region object (REGION/BANK fields only) */
476 * Currently: Region and FieldUnit types
481 ACPI_NAMESPACE_NODE *Method_REG; /* _REG method for this region (if any) */
483 void *RegionContext; /* Region-specific data *
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
ExprEngine.cpp 114 /// memory region of a freshly constructed object while modeling the AST node
116 /// Semantics of such nodes may sometimes require access to the region that's
321 // mode. Only create a region if the current value is a NonLoc.
329 // We need to create a region no matter what. For sanity, make sure we don't
330 // try to stuff a Loc into a non-pointer temporary region.
367 // Take the region for Init, i.e. for the whole object. If we do not remember
368 // the region in which the object originally was constructed, come up with
369 // a new temporary region out of thin air and copy the contents of the object
371 // into that region. This is not correct, but it is better than nothing.
381 // put it in a different region to prevent "address leakage" warnings
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaChecking.cpp 13230 /// A region within an expression which may be sequenced with respect
13231 /// to some other region.
13303 /// Bundle together a sequencing region and the expression corresponding
13330 /// The region we are currently within.
13331 SequenceTree::Seq Region;
13429 if (!U.UsageExpr || !Tree.isUnsequenced(Region, U.Seq)) {
13435 // Then record the new usage with the current sequencing region.
13437 U.Seq = Region;
13452 if (!U.UsageExpr || !Tree.isUnsequenced(Region, U.Seq))
13524 : Base(S.Context), SemaRef(S), Region(Tree.root()), WorkList(WorkList)
    [all...]

Completed in 56 milliseconds