Searched refs:Index (Results 1 - 25 of 731) sorted by relevance

1234567891011>>

/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dbytemap.h25 void set(uptr Index, u8 Value) { argument
26 DCHECK_LT(Index, Size);
27 DCHECK_EQ(0U, Map[Index]);
28 Map[Index] = Value;
30 u8 operator[](uptr Index) { argument
31 DCHECK_LT(Index, Size);
32 return Map[Index];
/freebsd-13-stable/sys/contrib/dev/acpica/compiler/
H A Daslmessages.c448 UINT32 Index; local
457 Index = MessageId;
459 if (Index >= ACPI_ARRAY_LENGTH (AslCompilerMsgs))
470 Index = MessageId - ASL_MSG_TABLE_COMPILER;
472 if (Index >= ACPI_ARRAY_LENGTH (AslTableCompilerMsgs))
483 Index = MessageId - ASL_MSG_PREPROCESSOR;
485 if (Index >= ACPI_ARRAY_LENGTH (AslPreprocessorMsgs))
498 return (MessageTable[Index]);
595 UINT32 Index = 1; local
611 for (i = 1; Index < ACPI_ARRAY_LENGT
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DTypeLocBuilder.cpp49 unsigned NewIndex = Index + NewCapacity - Capacity;
51 &Buffer[Index],
52 Capacity - Index);
59 Index = NewIndex;
73 if (LocalSize > Index) {
74 size_t RequiredCapacity = Capacity + (LocalSize - Index);
99 memmove(&Buffer[Index - 4], &Buffer[Index], NumBytesAtAlign4);
100 Index -= 4;
110 memmove(&Buffer[Index
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeEnumModules.cpp22 NativeEnumModules::NativeEnumModules(NativeSession &PDBSession, uint32_t Index) argument
23 : Session(PDBSession), Index(Index) {}
35 if (Index >= getChildCount())
37 return getChildAtIndex(Index++);
40 void NativeEnumModules::reset() { Index = 0; }
H A DNativeEnumLineNumbers.cpp25 : Lines(std::move(LineNums)), Index(0) {}
39 return getChildAtIndex(Index++);
42 void NativeEnumLineNumbers::reset() { Index = 0; }
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/LTO/
H A DSummaryBasedOptimizations.h13 void computeSyntheticCounts(ModuleSummaryIndex &Index);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DTypeTableCollection.cpp37 CVType TypeTableCollection::getType(TypeIndex Index) { argument
38 assert(Index.toArrayIndex() < Records.size());
39 return CVType(Records[Index.toArrayIndex()]);
42 StringRef TypeTableCollection::getTypeName(TypeIndex Index) { argument
43 if (Index.isNoneType() || Index.isSimple())
44 return TypeIndex::simpleTypeName(Index);
46 uint32_t I = Index.toArrayIndex();
48 StringRef Result = NameStorage.save(computeTypeName(*this, Index));
54 bool TypeTableCollection::contains(TypeIndex Index) { argument
62 replaceType(TypeIndex &Index, CVType Data, bool Stabilize) argument
[all...]
H A DLazyRandomTypeCollection.cpp83 uint32_t LazyRandomTypeCollection::getOffsetOfType(TypeIndex Index) { argument
84 error(ensureTypeExists(Index));
85 assert(contains(Index));
87 return Records[Index.toArrayIndex()].Offset;
90 CVType LazyRandomTypeCollection::getType(TypeIndex Index) { argument
91 assert(!Index.isSimple());
93 auto EC = ensureTypeExists(Index);
95 assert(contains(Index));
97 return Records[Index.toArrayIndex()].Type;
100 Optional<CVType> LazyRandomTypeCollection::tryGetType(TypeIndex Index) { argument
113 getTypeName(TypeIndex Index) argument
135 contains(TypeIndex Index) argument
157 ensureCapacityFor(TypeIndex Index) argument
281 replaceType(TypeIndex &Index, CVType Data, bool Stabilize) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Option/
H A DOption.cpp109 Arg *Option::acceptInternal(const ArgList &Args, unsigned &Index, argument
111 StringRef Spelling = StringRef(Args.getArgString(Index), ArgSize);
114 if (ArgSize != strlen(Args.getArgString(Index)))
116 return new Arg(*this, Spelling, Index++);
119 const char *Value = Args.getArgString(Index) + ArgSize;
120 return new Arg(*this, Spelling, Index++, Value);
124 const char *Str = Args.getArgString(Index) + ArgSize;
125 Arg *A = new Arg(*this, Spelling, Index++);
153 if (ArgSize != strlen(Args.getArgString(Index)))
156 Index
233 accept(const ArgList &Args, unsigned &Index, unsigned ArgSize) const argument
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DFunctionId.h19 FunctionId() : Index(0) {}
21 explicit FunctionId(uint32_t Index) : Index(Index) {} argument
23 uint32_t getIndex() const { return Index; }
26 uint32_t Index; member in class:llvm::codeview::FunctionId
H A DRecordName.h18 std::string computeTypeName(TypeCollection &Types, TypeIndex Index);
H A DTypeCollection.h28 virtual CVType getType(TypeIndex Index) = 0;
29 virtual StringRef getTypeName(TypeIndex Index) = 0;
30 virtual bool contains(TypeIndex Index) = 0;
33 virtual bool replaceType(TypeIndex &Index, CVType Data, bool Stabilize) = 0;
H A DTypeTableCollection.h27 CVType getType(TypeIndex Index) override;
28 StringRef getTypeName(TypeIndex Index) override;
29 bool contains(TypeIndex Index) override;
32 bool replaceType(TypeIndex &Index, CVType Data, bool Stabilize) override;
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DNativeEnumModules.h21 NativeEnumModules(NativeSession &Session, uint32_t Index = 0);
24 std::unique_ptr<PDBSymbol> getChildAtIndex(uint32_t Index) const override;
30 uint32_t Index; member in class:llvm::pdb::NativeEnumModules
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430MachineFunctionInfo.h53 void setRAIndex(int Index) { ReturnAddrIndex = Index; } argument
56 void setVarArgsFrameIndex(int Index) { VarArgsFrameIndex = Index; } argument
/freebsd-13-stable/sys/contrib/dev/acpica/components/dispatcher/
H A Ddsmthdat.c167 UINT32 Index,
173 UINT32 Index,
181 UINT32 Index,
264 UINT32 Index; local
272 for (Index = 0; Index < ACPI_METHOD_NUM_LOCALS; Index++)
274 if (WalkState->LocalVariables[Index].Object)
277 Index, WalkState->LocalVariables[Index]
327 UINT32 Index = 0; local
383 AcpiDsMethodDataGetNode( UINT8 Type, UINT32 Index, ACPI_WALK_STATE *WalkState, ACPI_NAMESPACE_NODE **Node) argument
455 AcpiDsMethodDataSetValue( UINT8 Type, UINT32 Index, ACPI_OPERAND_OBJECT *Object, ACPI_WALK_STATE *WalkState) argument
514 AcpiDsMethodDataGetValue( UINT8 Type, UINT32 Index, ACPI_WALK_STATE *WalkState, ACPI_OPERAND_OBJECT **DestDesc) argument
627 AcpiDsMethodDataDeleteValue( UINT8 Type, UINT32 Index, ACPI_WALK_STATE *WalkState) argument
693 AcpiDsStoreObjectToLocal( UINT8 Type, UINT32 Index, ACPI_OPERAND_OBJECT *ObjDesc, ACPI_WALK_STATE *WalkState) argument
851 AcpiDsMethodDataGetType( UINT16 Opcode, UINT32 Index, ACPI_WALK_STATE *WalkState) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/gwp_asan/
H A Dstack_trace_compressor.cpp71 size_t Index = 0; local
77 varIntEncode(zigzagEncode(Diff), Packed + Index, PackedMaxSize - Index);
81 Index += EncodedLength;
84 return Index;
90 size_t Index = 0; local
94 varIntDecode(Packed + Index, PackedSize - Index, &EncodedDiff);
97 Index += DecodedLength;
104 if (Index !
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DSelectorLocationsKind.cpp19 static SourceLocation getStandardSelLoc(unsigned Index, argument
26 assert(Index == 0);
34 assert(Index < NumSelArgs);
37 IdentifierInfo *II = Sel.getIdentifierInfoForSlot(Index);
64 SourceLocation getArgLoc(unsigned Index, ArrayRef<T*> Args) { argument
65 return Index < Args.size() ? getArgLoc(Args[Index]) : SourceLocation();
103 SourceLocation clang::getStandardSelectorLoc(unsigned Index, argument
108 return getStandardSelLoc(Index, Sel, WithArgSpace,
109 getArgLoc(Index, Arg
120 getStandardSelectorLoc(unsigned Index, Selector Sel, bool WithArgSpace, ArrayRef<ParmVarDecl *> Args, SourceLocation EndLoc) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DModuleSummaryAnalysis.h58 Optional<ModuleSummaryIndex> Index; member in class:llvm::ModuleSummaryIndexWrapperPass
66 ModuleSummaryIndex &getIndex() { return *Index; }
67 const ModuleSummaryIndex &getIndex() const { return *Index; }
83 const ModuleSummaryIndex *Index; member in class:llvm::ImmutableModuleSummaryIndexWrapperPass
89 const ModuleSummaryIndex *Index = nullptr);
90 const ModuleSummaryIndex *getIndex() const { return Index; }
100 createImmutableModuleSummaryIndexWrapperPass(const ModuleSummaryIndex *Index);
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/Utils/
H A DTFUtils.h50 /// Get a pointer to the first element of the tensor at Index.
51 template <typename T> T *getTensorValue(size_t Index) { argument
52 return static_cast<T *>(getUntypedTensorValue(Index));
58 void *getUntypedTensorValue(size_t Index);
77 template <typename T> T *getInput(size_t Index) { argument
78 return static_cast<T *>(getUntypedInput(Index));
85 /// Initialize the input at Index as a tensor of the given type and
88 void initInput(size_t Index, const std::vector<int64_t> &Dimensions) { argument
89 return initInput(Index, getModelTypeIndex<T>(), Dimensions);
93 void *getUntypedInput(size_t Index);
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGAddressAnalysis.h35 SDValue Index; member in class:llvm::BaseIndexOffset
41 BaseIndexOffset(SDValue Base, SDValue Index, bool IsIndexSignExt) argument
42 : Base(Base), Index(Index), Offset(), IsIndexSignExt(IsIndexSignExt) {}
43 BaseIndexOffset(SDValue Base, SDValue Index, int64_t Offset, argument
45 : Base(Base), Index(Index), Offset(Offset),
50 SDValue getIndex() { return Index; }
51 SDValue getIndex() const { return Index; }
/freebsd-13-stable/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DLookupResult.cpp19 std::string LookupResult::getSourceFile(uint32_t Index) const {
21 if (Index < Locations.size()) {
22 if (!Locations[Index].Dir.empty()) {
23 if (Locations[Index].Base.empty()) {
24 Fullpath = std::string(Locations[Index].Dir);
27 llvm::sys::path::append(Storage, Locations[Index].Dir,
28 Locations[Index].Base);
31 } else if (!Locations[Index].Base.empty())
32 Fullpath = std::string(Locations[Index].Base);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DReleaseModeModelRunner.cpp38 void setFeature(FeatureIndex Index, int64_t Value) override;
39 int64_t getFeature(int Index) const override;
56 const int Index = local
58 assert(Index >= 0 && "Cannot find Feature in inlining model");
59 FeatureIndices[I] = Index;
67 int64_t ReleaseModeModelRunner::getFeature(int Index) const {
69 CompiledModel->arg_data(FeatureIndices[Index]));
72 void ReleaseModeModelRunner::setFeature(FeatureIndex Index, int64_t Value) { argument
74 FeatureIndices[static_cast<size_t>(Index)])) = Value;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonBlockRanges.h54 IndexType(unsigned Idx) : Index(Idx) {}
56 static bool isInstr(IndexType X) { return X.Index >= First; }
72 unsigned Index = None; variable
175 assert(Index >= First);
176 return Index;
180 return Index == x;
184 return Index == Idx.Index;
188 return Index != x;
192 return Index !
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/ADT/
H A DEnumeratedArray.h31 inline const ValueType &operator[](const Enumeration Index) const {
32 auto IX = static_cast<const IndexType>(Index);
33 assert(IX >= 0 && IX < Size && "Index is out of bounds.");
36 inline ValueType &operator[](const Enumeration Index) { argument
39 IndexType, Size> &>(*this)[Index]);

Completed in 470 milliseconds

1234567891011>>