Searched refs:Depth (Results 1 - 25 of 82) sorted by relevance

1234

/freebsd-9.3-release/contrib/llvm/include/llvm/CodeGen/
H A DScoreboardHazardRecognizer.h46 size_t Depth; member in class:llvm::ScoreboardHazardRecognizer::Scoreboard
50 Scoreboard():Data(NULL), 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 DScheduleDAG.h298 bool isDepthCurrent : 1; // True if Depth is current.
300 unsigned Depth; // Node depth. local
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;
428 /// stored Depth value will require recomputation the next time
H A DMachineTraceMetrics.h226 unsigned Depth; member in struct:llvm::MachineTraceMetrics::InstrCycles
286 /// Return the Depth of a PHI instruction in a trace center block successor.
/freebsd-9.3-release/contrib/llvm/include/llvm/Analysis/
H A 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.3-release/contrib/llvm/tools/clang/lib/Sema/
H A DScope.cpp33 Depth = parent->Depth + 1;
40 Depth = 0;
H A DSemaTemplateDeduction.cpp785 unsigned Depth, Index; local
786 llvm::tie(Depth, Index) = getDepthAndIndex(Unexpanded[I]);
787 if (Depth == 0 && !SawIndices[Index]) {
1856 unsigned Depth, Index; local
1857 llvm::tie(Depth, Index) = getDepthAndIndex(Unexpanded[I]);
1858 if (Depth == 0 && !SawIndices[Index]) {
3408 unsigned Depth, Index; local
3409 llvm::tie(Depth, Index) = getDepthAndIndex(Unexpanded[I]);
3410 if (Depth == 0 && !SawIndices[Index]) {
4711 unsigned Depth,
4717 MarkUsedTemplateParameters(ASTContext &Ctx, const Expr *E, bool OnlyDeduced, unsigned Depth, llvm::SmallBitVector &Used) argument
4756 MarkUsedTemplateParameters(ASTContext &Ctx, NestedNameSpecifier *NNS, bool OnlyDeduced, unsigned Depth, llvm::SmallBitVector &Used) argument
4773 MarkUsedTemplateParameters(ASTContext &Ctx, TemplateName Name, bool OnlyDeduced, unsigned Depth, llvm::SmallBitVector &Used) argument
4798 MarkUsedTemplateParameters(ASTContext &Ctx, QualType T, bool OnlyDeduced, unsigned Depth, llvm::SmallBitVector &Used) argument
5030 MarkUsedTemplateParameters(ASTContext &Ctx, const TemplateArgument &TemplateArg, bool OnlyDeduced, unsigned Depth, llvm::SmallBitVector &Used) argument
5082 MarkUsedTemplateParameters(const TemplateArgumentList &TemplateArgs, bool OnlyDeduced, unsigned Depth, llvm::SmallBitVector &Used) argument
[all...]
H A DSemaTemplateVariadic.cpp543 unsigned Depth = 0, Index = 0; local
549 Depth = TTP->getDepth();
557 llvm::tie(Depth, Index) = getDepthAndIndex(ND);
584 if (Depth >= TemplateArgs.getNumLevels() ||
585 !TemplateArgs.hasTemplateArgument(Depth, Index)) {
591 NewPackSize = TemplateArgs(Depth, Index).pack_size();
603 if (PartialDepth == Depth && PartialIndex == Index)
646 unsigned Depth; local
651 Depth = TTP->getDepth();
673 llvm::tie(Depth, Inde
[all...]
/freebsd-9.3-release/contrib/expat/examples/
H A Doutline.c46 int Depth; variable
53 for (i = 0; i < Depth; i++)
63 Depth++;
69 Depth--;
/freebsd-9.3-release/contrib/llvm/lib/Analysis/
H A DValueTracking.cpp50 const DataLayout *TD, unsigned Depth) {
61 llvm::ComputeMaskedBits(Op1, KnownZero2, KnownOne2, TD, Depth+1);
82 llvm::ComputeMaskedBits(Op0, LHSKnownZero, LHSKnownOne, TD, Depth+1);
87 llvm::ComputeMaskedBits(Op1, KnownZero2, KnownOne2, TD, Depth+1);
136 const DataLayout *TD, unsigned Depth) {
138 ComputeMaskedBits(Op1, KnownZero, KnownOne, TD, Depth+1);
139 ComputeMaskedBits(Op0, KnownZero2, KnownOne2, TD, Depth+1);
162 isKnownNonZero(Op0, TD, Depth)) ||
164 isKnownNonZero(Op1, TD, Depth));
230 const DataLayout *TD, unsigned Depth) {
47 ComputeMaskedBitsAddSub(bool Add, Value *Op0, Value *Op1, bool NSW, APInt &KnownZero, APInt &KnownOne, APInt &KnownZero2, APInt &KnownOne2, const DataLayout *TD, unsigned Depth) argument
133 ComputeMaskedBitsMul(Value *Op0, Value *Op1, bool NSW, APInt &KnownZero, APInt &KnownOne, APInt &KnownZero2, APInt &KnownOne2, const DataLayout *TD, unsigned Depth) argument
229 ComputeMaskedBits(Value *V, APInt &KnownZero, APInt &KnownOne, const DataLayout *TD, unsigned Depth) argument
802 ComputeSignBit(Value *V, bool &KnownZero, bool &KnownOne, const DataLayout *TD, unsigned Depth) argument
821 isKnownToBeAPowerOfTwo(Value *V, bool OrZero, unsigned Depth) argument
916 isGEPKnownNonNull(GEPOperator *GEP, const DataLayout *DL, unsigned Depth) argument
980 isKnownNonZero(Value *V, const DataLayout *TD, unsigned Depth) argument
1115 MaskedValueIsZero(Value *V, const APInt &Mask, const DataLayout *TD, unsigned Depth) argument
1133 ComputeNumSignBits(Value *V, const DataLayout *TD, unsigned Depth) argument
1304 ComputeMultiple(Value *V, unsigned Base, Value *&Multiple, bool LookThroughSExt, unsigned Depth) argument
1426 CannotBeNegativeZero(const Value *V, unsigned Depth) argument
[all...]
/freebsd-9.3-release/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp71 unsigned Depth) {
73 KnownZero, KnownOne, Depth);
103 unsigned Depth) {
105 assert(Depth <= 6 && "Limit Search Depth");
138 if (Depth == 6) // Limit search depth.
146 ComputeMaskedBits(V, KnownZero, KnownOne, Depth);
153 if (Depth != 0 && !I->hasOneUse()) {
160 ComputeMaskedBits(I->getOperand(1), RHSKnownZero, RHSKnownOne, Depth+1);
161 ComputeMaskedBits(I->getOperand(0), LHSKnownZero, LHSKnownOne, Depth
69 SimplifyDemandedBits(Use &U, APInt DemandedMask, APInt &KnownZero, APInt &KnownOne, unsigned Depth) argument
101 SimplifyDemandedUseBits(Value *V, APInt DemandedMask, APInt &KnownZero, APInt &KnownOne, unsigned Depth) argument
916 SimplifyDemandedVectorElts(Value *V, APInt DemandedElts, APInt &UndefElts, unsigned Depth) argument
[all...]
H A 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.3-release/contrib/llvm/tools/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...]
/freebsd-9.3-release/contrib/llvm/lib/Transforms/ObjCARC/
H A DObjCARCAPElim.cpp43 static bool MayAutorelease(ImmutableCallSite CS, unsigned Depth = 0);
70 bool ObjCARCAPElim::MayAutorelease(ImmutableCallSite CS, unsigned Depth) { argument
82 if (Depth < 3 &&
84 MayAutorelease(JCS, Depth + 1))
/freebsd-9.3-release/contrib/llvm/include/llvm/IR/
H A DLegacyPassManagers.h266 explicit PMDataManager() : TPM(NULL), Depth(0) {
335 unsigned getDepth() const { return Depth; }
336 void setDepth(unsigned newDepth) { Depth = newDepth; }
398 unsigned Depth; member in class:llvm::PMDataManager
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Parse/
H A DParseTemplate.cpp292 /// angle brackets. Depth is the depth of this template-parameter-list, which
300 bool Parser::ParseTemplateParameters(unsigned Depth, argument
314 Failed = ParseTemplateParameterList(Depth, TemplateParams);
343 Parser::ParseTemplateParameterList(unsigned Depth, argument
347 = ParseTemplateParameter(Depth, TemplateParams.size())) {
453 Decl *Parser::ParseTemplateParameter(unsigned Depth, unsigned Position) { argument
455 return ParseTypeParameter(Depth, Position);
458 return ParseTemplateTemplateParameter(Depth, Position);
463 return ParseNonTypeTemplateParameter(Depth, Position);
475 Decl *Parser::ParseTypeParameter(unsigned Depth, unsigne argument
536 ParseTemplateTemplateParameter(unsigned Depth, unsigned Position) argument
634 ParseNonTypeTemplateParameter(unsigned Depth, unsigned Position) argument
[all...]
/freebsd-9.3-release/contrib/llvm/lib/DebugInfo/
H A DDWARFUnit.cpp172 uint32_t Depth = 0; local
195 ++Depth;
198 if (Depth > 0)
199 --Depth;
200 if (Depth == 0)
/freebsd-9.3-release/contrib/llvm/lib/CodeGen/
H A DScheduleDAGInstrs.cpp565 SUnit *SUa, SUnit *SUb, SUnit *ExitSU, unsigned *Depth,
568 return *Depth;
572 return *Depth;
585 return *Depth;
590 if (*Depth > 200 ||
593 return *Depth;
596 (*Depth)++;
601 iterateChainSucc (AA, MFI, SUa, I->getSUnit(), ExitSU, Depth, Visited);
602 return *Depth;
616 unsigned Depth local
564 iterateChainSucc(AliasAnalysis *AA, const MachineFrameInfo *MFI, SUnit *SUa, SUnit *SUb, SUnit *ExitSU, unsigned *Depth, SmallPtrSet<const SUnit*, 16> &Visited) argument
1165 unsigned Depth = I->first->getDepth(); local
1202 addConnection(unsigned FromTree, unsigned ToTree, unsigned Depth) argument
[all...]
H A DMachineTraceMetrics.cpp336 unsigned Depth = PredTBI->InstrDepth + CurCount; local
337 if (!Best || Depth < BestDepth)
338 Best = Pred, BestDepth = Depth;
775 unsigned Len = LIR.Height + Cycles[DefMI].Depth;
852 unsigned DepCycle = Cycles.lookup(Dep.DefMI).Depth;
861 MICycles.Depth = Cycle;
1111 TBI.CriticalPath = std::max(TBI.CriticalPath, Cycle + MICycles.Depth);
1158 return getCriticalPath() - (Cyc.Depth + Cyc.Height);
1168 unsigned DepCycle = getInstrCycles(Dep.DefMI).Depth;
H A DScheduleDAG.cpp217 Depth = NewDepth;
247 PredSU->Depth + I->getLatency());
256 if (MaxPredDepth != Cur->Depth) {
258 Cur->Depth = MaxPredDepth;
332 dbgs() << " Depth : " << getDepth() << "\n";
405 << (isBottomUp ? "Height" : "Depth") << " value!\n";
/freebsd-9.3-release/contrib/llvm/lib/Transforms/Scalar/
H A 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) {
940 return MatchAddr(ScaleReg, Depth);
1021 unsigned Depth) {
1023 if (Depth >= 5) return false;
1028 return MatchAddr(AddrInst->getOperand(0), Depth);
1033 return MatchAddr(AddrInst->getOperand(0), Depth);
1044 return MatchAddr(AddrInst->getOperand(0), Depth);
935 MatchScaledValue(Value *ScaleReg, int64_t Scale, unsigned Depth) argument
1020 MatchOperationAddr(User *AddrInst, unsigned Opcode, unsigned Depth) argument
1177 MatchAddr(Value *Addr, unsigned Depth) argument
[all...]
/freebsd-9.3-release/sys/contrib/dev/acpica/debugger/
H A Ddbinput.c264 AcpiOsPrintf (" Namespace [Object] [Depth] Display loaded namespace tree/subtree\n");
267 AcpiOsPrintf (" Owner <OwnerId> [Depth] Display loaded namespace by object owner\n");
327 UINT32 Depth; local
392 Depth = 1;
418 Depth++; /* A nested package declaration */
422 Depth--;
423 if (Depth == 0) /* Found final package closing bracket */
/freebsd-9.3-release/sys/contrib/dev/acpica/executer/
H A Dexdump.c162 {ACPI_EXD_UINT16, ACPI_EXD_OFFSET (Mutex.AcquisitionDepth), "Acquire Depth"},
460 * Depth - Current nesting depth
471 UINT32 Depth)
511 if (Depth > 0)
514 Depth, " ", Depth, ObjDesc));
622 AcpiExDumpOperand (ObjDesc->Package.Elements[Index], Depth+1);
679 AcpiExDumpOperand (ObjDesc->Field.RegionObj, Depth+1);
707 AcpiExDumpOperand (ObjDesc->BufferField.BufferObj, Depth+1);
469 AcpiExDumpOperand( ACPI_OPERAND_OBJECT *ObjDesc, UINT32 Depth) argument
/freebsd-9.3-release/contrib/llvm/lib/Target/R600/
H A DSILowerControlFlow.cpp444 unsigned Depth = 0; local
463 ++Depth;
484 ++Depth;
489 if (--Depth == 0 && HaveKill) {
497 if (Depth == 0)
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Parse/
H A DParser.h182 unsigned &Depth; member in class:clang::Parser::TemplateParameterDepthRAII
185 explicit TemplateParameterDepthRAII(unsigned &Depth) argument
186 : Depth(Depth), AddedLevels(0) {}
189 Depth -= AddedLevels;
193 ++Depth;
196 unsigned getDepth() const { return Depth; }
2253 bool ParseTemplateParameters(unsigned Depth,
2257 bool ParseTemplateParameterList(unsigned Depth,
2260 Decl *ParseTemplateParameter(unsigned Depth, unsigne
[all...]
/freebsd-9.3-release/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp372 unsigned Depth) const {
384 if (Depth != 0) {
387 TLO.DAG.ComputeMaskedBits(Op, KnownZero, KnownOne, Depth);
398 } else if (Depth == 6) { // Limit search depth.
416 // Do not increment Depth here; that can cause an infinite loop.
417 TLO.DAG.ComputeMaskedBits(Op.getOperand(0), LHSZero, LHSOne, Depth);
428 KnownOne, TLO, Depth+1))
432 KnownZero2, KnownOne2, TLO, Depth+1))
459 KnownOne, TLO, Depth+1))
463 KnownZero2, KnownOne2, TLO, Depth
[all...]

Completed in 371 milliseconds

1234