Home
last modified time | relevance | path

Searched refs:Depth (Results 1 – 25 of 125) sorted by relevance

12345

/NextBSD/contrib/llvm/include/llvm/CodeGen/
HDScoreboardHazardRecognizer.h46 size_t Depth; variable
50 Scoreboard():Data(nullptr), Depth(0), Head(0) { } in Scoreboard()
55 size_t getDepth() const { return Depth; } in getDepth()
58 assert(Depth && !(Depth & (Depth - 1)) &&
61 return Data[(Head + idx) & (Depth-1)];
66 Depth = d;
67 Data = new unsigned[Depth];
70 memset(Data, 0, Depth * sizeof(Data[0]));
75 Head = (Head + 1) & (Depth-1); in advance()
79 Head = (Head - 1) & (Depth-1); in recede()
/NextBSD/contrib/llvm/lib/Analysis/
HDValueTracking.cpp130 const DataLayout &DL, unsigned Depth,
134 const DataLayout &DL, unsigned Depth, in computeKnownBits() argument
137 ::computeKnownBits(V, KnownZero, KnownOne, DL, Depth, in computeKnownBits()
157 const DataLayout &DL, unsigned Depth,
161 const DataLayout &DL, unsigned Depth, in ComputeSignBit() argument
164 ::ComputeSignBit(V, KnownZero, KnownOne, DL, Depth, in ComputeSignBit()
168 static bool isKnownToBeAPowerOfTwo(Value *V, bool OrZero, unsigned Depth,
172 unsigned Depth, AssumptionCache *AC, in isKnownToBeAPowerOfTwo() argument
175 return ::isKnownToBeAPowerOfTwo(V, OrZero, Depth, in isKnownToBeAPowerOfTwo()
179 static bool isKnownNonZero(Value *V, const DataLayout &DL, unsigned Depth,
[all …]
HDLoopAccessAnalysis.cpp311 raw_ostream &OS, unsigned Depth, in print() argument
314 OS.indent(Depth) << "Run-time memory checks:\n"; in print()
320 OS.indent(Depth) << "Check " << N++ << ":\n"; in print()
321 OS.indent(Depth + 2) << "Comparing group " << I << ":\n"; in print()
324 OS.indent(Depth + 2) in print()
332 OS.indent(Depth + 2) << "Against group " << J << ":\n"; in print()
335 OS.indent(Depth + 2) in print()
344 OS.indent(Depth) << "Grouped accesses:\n"; in print()
346 OS.indent(Depth + 2) << "Group " << I << ":\n"; in print()
347 OS.indent(Depth + 4) << "(Low: " << *CheckingGroups[I].Low in print()
[all …]
/NextBSD/contrib/llvm/lib/Transforms/InstCombine/
HDInstCombineSimplifyDemanded.cpp73 unsigned Depth) { in SimplifyDemandedBits() argument
76 KnownOne, Depth, UserI); in SimplifyDemandedBits()
106 unsigned Depth, in SimplifyDemandedUseBits() argument
109 assert(Depth <= 6 && "Limit Search Depth"); in SimplifyDemandedUseBits()
139 if (Depth == 6) // Limit search depth. in SimplifyDemandedUseBits()
147 computeKnownBits(V, KnownZero, KnownOne, Depth, CxtI); in SimplifyDemandedUseBits()
154 if (Depth != 0 && !I->hasOneUse()) { in SimplifyDemandedUseBits()
161 computeKnownBits(I->getOperand(1), RHSKnownZero, RHSKnownOne, Depth + 1, in SimplifyDemandedUseBits()
163 computeKnownBits(I->getOperand(0), LHSKnownZero, LHSKnownOne, Depth + 1, in SimplifyDemandedUseBits()
185 computeKnownBits(I->getOperand(1), RHSKnownZero, RHSKnownOne, Depth + 1, in SimplifyDemandedUseBits()
[all …]
HDInstCombineInternal.h465 unsigned Depth, Instruction *CxtI) const { in computeKnownBits() argument
466 return llvm::computeKnownBits(V, KnownZero, KnownOne, DL, Depth, AC, CxtI, in computeKnownBits()
470 bool MaskedValueIsZero(Value *V, const APInt &Mask, unsigned Depth = 0,
472 return llvm::MaskedValueIsZero(V, Mask, DL, Depth, AC, CxtI, DT);
474 unsigned ComputeNumSignBits(Value *Op, unsigned Depth = 0,
476 return llvm::ComputeNumSignBits(Op, DL, Depth, AC, CxtI, DT);
479 unsigned Depth = 0, Instruction *CxtI = nullptr) const {
480 return llvm::ComputeSignBit(V, KnownZero, KnownOne, DL, Depth, AC, CxtI,
509 APInt &KnownOne, unsigned Depth,
512 APInt &KnownOne, unsigned Depth = 0);
[all …]
/NextBSD/contrib/llvm/lib/Target/NVPTX/
HDNVPTXFavorNonGenericAddrSpaces.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) { in hoistAddrSpaceCastFromGEP() argument
148 hoistAddrSpaceCastFrom(GEP->getPointerOperand(), Depth + 1); in hoistAddrSpaceCastFromGEP()
184 BitCastOperator *BC, int Depth) { in hoistAddrSpaceCastFromBitCast() argument
185 Value *NewOperand = hoistAddrSpaceCastFrom(BC->getOperand(0), Depth + 1); in hoistAddrSpaceCastFromBitCast()
221 int Depth) { in hoistAddrSpaceCastFrom() argument
228 if (Depth >= MaxDepth) in hoistAddrSpaceCastFrom()
235 return hoistAddrSpaceCastFromGEP(GEP, Depth); in hoistAddrSpaceCastFrom()
[all …]
/NextBSD/contrib/llvm/include/llvm/Analysis/
HDValueTracking.h43 const DataLayout &DL, unsigned Depth = 0,
60 const DataLayout &DL, unsigned Depth = 0,
71 bool OrZero = false, unsigned Depth = 0,
80 bool isKnownNonZero(Value *V, const DataLayout &DL, unsigned Depth = 0,
95 unsigned Depth = 0, AssumptionCache *AC = nullptr,
108 unsigned Depth = 0, AssumptionCache *AC = nullptr,
119 unsigned Depth = 0);
124 bool CannotBeNegativeZero(const Value *V, unsigned Depth = 0);
129 bool CannotBeOrderedLessThanZero(const Value *V, unsigned Depth = 0);
/NextBSD/contrib/llvm/tools/clang/include/clang/Sema/
HDTemplate.h65 const TemplateArgument &operator()(unsigned Depth, unsigned Index) const { in operator()
66 assert(Depth < TemplateArgumentLists.size()); in operator()
67 assert(Index < TemplateArgumentLists[getNumLevels() - Depth - 1].size()); in operator()
68 return TemplateArgumentLists[getNumLevels() - Depth - 1][Index]; in operator()
75 bool hasTemplateArgument(unsigned Depth, unsigned Index) const { in hasTemplateArgument() argument
76 assert(Depth < TemplateArgumentLists.size()); in hasTemplateArgument()
78 if (Index >= TemplateArgumentLists[getNumLevels() - Depth - 1].size()) in hasTemplateArgument()
81 return !(*this)(Depth, Index).isNull(); in hasTemplateArgument()
85 void setArgument(unsigned Depth, unsigned Index, in setArgument() argument
87 assert(Depth < TemplateArgumentLists.size()); in setArgument()
[all …]
HDScope.h138 unsigned short Depth; variable
433 bool Contains(const Scope& rhs) const { return Depth < rhs.Depth; } in Contains()
/NextBSD/contrib/expat/examples/
HDoutline.c46 int Depth; variable
53 for (i = 0; i < Depth; i++) in start()
63 Depth++; in start()
69 Depth--; in end()
/NextBSD/contrib/llvm/lib/Transforms/ObjCARC/
HDObjCARCAPElim.cpp44 static bool MayAutorelease(ImmutableCallSite CS, unsigned Depth = 0);
71 bool ObjCARCAPElim::MayAutorelease(ImmutableCallSite CS, unsigned Depth) { in MayAutorelease() argument
83 if (Depth < 3 && in MayAutorelease()
85 MayAutorelease(JCS, Depth + 1)) in MayAutorelease()
/NextBSD/contrib/llvm/tools/clang/lib/Parse/
HDParseTemplate.cpp325 bool Parser::ParseTemplateParameters(unsigned Depth, in ParseTemplateParameters() argument
338 Failed = ParseTemplateParameterList(Depth, TemplateParams); in ParseTemplateParameters()
365 Parser::ParseTemplateParameterList(unsigned Depth, in ParseTemplateParameterList() argument
369 = ParseTemplateParameter(Depth, TemplateParams.size())) { in ParseTemplateParameterList()
475 Decl *Parser::ParseTemplateParameter(unsigned Depth, unsigned Position) { in ParseTemplateParameter() argument
477 return ParseTypeParameter(Depth, Position); in ParseTemplateParameter()
480 return ParseTemplateTemplateParameter(Depth, Position); in ParseTemplateParameter()
485 return ParseNonTypeTemplateParameter(Depth, Position); in ParseTemplateParameter()
497 Decl *Parser::ParseTypeParameter(unsigned Depth, unsigned Position) { in ParseTypeParameter() argument
544 KeyLoc, ParamName, NameLoc, Depth, Position, in ParseTypeParameter()
[all …]
/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaTemplateVariadic.cpp552 unsigned Depth = 0, Index = 0; in CheckParameterPacksForExpansion() local
558 Depth = TTP->getDepth(); in CheckParameterPacksForExpansion()
566 std::tie(Depth, Index) = getDepthAndIndex(ND); in CheckParameterPacksForExpansion()
593 if (Depth >= TemplateArgs.getNumLevels() || in CheckParameterPacksForExpansion()
594 !TemplateArgs.hasTemplateArgument(Depth, Index)) { in CheckParameterPacksForExpansion()
600 NewPackSize = TemplateArgs(Depth, Index).pack_size(); in CheckParameterPacksForExpansion()
612 if (PartialDepth == Depth && PartialIndex == Index) in CheckParameterPacksForExpansion()
655 unsigned Depth; in getNumArgumentsInExpansion() local
660 Depth = TTP->getDepth(); in getNumArgumentsInExpansion()
682 std::tie(Depth, Index) = getDepthAndIndex(ND); in getNumArgumentsInExpansion()
[all …]
HDScope.cpp35 Depth = parent->Depth + 1; in Init()
48 Depth = 0; in Init()
214 OS << "Depth: " << Depth << '\n'; in dumpImpl()
HDSemaTemplateDeduction.cpp594 unsigned Depth, Index; in PackDeductionScope() local
595 std::tie(Depth, Index) = getDepthAndIndex(Unexpanded[I]); in PackDeductionScope()
596 if (Depth == 0 && !SawIndices[Index]) { in PackDeductionScope()
4593 unsigned Depth,
4602 unsigned Depth, in MarkUsedTemplateParameters() argument
4631 if (NTTP->getDepth() == Depth) in MarkUsedTemplateParameters()
4641 unsigned Depth, in MarkUsedTemplateParameters() argument
4646 MarkUsedTemplateParameters(Ctx, NNS->getPrefix(), OnlyDeduced, Depth, in MarkUsedTemplateParameters()
4649 OnlyDeduced, Depth, Used); in MarkUsedTemplateParameters()
4658 unsigned Depth, in MarkUsedTemplateParameters() argument
[all …]
/NextBSD/contrib/llvm/tools/lldb/include/lldb/Interpreter/
HDCommandCompletions.h181 virtual Depth
211 virtual Searcher::Depth GetDepth ();
244 virtual Searcher::Depth GetDepth ();
275 virtual Searcher::Depth GetDepth ();
/NextBSD/contrib/llvm/lib/DebugInfo/DWARF/
HDDWARFUnit.cpp179 uint32_t Depth = 0; in extractDIEsToVector() local
201 ++Depth; in extractDIEsToVector()
204 if (Depth > 0) in extractDIEsToVector()
205 --Depth; in extractDIEsToVector()
206 if (Depth == 0) in extractDIEsToVector()
/NextBSD/contrib/llvm/lib/CodeGen/
HDScheduleDAGInstrs.cpp590 SUnit *ExitSU, unsigned *Depth, in iterateChainSucc() argument
593 return *Depth; in iterateChainSucc()
597 return *Depth; in iterateChainSucc()
610 return *Depth; in iterateChainSucc()
615 if (*Depth > 200 || in iterateChainSucc()
618 return *Depth; in iterateChainSucc()
621 (*Depth)++; in iterateChainSucc()
626 iterateChainSucc(AA, MFI, DL, SUa, I->getSUnit(), ExitSU, Depth, Visited); in iterateChainSucc()
627 return *Depth; in iterateChainSucc()
642 unsigned Depth = 0; in adjustChainDeps() local
[all …]
/NextBSD/sys/contrib/dev/acpica/compiler/
HDprmacros.c289 UINT32 Depth = 1; in PrAddMacro() local
302 Depth++; in PrAddMacro()
306 Depth--; in PrAddMacro()
314 if (Depth == 0) in PrAddMacro()
HDdtsubtable.c115 Subtable->Depth = ParentTable->Depth + 1; in DtInsertSubtable()
/NextBSD/contrib/llvm/include/llvm/IR/
HDLegacyPassManagers.h275 explicit PMDataManager() : TPM(nullptr), Depth(0) { in PMDataManager()
344 unsigned getDepth() const { return Depth; } in getDepth()
345 void setDepth(unsigned newDepth) { Depth = newDepth; } in setDepth()
407 unsigned Depth; variable
/NextBSD/sys/contrib/dev/acpica/components/debugger/
HDdbinput.c501 UINT32 Depth; in AcpiDbGetNextToken() local
566 Depth = 1; in AcpiDbGetNextToken()
592 Depth++; /* A nested package declaration */ in AcpiDbGetNextToken()
596 Depth--; in AcpiDbGetNextToken()
597 if (Depth == 0) /* Found final package closing bracket */ in AcpiDbGetNextToken()
/NextBSD/contrib/llvm/lib/CodeGen/SelectionDAG/
HDTargetLowering.cpp381 unsigned Depth) const { in SimplifyDemandedBits()
394 if (Depth != 0) { in SimplifyDemandedBits()
397 TLO.DAG.computeKnownBits(Op, KnownZero, KnownOne, Depth); in SimplifyDemandedBits()
408 } else if (Depth == 6) { // Limit search depth. in SimplifyDemandedBits()
427 TLO.DAG.computeKnownBits(Op.getOperand(0), LHSZero, LHSOne, Depth); in SimplifyDemandedBits()
438 KnownOne, TLO, Depth+1)) in SimplifyDemandedBits()
442 KnownZero2, KnownOne2, TLO, Depth+1)) in SimplifyDemandedBits()
469 KnownOne, TLO, Depth+1)) in SimplifyDemandedBits()
473 KnownZero2, KnownOne2, TLO, Depth+1)) in SimplifyDemandedBits()
503 KnownOne, TLO, Depth+1)) in SimplifyDemandedBits()
[all …]
HDSelectionDAG.cpp1999 bool SelectionDAG::SignBitIsZero(SDValue Op, unsigned Depth) const { in SignBitIsZero()
2005 return MaskedValueIsZero(Op, APInt::getSignBit(BitWidth), Depth); in SignBitIsZero()
2012 unsigned Depth) const { in MaskedValueIsZero()
2014 computeKnownBits(Op, KnownZero, KnownOne, Depth); in MaskedValueIsZero()
2021 APInt &KnownOne, unsigned Depth) const { in computeKnownBits()
2025 if (Depth == 6) in computeKnownBits()
2038 computeKnownBits(Op.getOperand(1), KnownZero, KnownOne, Depth+1); in computeKnownBits()
2039 computeKnownBits(Op.getOperand(0), KnownZero2, KnownOne2, Depth+1); in computeKnownBits()
2047 computeKnownBits(Op.getOperand(1), KnownZero, KnownOne, Depth+1); in computeKnownBits()
2048 computeKnownBits(Op.getOperand(0), KnownZero2, KnownOne2, Depth+1); in computeKnownBits()
[all …]
/NextBSD/sys/contrib/dev/acpica/components/executer/
HDexdump.c622 UINT32 Depth) in AcpiExDumpOperand() argument
664 if (Depth > 0) in AcpiExDumpOperand()
667 Depth, " ", Depth, ObjDesc)); in AcpiExDumpOperand()
766 AcpiExDumpOperand (ObjDesc->Package.Elements[Index], Depth+1); in AcpiExDumpOperand()
819 AcpiExDumpOperand (ObjDesc->Field.RegionObj, Depth+1); in AcpiExDumpOperand()
845 AcpiExDumpOperand (ObjDesc->BufferField.BufferObj, Depth+1); in AcpiExDumpOperand()

12345