Searched defs:Depth (Results 1 - 25 of 74) sorted by relevance

123

/external/clang/lib/Sema/
H A DScope.cpp35 Depth = parent->Depth + 1;
48 Depth = 0;
214 OS << "Depth: " << Depth << '\n'; local
H A DSemaTemplateVariadic.cpp552 unsigned Depth = 0, Index = 0; local
558 Depth = TTP->getDepth();
566 std::tie(Depth, Index) = getDepthAndIndex(ND);
593 if (Depth >= TemplateArgs.getNumLevels() ||
594 !TemplateArgs.hasTemplateArgument(Depth, Index)) {
600 NewPackSize = TemplateArgs(Depth, Index).pack_size();
612 if (PartialDepth == Depth && PartialIndex == Index)
655 unsigned Depth; local
660 Depth = TTP->getDepth();
682 std::tie(Depth, Inde
[all...]
/external/expat/examples/
H A Doutline.c46 int Depth; variable
53 for (i = 0; i < Depth; i++)
63 Depth++;
69 Depth--;
/external/javassist/src/main/javassist/runtime/
H A DCflow.java26 private static class Depth { class in class:Cflow
28 Depth() { depth = 0; } method in class:Cflow.Depth
35 return new Depth();
41 public void enter() { ((Depth)get()).inc(); }
46 public void exit() { ((Depth)get()).dec(); }
51 public int value() { return ((Depth)get()).get(); }
/external/libcxxabi/test/
H A Ddynamic_cast_stress.pass.cpp14 template <std::size_t Indx, std::size_t Depth>
16 : public virtual C<Indx, Depth-1>,
17 public virtual C<Indx+1, Depth-1>
28 template <std::size_t Indx, std::size_t Depth>
30 : public virtual C<Indx, Depth-1>,
31 public virtual C<Indx+1, Depth-1>
35 template <class Indx, std::size_t Depth>
38 template <std::size_t ...Indx, std::size_t Depth>
39 struct makeB<std::__tuple_indices<Indx...>, Depth>
40 : public B<Indx, Depth>
53 const std::size_t Depth = 5; local
[all...]
/external/llvm/lib/Transforms/ObjCARC/
H A DObjCARCAPElim.cpp44 static bool MayAutorelease(ImmutableCallSite CS, unsigned Depth = 0);
71 bool ObjCARCAPElim::MayAutorelease(ImmutableCallSite CS, unsigned Depth) { argument
80 if (Depth < 3 &&
82 MayAutorelease(JCS, Depth + 1))
/external/clang/include/clang/Sema/
H A DTemplate.h65 const TemplateArgument &operator()(unsigned Depth, unsigned Index) const { argument
66 assert(Depth < TemplateArgumentLists.size());
67 assert(Index < TemplateArgumentLists[getNumLevels() - Depth - 1].size());
68 return TemplateArgumentLists[getNumLevels() - Depth - 1][Index];
75 bool hasTemplateArgument(unsigned Depth, unsigned Index) const {
76 assert(Depth < TemplateArgumentLists.size());
78 if (Index >= TemplateArgumentLists[getNumLevels() - Depth - 1].size())
81 return !(*this)(Depth, Index).isNull();
85 void setArgument(unsigned Depth, unsigned Index,
87 assert(Depth < TemplateArgumentList
[all...]
H A DScope.h136 /// Depth - This is the depth of this scope. The translation-unit scope has
138 unsigned short Depth; member in class:clang::Scope
433 bool Contains(const Scope& rhs) const { return Depth < rhs.Depth; }
/external/llvm/include/llvm/CodeGen/
H A DScoreboardHazardRecognizer.h46 size_t Depth; member in class:llvm::ScoreboardHazardRecognizer::Scoreboard
50 Scoreboard():Data(nullptr), Depth(0), Head(0) { }
55 size_t getDepth() const { return Depth; }
57 // Depth is expected to be a power-of-2.
58 assert(Depth && !(Depth & (Depth - 1)) &&
61 return Data[(Head + idx) & (Depth-1)];
66 Depth = d;
67 Data = new unsigned[Depth];
[all...]
H A DMachineTraceMetrics.h226 unsigned Depth; member in struct:llvm::MachineTraceMetrics::InstrCycles
287 /// Return the Depth of a PHI instruction in a trace center block successor.
/external/llvm/lib/Support/
H A DSignals.cpp52 static bool findModulesAndOffsets(void **StackTrace, int Depth,
65 static bool printSymbolizedStackTrace(void **StackTrace, int Depth,
70 static bool printSymbolizedStackTrace(void **StackTrace, int Depth, argument
89 std::vector<const char *> Modules(Depth, nullptr);
90 std::vector<intptr_t> Offsets(Depth, 0);
91 if (!findModulesAndOffsets(StackTrace, Depth, Modules.data(), Offsets.data(),
103 for (int i = 0; i < Depth; i++) {
137 for (int i = 0; i < Depth; i++) {
/external/llvm/lib/Target/NVPTX/
H A DNVPTXFavorNonGenericAddrSpaces.cpp104 Value *hoistAddrSpaceCastFrom(Value *V, int Depth = 0);
106 Value *hoistAddrSpaceCastFromGEP(GEPOperator *GEP, int Depth);
108 Value *hoistAddrSpaceCastFromBitCast(BitCastOperator *BC, int Depth);
146 GEPOperator *GEP, int Depth) {
148 hoistAddrSpaceCastFrom(GEP->getPointerOperand(), Depth + 1);
184 BitCastOperator *BC, int Depth) {
185 Value *NewOperand = hoistAddrSpaceCastFrom(BC->getOperand(0), Depth + 1);
221 int Depth) {
228 if (Depth >= MaxDepth)
235 return hoistAddrSpaceCastFromGEP(GEP, Depth);
145 hoistAddrSpaceCastFromGEP( GEPOperator *GEP, int Depth) argument
183 hoistAddrSpaceCastFromBitCast( BitCastOperator *BC, int Depth) argument
220 hoistAddrSpaceCastFrom(Value *V, int Depth) argument
[all...]
/external/clang/tools/libclang/
H A DCXComment.cpp336 unsigned clang_TParamCommandComment_getIndex(CXComment CXC, unsigned Depth) { argument
338 if (!TPCC || !TPCC->isPositionValid() || Depth >= TPCC->getDepth())
341 return TPCC->getIndex(Depth);
/external/llvm/lib/CodeGen/
H A DMachineTraceMetrics.cpp330 unsigned Depth = PredTBI->InstrDepth + CurCount; local
331 if (!Best || Depth < BestDepth)
332 Best = Pred, BestDepth = Depth;
766 unsigned Len = LIR.Height + Cycles[DefMI].Depth;
839 unsigned DepCycle = Cycles.lookup(Dep.DefMI).Depth;
848 MICycles.Depth = Cycle;
1100 TBI.CriticalPath = std::max(TBI.CriticalPath, Cycle + MICycles.Depth);
1151 return getCriticalPath() - (Cyc.Depth + Cyc.Height);
1161 unsigned DepCycle = getInstrCycles(Dep.DefMI).Depth;
/external/llvm/lib/Target/AMDGPU/
H A DSILowerControlFlow.cpp476 unsigned Depth = 0; local
497 ++Depth;
518 ++Depth;
523 if (--Depth == 0 && HaveKill) {
531 if (Depth == 0)
/external/llvm/include/llvm/IR/
H A DLegacyPassManagers.h306 explicit PMDataManager() : TPM(nullptr), Depth(0) {
374 unsigned getDepth() const { return Depth; }
375 void setDepth(unsigned newDepth) { Depth = newDepth; }
437 unsigned Depth; member in class:llvm::PMDataManager
/external/llvm/lib/DebugInfo/DWARF/
H A DDWARFUnit.cpp198 uint32_t Depth = 0; local
220 ++Depth;
223 if (Depth > 0)
224 --Depth;
225 if (Depth == 0)
/external/llvm/lib/ProfileData/
H A DSampleProfReader.cpp81 /// \param Depth the depth of the inline stack.
88 static bool ParseLine(const StringRef &Input, bool &IsCallsite, uint32_t &Depth, argument
92 for (Depth = 0; Input[Depth] == ' '; Depth++)
94 if (Depth == 0)
98 StringRef Loc = Input.substr(Depth, n1 - Depth);
192 uint32_t Depth, LineOffset, Discriminator; local
193 if (!ParseLine(*LineIt, IsCallsite, Depth, NumSample
[all...]
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineInternal.h472 unsigned Depth, Instruction *CxtI) const {
473 return llvm::computeKnownBits(V, KnownZero, KnownOne, DL, Depth, AC, CxtI,
477 bool MaskedValueIsZero(Value *V, const APInt &Mask, unsigned Depth = 0,
479 return llvm::MaskedValueIsZero(V, Mask, DL, Depth, AC, CxtI, DT);
481 unsigned ComputeNumSignBits(Value *Op, unsigned Depth = 0,
483 return llvm::ComputeNumSignBits(Op, DL, Depth, AC, CxtI, DT);
486 unsigned Depth = 0, Instruction *CxtI = nullptr) const {
487 return llvm::ComputeSignBit(V, KnownZero, KnownOne, DL, Depth, AC, CxtI,
516 APInt &KnownOne, unsigned Depth,
519 APInt &KnownOne, unsigned Depth
471 computeKnownBits(Value *V, APInt &KnownZero, APInt &KnownOne, unsigned Depth, Instruction *CxtI) const argument
[all...]
H A DInstCombineSimplifyDemanded.cpp73 unsigned Depth) {
76 KnownOne, Depth, UserI);
106 unsigned Depth,
109 assert(Depth <= 6 && "Limit Search Depth");
139 if (Depth == 6) // Limit search depth.
147 computeKnownBits(V, KnownZero, KnownOne, Depth, CxtI);
154 if (Depth != 0 && !I->hasOneUse()) {
161 computeKnownBits(I->getOperand(1), RHSKnownZero, RHSKnownOne, Depth + 1,
163 computeKnownBits(I->getOperand(0), LHSKnownZero, LHSKnownOne, Depth
71 SimplifyDemandedBits(Use &U, APInt DemandedMask, APInt &KnownZero, APInt &KnownOne, unsigned Depth) argument
104 SimplifyDemandedUseBits(Value *V, APInt DemandedMask, APInt &KnownZero, APInt &KnownOne, unsigned Depth, Instruction *CxtI) argument
876 SimplifyDemandedVectorElts(Value *V, APInt DemandedElts, APInt &UndefElts, unsigned Depth) argument
[all...]
/external/ImageMagick/coders/
H A Dwpg.c897 unsigned int Depth;
906 unsigned char Depth;
919 unsigned int Depth;
1047 BitmapHeader1.Depth=ReadBlobLSBShort(image);
1059 bpp=BitmapHeader1.Depth;
1099 BitmapHeader2.Depth=ReadBlobLSBShort(image);
1117 bpp=BitmapHeader2.Depth;
1289 Bitmap2Header1.Depth=ReadBlobByte(image);
1294 switch(Bitmap2Header1.Depth)
892 unsigned int Depth; member in struct:__anon159
901 unsigned char Depth; member in struct:__anon160
914 unsigned int Depth; member in struct:__anon161
/external/clang/lib/Parse/
H A DParseTemplate.cpp317 /// angle brackets. Depth is the depth of this template-parameter-list, which
325 bool Parser::ParseTemplateParameters(unsigned Depth, argument
338 Failed = ParseTemplateParameterList(Depth, TemplateParams);
365 Parser::ParseTemplateParameterList(unsigned Depth, argument
369 = ParseTemplateParameter(Depth, TemplateParams.size())) {
475 Decl *Parser::ParseTemplateParameter(unsigned Depth, unsigned Position) { argument
477 return ParseTypeParameter(Depth, Position);
480 return ParseTemplateTemplateParameter(Depth, Position);
485 return ParseNonTypeTemplateParameter(Depth, Position);
497 Decl *Parser::ParseTypeParameter(unsigned Depth, unsigne argument
560 ParseTemplateTemplateParameter(unsigned Depth, unsigned Position) argument
666 ParseNonTypeTemplateParameter(unsigned Depth, unsigned Position) argument
[all...]
/external/eigen/Eigen/src/Core/
H A DGeneralProduct.h45 template<int Rows, int Cols, int Depth> struct product_type_selector;
68 Depth = EIGEN_SIZE_MIN_PREFER_FIXED(_Lhs::ColsAtCompileTime, enumerator in enum:Eigen::internal::product_type::__anon5084
79 depth_select = product_size_category<Depth,MaxDepth>::value
92 EIGEN_DEBUG_VAR(Depth);
107 template<int Depth> struct product_type_selector<1, 1, Depth> { enum { ret = InnerProduct }; };
/external/llvm/include/llvm/Analysis/
H A DRegionInfoImpl.h432 unsigned Depth = 0; local
435 ++Depth;
437 return Depth;
/external/llvm/lib/Analysis/
H A DGlobalsModRef.cpp623 int &Depth,
646 if (++Depth > 4)
715 int Depth = 0; local
757 if (++Depth > 4)
764 if (isNonEscapingGlobalNoAliasWithLoad(GV, Ptr, Depth, DL))
621 isNonEscapingGlobalNoAliasWithLoad(const GlobalValue *GV, const Value *V, int &Depth, const DataLayout &DL) argument

Completed in 1465 milliseconds

123