Home
last modified time | relevance | path

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

1234

/freebsd-9-stable/contrib/llvm/include/llvm/CodeGen/
DScoreboardHazardRecognizer.h46 size_t Depth; variable
50 Scoreboard():Data(NULL), 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()
DScheduleDAG.h300 unsigned Depth; // Node depth.
320 isDepthCurrent(false), isHeightCurrent(false), Depth(0), Height(0),
334 isDepthCurrent(false), isHeightCurrent(false), Depth(0), Height(0),
347 isDepthCurrent(false), isHeightCurrent(false), Depth(0), Height(0),
406 return Depth;
/freebsd-9-stable/contrib/llvm/lib/Analysis/
DValueTracking.cpp50 const DataLayout *TD, unsigned Depth) { in ComputeMaskedBitsAddSub() argument
61 llvm::ComputeMaskedBits(Op1, KnownZero2, KnownOne2, TD, Depth+1); in ComputeMaskedBitsAddSub()
82 llvm::ComputeMaskedBits(Op0, LHSKnownZero, LHSKnownOne, TD, Depth+1); in ComputeMaskedBitsAddSub()
87 llvm::ComputeMaskedBits(Op1, KnownZero2, KnownOne2, TD, Depth+1); in ComputeMaskedBitsAddSub()
136 const DataLayout *TD, unsigned Depth) { in ComputeMaskedBitsMul() argument
138 ComputeMaskedBits(Op1, KnownZero, KnownOne, TD, Depth+1); in ComputeMaskedBitsMul()
139 ComputeMaskedBits(Op0, KnownZero2, KnownOne2, TD, Depth+1); in ComputeMaskedBitsMul()
162 isKnownNonZero(Op0, TD, Depth)) || in ComputeMaskedBitsMul()
164 isKnownNonZero(Op1, TD, Depth)); in ComputeMaskedBitsMul()
230 const DataLayout *TD, unsigned Depth) { in ComputeMaskedBits() argument
[all …]
/freebsd-9-stable/contrib/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp71 unsigned Depth) { in SimplifyDemandedBits() argument
73 KnownZero, KnownOne, Depth); in SimplifyDemandedBits()
103 unsigned Depth) { in SimplifyDemandedUseBits() argument
105 assert(Depth <= 6 && "Limit Search Depth"); in SimplifyDemandedUseBits()
138 if (Depth == 6) // Limit search depth. in SimplifyDemandedUseBits()
146 ComputeMaskedBits(V, KnownZero, KnownOne, Depth); in SimplifyDemandedUseBits()
153 if (Depth != 0 && !I->hasOneUse()) { in SimplifyDemandedUseBits()
160 ComputeMaskedBits(I->getOperand(1), RHSKnownZero, RHSKnownOne, Depth+1); in SimplifyDemandedUseBits()
161 ComputeMaskedBits(I->getOperand(0), LHSKnownZero, LHSKnownOne, Depth+1); in SimplifyDemandedUseBits()
182 ComputeMaskedBits(I->getOperand(1), RHSKnownZero, RHSKnownOne, Depth+1); in SimplifyDemandedUseBits()
[all …]
DInstCombine.h304 APInt &KnownOne, unsigned Depth = 0) const {
305 return llvm::ComputeMaskedBits(V, KnownZero, KnownOne, TD, Depth);
309 unsigned Depth = 0) const {
310 return llvm::MaskedValueIsZero(V, Mask, TD, Depth);
312 unsigned ComputeNumSignBits(Value *Op, unsigned Depth = 0) const {
313 return llvm::ComputeNumSignBits(Op, TD, Depth);
333 unsigned Depth);
336 unsigned Depth=0);
349 APInt& UndefElts, unsigned Depth = 0);
/freebsd-9-stable/contrib/llvm/include/llvm/Analysis/
DValueTracking.h41 const DataLayout *TD = 0, unsigned Depth = 0);
47 const DataLayout *TD = 0, unsigned Depth = 0);
54 bool isKnownToBeAPowerOfTwo(Value *V, bool OrZero = false, unsigned Depth = 0);
60 bool isKnownNonZero(Value *V, const DataLayout *TD = 0, unsigned Depth = 0);
72 const DataLayout *TD = 0, unsigned Depth = 0);
84 unsigned Depth = 0);
93 unsigned Depth = 0);
98 bool CannotBeNegativeZero(const Value *V, unsigned Depth = 0);
/freebsd-9-stable/contrib/llvm/tools/clang/include/clang/Sema/
DTemplate.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 …]
/freebsd-9-stable/contrib/expat/examples/
Doutline.c46 int Depth; variable
54 for (i = 0; i < Depth; i++) in start()
64 Depth++; in start()
73 Depth--; in end()
/freebsd-9-stable/contrib/llvm/lib/Transforms/ObjCARC/
DObjCARCAPElim.cpp43 static bool MayAutorelease(ImmutableCallSite CS, unsigned Depth = 0);
70 bool ObjCARCAPElim::MayAutorelease(ImmutableCallSite CS, unsigned Depth) { in MayAutorelease() argument
82 if (Depth < 3 && in MayAutorelease()
84 MayAutorelease(JCS, Depth + 1)) in MayAutorelease()
/freebsd-9-stable/contrib/llvm/tools/clang/lib/Sema/
DScope.cpp33 Depth = parent->Depth + 1; in Init()
40 Depth = 0; in Init()
DSemaTemplateVariadic.cpp543 unsigned Depth = 0, Index = 0; in CheckParameterPacksForExpansion() local
549 Depth = TTP->getDepth(); in CheckParameterPacksForExpansion()
557 llvm::tie(Depth, Index) = getDepthAndIndex(ND); in CheckParameterPacksForExpansion()
584 if (Depth >= TemplateArgs.getNumLevels() || in CheckParameterPacksForExpansion()
585 !TemplateArgs.hasTemplateArgument(Depth, Index)) { in CheckParameterPacksForExpansion()
591 NewPackSize = TemplateArgs(Depth, Index).pack_size(); in CheckParameterPacksForExpansion()
603 if (PartialDepth == Depth && PartialIndex == Index) in CheckParameterPacksForExpansion()
646 unsigned Depth; in getNumArgumentsInExpansion() local
651 Depth = TTP->getDepth(); in getNumArgumentsInExpansion()
673 llvm::tie(Depth, Index) = getDepthAndIndex(ND); in getNumArgumentsInExpansion()
[all …]
DSemaTemplateDeduction.cpp785 unsigned Depth, Index; in DeduceTemplateArguments() local
786 llvm::tie(Depth, Index) = getDepthAndIndex(Unexpanded[I]); in DeduceTemplateArguments()
787 if (Depth == 0 && !SawIndices[Index]) { in DeduceTemplateArguments()
1856 unsigned Depth, Index; in DeduceTemplateArguments() local
1857 llvm::tie(Depth, Index) = getDepthAndIndex(Unexpanded[I]); in DeduceTemplateArguments()
1858 if (Depth == 0 && !SawIndices[Index]) { in DeduceTemplateArguments()
3408 unsigned Depth, Index; in DeduceTemplateArguments() local
3409 llvm::tie(Depth, Index) = getDepthAndIndex(Unexpanded[I]); in DeduceTemplateArguments()
3410 if (Depth == 0 && !SawIndices[Index]) { in DeduceTemplateArguments()
4711 unsigned Depth,
[all …]
/freebsd-9-stable/contrib/llvm/tools/clang/lib/Parse/
DParseTemplate.cpp300 bool Parser::ParseTemplateParameters(unsigned Depth, in ParseTemplateParameters() argument
314 Failed = ParseTemplateParameterList(Depth, TemplateParams); in ParseTemplateParameters()
343 Parser::ParseTemplateParameterList(unsigned Depth, in ParseTemplateParameterList() argument
347 = ParseTemplateParameter(Depth, TemplateParams.size())) { in ParseTemplateParameterList()
453 Decl *Parser::ParseTemplateParameter(unsigned Depth, unsigned Position) { in ParseTemplateParameter() argument
455 return ParseTypeParameter(Depth, Position); in ParseTemplateParameter()
458 return ParseTemplateTemplateParameter(Depth, Position); in ParseTemplateParameter()
463 return ParseNonTypeTemplateParameter(Depth, Position); in ParseTemplateParameter()
475 Decl *Parser::ParseTypeParameter(unsigned Depth, unsigned Position) { in ParseTypeParameter() argument
524 Depth, Position, EqualLoc, DefaultArg); in ParseTypeParameter()
[all …]
/freebsd-9-stable/contrib/llvm/lib/CodeGen/
DScheduleDAGInstrs.cpp565 SUnit *SUa, SUnit *SUb, SUnit *ExitSU, unsigned *Depth, in iterateChainSucc() argument
568 return *Depth; in iterateChainSucc()
572 return *Depth; in iterateChainSucc()
585 return *Depth; in iterateChainSucc()
590 if (*Depth > 200 || in iterateChainSucc()
593 return *Depth; in iterateChainSucc()
596 (*Depth)++; in iterateChainSucc()
601 iterateChainSucc (AA, MFI, SUa, I->getSUnit(), ExitSU, Depth, Visited); in iterateChainSucc()
602 return *Depth; in iterateChainSucc()
616 unsigned Depth = 0; in adjustChainDeps() local
[all …]
DMachineTraceMetrics.cpp336 unsigned Depth = PredTBI->InstrDepth + CurCount; in pickTracePred() local
337 if (!Best || Depth < BestDepth) in pickTracePred()
338 Best = Pred, BestDepth = Depth; in pickTracePred()
775 unsigned Len = LIR.Height + Cycles[DefMI].Depth; in computeCrossBlockCriticalPath()
852 unsigned DepCycle = Cycles.lookup(Dep.DefMI).Depth; in computeInstrDepths()
861 MICycles.Depth = Cycle; in computeInstrDepths()
1111 TBI.CriticalPath = std::max(TBI.CriticalPath, Cycle + MICycles.Depth); in computeInstrHeights()
1158 return getCriticalPath() - (Cyc.Depth + Cyc.Height); in getInstrSlack()
1168 unsigned DepCycle = getInstrCycles(Dep.DefMI).Depth; in getPHIDepth()
/freebsd-9-stable/contrib/llvm/lib/Transforms/Scalar/
DCodeGenPrepare.cpp923 bool MatchScaledValue(Value *ScaleReg, int64_t Scale, unsigned Depth);
924 bool MatchAddr(Value *V, unsigned Depth);
925 bool MatchOperationAddr(User *Operation, unsigned Opcode, unsigned Depth);
936 unsigned Depth) { in MatchScaledValue() argument
940 return MatchAddr(ScaleReg, Depth); in MatchScaledValue()
1021 unsigned Depth) { in MatchOperationAddr() argument
1023 if (Depth >= 5) return false; in MatchOperationAddr()
1028 return MatchAddr(AddrInst->getOperand(0), Depth); in MatchOperationAddr()
1033 return MatchAddr(AddrInst->getOperand(0), Depth); in MatchOperationAddr()
1044 return MatchAddr(AddrInst->getOperand(0), Depth); in MatchOperationAddr()
[all …]
/freebsd-9-stable/contrib/llvm/lib/DebugInfo/
DDWARFUnit.cpp172 uint32_t Depth = 0; in extractDIEsToVector() local
195 ++Depth; in extractDIEsToVector()
198 if (Depth > 0) in extractDIEsToVector()
199 --Depth; in extractDIEsToVector()
200 if (Depth == 0) in extractDIEsToVector()
/freebsd-9-stable/sys/contrib/dev/acpica/debugger/
Ddbinput.c327 UINT32 Depth; in AcpiDbGetNextToken() local
392 Depth = 1; in AcpiDbGetNextToken()
418 Depth++; /* A nested package declaration */ in AcpiDbGetNextToken()
422 Depth--; in AcpiDbGetNextToken()
423 if (Depth == 0) /* Found final package closing bracket */ in AcpiDbGetNextToken()
/freebsd-9-stable/contrib/llvm/include/llvm/IR/
DLegacyPassManagers.h266 explicit PMDataManager() : TPM(NULL), Depth(0) { in PMDataManager()
335 unsigned getDepth() const { return Depth; } in getDepth()
336 void setDepth(unsigned newDepth) { Depth = newDepth; } in setDepth()
398 unsigned Depth; variable
/freebsd-9-stable/sys/contrib/dev/acpica/executer/
Dexdump.c471 UINT32 Depth) in AcpiExDumpOperand() argument
511 if (Depth > 0) in AcpiExDumpOperand()
514 Depth, " ", Depth, ObjDesc)); in AcpiExDumpOperand()
622 AcpiExDumpOperand (ObjDesc->Package.Elements[Index], Depth+1); in AcpiExDumpOperand()
679 AcpiExDumpOperand (ObjDesc->Field.RegionObj, Depth+1); in AcpiExDumpOperand()
707 AcpiExDumpOperand (ObjDesc->BufferField.BufferObj, Depth+1); in AcpiExDumpOperand()
/freebsd-9-stable/contrib/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp372 unsigned Depth) const { in SimplifyDemandedBits()
384 if (Depth != 0) { in SimplifyDemandedBits()
387 TLO.DAG.ComputeMaskedBits(Op, KnownZero, KnownOne, Depth); in SimplifyDemandedBits()
398 } else if (Depth == 6) { // Limit search depth. in SimplifyDemandedBits()
417 TLO.DAG.ComputeMaskedBits(Op.getOperand(0), LHSZero, LHSOne, Depth); in SimplifyDemandedBits()
428 KnownOne, TLO, Depth+1)) in SimplifyDemandedBits()
432 KnownZero2, KnownOne2, TLO, Depth+1)) in SimplifyDemandedBits()
459 KnownOne, TLO, Depth+1)) in SimplifyDemandedBits()
463 KnownZero2, KnownOne2, TLO, Depth+1)) in SimplifyDemandedBits()
493 KnownOne, TLO, Depth+1)) in SimplifyDemandedBits()
[all …]
DSelectionDAG.cpp1743 bool SelectionDAG::SignBitIsZero(SDValue Op, unsigned Depth) const { in SignBitIsZero()
1749 return MaskedValueIsZero(Op, APInt::getSignBit(BitWidth), Depth); in SignBitIsZero()
1756 unsigned Depth) const { in MaskedValueIsZero()
1758 ComputeMaskedBits(Op, KnownZero, KnownOne, Depth); in MaskedValueIsZero()
1768 APInt &KnownOne, unsigned Depth) const { in ComputeMaskedBits()
1773 if (Depth == 6) in ComputeMaskedBits()
1786 ComputeMaskedBits(Op.getOperand(1), KnownZero, KnownOne, Depth+1); in ComputeMaskedBits()
1787 ComputeMaskedBits(Op.getOperand(0), KnownZero2, KnownOne2, Depth+1); in ComputeMaskedBits()
1797 ComputeMaskedBits(Op.getOperand(1), KnownZero, KnownOne, Depth+1); in ComputeMaskedBits()
1798 ComputeMaskedBits(Op.getOperand(0), KnownZero2, KnownOne2, Depth+1); in ComputeMaskedBits()
[all …]
/freebsd-9-stable/contrib/llvm/tools/clang/include/clang/Parse/
DParser.h182 unsigned &Depth; variable
185 explicit TemplateParameterDepthRAII(unsigned &Depth) in TemplateParameterDepthRAII() argument
186 : Depth(Depth), AddedLevels(0) {} in TemplateParameterDepthRAII()
189 Depth -= AddedLevels; in ~TemplateParameterDepthRAII()
193 ++Depth;
196 unsigned getDepth() const { return Depth; } in getDepth()
2253 bool ParseTemplateParameters(unsigned Depth,
2257 bool ParseTemplateParameterList(unsigned Depth,
2260 Decl *ParseTemplateParameter(unsigned Depth, unsigned Position);
2261 Decl *ParseTypeParameter(unsigned Depth, unsigned Position);
[all …]
/freebsd-9-stable/contrib/llvm/tools/clang/lib/ASTMatchers/
DASTMatchFinder.cpp206 explicit ScopedIncrement(int *Depth) : Depth(Depth) { ++(*Depth); } in ScopedIncrement()
207 ~ScopedIncrement() { --(*Depth); } in ~ScopedIncrement()
210 int *Depth; member
/freebsd-9-stable/contrib/llvm/lib/Target/R600/
DSILowerControlFlow.cpp444 unsigned Depth = 0; in runOnMachineFunction() local
463 ++Depth; in runOnMachineFunction()
484 ++Depth; in runOnMachineFunction()
489 if (--Depth == 0 && HaveKill) { in runOnMachineFunction()
497 if (Depth == 0) in runOnMachineFunction()

1234