Searched refs:Idx (Results 1 - 25 of 329) sorted by relevance

1234567891011>>

/external/clang/lib/Serialization/
H A DASTReaderStmt.cpp35 unsigned &Idx; member in class:clang::ASTStmtReader
83 const ASTReader::RecordData &Record, unsigned &Idx)
84 : Reader(Reader), F(F), DeclsCursor(Cursor), Record(Record), Idx(Idx) { }
111 SourceLocation TemplateKWLoc = ReadSourceLocation(Record, Idx);
113 ArgInfo.setLAngleLoc(ReadSourceLocation(Record, Idx));
114 ArgInfo.setRAngleLoc(ReadSourceLocation(Record, Idx));
117 Reader.ReadTemplateArgumentLoc(F, Record, Idx));
122 assert(Idx == NumStmtFields && "Incorrect statement field count");
127 S->setSemiLoc(ReadSourceLocation(Record, Idx));
81 ASTStmtReader(ASTReader &Reader, ModuleFile &F, llvm::BitstreamCursor &Cursor, const ASTReader::RecordData &Record, unsigned &Idx) argument
1682 unsigned &Idx; member in class:clang::OMPClauseReader
1684 OMPClauseReader(ASTStmtReader *R, ASTContext &C, const ASTReader::RecordData &Record, unsigned &Idx) argument
2269 unsigned Idx; local
[all...]
H A DASTReaderDecl.cpp44 unsigned &Idx; member in class:clang::ASTDeclReader
71 for (unsigned I = 0, Size = Record[Idx++]; I != Size; ++I)
72 IDs.push_back(ReadDeclID(Record, Idx));
218 unsigned RawLocation, const RecordData &Record, unsigned &Idx)
220 RawLocation(RawLocation), Record(Record), Idx(Idx),
383 GetTypeSourceInfo(Record, Idx);
386 DD->DeclInfo = GetTypeSourceInfo(Record, Idx);
407 if (Record[Idx++]) {
409 CD->NumCtorInitializers = Record[Idx
217 ASTDeclReader(ASTReader &Reader, ModuleFile &F, DeclID thisDeclID, unsigned RawLocation, const RecordData &Record, unsigned &Idx) argument
1293 ReadCXXDefinitionData( struct CXXRecordDecl::DefinitionData &Data, const RecordData &Record, unsigned &Idx) argument
2287 ReadAttributes(ModuleFile &F, AttrVec &Attrs, const RecordData &Record, unsigned &Idx) argument
2982 unsigned Idx = 0; local
3268 unsigned Idx = 0; local
[all...]
H A DASTReader.cpp1066 unsigned Idx = 0; local
1071 for (int I = 0, N = Record[Idx++]; I != N; ++I) {
1073 auto Filename = ReadPath(F, Record, Idx);
1079 while (Idx < Record.size()) {
1080 int FID = Record[Idx++];
1086 unsigned NumEntries = Record[Idx++];
1091 unsigned FileOffset = Record[Idx++];
1092 unsigned LineNo = Record[Idx++];
1093 int FilenameID = FileIDs[Record[Idx++]];
1095 = (SrcMgr::CharacteristicKind)Record[Idx
1380 ReadToken(ModuleFile &F, const RecordDataImpl &Record, unsigned &Idx) argument
1494 unsigned Idx = 0; local
1895 unsigned Idx = 0, N = Record.size(); local
2777 unsigned Idx = 0; local
3383 unsigned Idx = 0; local
4336 unsigned Idx = 0; local
4418 unsigned Idx = 0, N = Record.size(); local
4434 unsigned Idx = 0, N = Record.size(); local
4517 unsigned Idx = 0; local
4725 unsigned Idx = 0; local
4759 unsigned Idx = 0; local
4778 unsigned Idx = 0; local
4795 unsigned Idx = 0; local
4804 unsigned Idx = 0; local
4845 unsigned Idx = 0; local
5174 unsigned Idx = 0; local
5242 unsigned Idx = 0; local
5341 unsigned Idx = 3; local
5410 unsigned Idx = 6; local
5428 unsigned Idx = 0; local
5438 unsigned Idx = 0; local
5482 unsigned Idx = 0; local
5496 unsigned Idx = 0; local
5539 unsigned Idx = 0; local
5547 unsigned Idx = 0; local
5554 unsigned Idx = 0; local
5564 unsigned Idx = 0; local
5570 unsigned Idx = 0; local
5579 unsigned Idx = 0; local
5608 unsigned Idx = 0; local
5618 unsigned Idx = 0; local
5629 unsigned Idx = 0; local
5643 unsigned Idx = 0; local
5660 unsigned Idx = 0; local
5689 readExceptionSpec(ModuleFile &ModuleFile, SmallVectorImpl<QualType> &Exceptions, FunctionProtoType::ExceptionSpecInfo &ESI, const RecordData &Record, unsigned &Idx) argument
5714 unsigned &Idx; member in class:clang::TypeLocReader
5722 ReadDeclAs(const ASTReader::RecordData &Record, unsigned &Idx) argument
5727 TypeLocReader(ASTReader &Reader, ModuleFile &F, const ASTReader::RecordData &Record, unsigned &Idx) argument
5953 GetTypeSourceInfo(ModuleFile &F, const RecordData &Record, unsigned &Idx) argument
6195 ReadCXXCtorInitializersRef(ModuleFile &M, const RecordData &Record, unsigned &Idx) argument
6223 unsigned Idx = 0; local
6227 readCXXBaseSpecifiers(ModuleFile &M, const RecordData &Record, unsigned &Idx) argument
6253 unsigned Idx = 0; local
6412 ReadDeclID(ModuleFile &F, const RecordData &Record, unsigned &Idx) argument
7666 unsigned Idx = ID - M.BaseSelectorID - NUM_PREDEF_SELECTOR_IDS; local
7699 ReadDeclarationName(ModuleFile &F, const RecordData &Record, unsigned &Idx) argument
7738 ReadDeclarationNameLoc(ModuleFile &F, DeclarationNameLoc &DNLoc, DeclarationName Name, const RecordData &Record, unsigned &Idx) argument
7770 ReadDeclarationNameInfo(ModuleFile &F, DeclarationNameInfo &NameInfo, const RecordData &Record, unsigned &Idx) argument
7780 ReadQualifierInfo(ModuleFile &F, QualifierInfo &Info, const RecordData &Record, unsigned &Idx) argument
7793 ReadTemplateName(ModuleFile &F, const RecordData &Record, unsigned &Idx) argument
7852 ReadTemplateArgument(ModuleFile &F, const RecordData &Record, unsigned &Idx) argument
7895 ReadTemplateParameterList(ModuleFile &F, const RecordData &Record, unsigned &Idx) argument
7915 ReadTemplateArgumentList(SmallVectorImpl<TemplateArgument> &TemplArgs, ModuleFile &F, const RecordData &Record, unsigned &Idx) argument
7925 ReadUnresolvedSet(ModuleFile &F, LazyASTUnresolvedSet &Set, const RecordData &Record, unsigned &Idx) argument
7937 ReadCXXBaseSpecifier(ModuleFile &F, const RecordData &Record, unsigned &Idx) argument
7953 ReadCXXCtorInitializers(ModuleFile &F, const RecordData &Record, unsigned &Idx) argument
8038 ReadNestedNameSpecifier(ModuleFile &F, const RecordData &Record, unsigned &Idx) argument
8093 ReadNestedNameSpecifierLoc(ModuleFile &F, const RecordData &Record, unsigned &Idx) argument
8156 ReadSourceRange(ModuleFile &F, const RecordData &Record, unsigned &Idx) argument
8164 ReadAPInt(const RecordData &Record, unsigned &Idx) argument
8173 ReadAPSInt(const RecordData &Record, unsigned &Idx) argument
8179 ReadAPFloat(const RecordData &Record, const llvm::fltSemantics &Sem, unsigned &Idx) argument
8186 ReadString(const RecordData &Record, unsigned &Idx) argument
8193 ReadPath(ModuleFile &F, const RecordData &Record, unsigned &Idx) argument
8200 ReadVersionTuple(const RecordData &Record, unsigned &Idx) argument
8212 ReadCXXTemporary(ModuleFile &F, const RecordData &Record, unsigned &Idx) argument
8284 unsigned Idx = 0; local
[all...]
/external/llvm/include/llvm/ADT/
H A DPackedVector.h30 static T getValue(const BitVectorTy &Bits, unsigned Idx) { argument
33 val = T(val | ((Bits[(Idx << (BitNum-1)) + i] ? 1UL : 0UL) << i));
37 static void setValue(BitVectorTy &Bits, unsigned Idx, T val) { argument
40 Bits[(Idx << (BitNum-1)) + i] = val & (T(1) << i);
47 static T getValue(const BitVectorTy &Bits, unsigned Idx) { argument
50 val = T(val | ((Bits[(Idx << (BitNum-1)) + i] ? 1UL : 0UL) << i));
51 if (Bits[(Idx << (BitNum-1)) + BitNum-1])
56 static void setValue(BitVectorTy &Bits, unsigned Idx, T val) { argument
59 Bits.set((Idx << (BitNum-1)) + BitNum-1);
63 Bits[(Idx << (BitNu
84 const unsigned Idx; member in class:llvm::PackedVector::reference
122 operator [](unsigned Idx) argument
[all...]
H A DSparseMultiSet.h164 unsigned Idx = FreelistIdx; local
165 unsigned NextFree = Dense[Idx].Next;
166 assert(Dense[Idx].isTombstone() && "Non-tombstone free?");
168 Dense[Idx] = SMSNode(V, Prev, Next);
171 return Idx;
175 void makeTombstone(unsigned Idx) { argument
176 Dense[Idx].Prev = SMSNode::INVALID;
177 Dense[Idx].Next = FreelistIdx;
178 FreelistIdx = Idx;
222 unsigned Idx; member in class:llvm::SparseMultiSet::iterator_base
350 findIndex(unsigned Idx) argument
[all...]
/external/llvm/include/llvm/Support/
H A DArrayRecycler.h43 // Remove an entry from the free list in Bucket[Idx] and return it.
45 T *pop(unsigned Idx) { argument
46 if (Idx >= Bucket.size())
48 FreeList *Entry = Bucket[Idx];
51 Bucket[Idx] = Entry->Next;
55 // Add an entry to the free list at Bucket[Idx].
56 void push(unsigned Idx, T *Ptr) { argument
59 if (Idx >= Bucket.size())
60 Bucket.resize(size_t(Idx) + 1);
61 Entry->Next = Bucket[Idx];
[all...]
/external/llvm/lib/MC/
H A DMCRegisterInfo.cpp26 unsigned MCRegisterInfo::getSubReg(unsigned Reg, unsigned Idx) const {
27 assert(Idx && Idx < getNumSubRegIndices() &&
33 if (*SRI == Idx)
49 unsigned MCRegisterInfo::getSubRegIdxSize(unsigned Idx) const {
50 assert(Idx && Idx < getNumSubRegIndices() &&
52 return SubRegIdxRanges[Idx].Size;
55 unsigned MCRegisterInfo::getSubRegIdxOffset(unsigned Idx) const {
56 assert(Idx
[all...]
/external/llvm/lib/Target/NVPTX/
H A DNVPTXMachineFunctionInfo.h44 const char *getImageHandleSymbol(unsigned Idx) const {
45 assert(ImageHandleList.size() > Idx && "Bad index");
46 return ImageHandleList[Idx].c_str();
H A DNVPTXReplaceImageHandles.cpp46 unsigned &Idx);
126 unsigned Idx; local
127 if (findIndexForHandle(Op, MF, Idx)) {
128 Op.ChangeToImmediate(Idx);
133 findIndexForHandle(MachineOperand &Op, MachineFunction &MF, unsigned &Idx) { argument
164 Idx = MFI->getImageHandleSymbolIndex(NewSymStr.str().c_str());
173 Idx = MFI->getImageHandleSymbolIndex(GV->getName().data());
178 bool Res = findIndexForHandle(TexHandleDef.getOperand(1), MF, Idx);
/external/llvm/include/llvm/CodeGen/
H A DRegisterClassInfo.h134 unsigned getRegPressureSetLimit(unsigned Idx) const {
135 if (!PSetLimits[Idx])
136 PSetLimits[Idx] = computePSetLimit(Idx);
137 return PSetLimits[Idx];
141 unsigned computePSetLimit(unsigned Idx) const;
H A DMachineJumpTableInfo.h105 void RemoveJumpTable(unsigned Idx) { argument
106 JumpTables[Idx].MBBs.clear();
115 bool ReplaceMBBInJumpTable(unsigned Idx, MachineBasicBlock *Old,
/external/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp66 unsigned SystemZTTIImpl::getIntImmCost(unsigned Opcode, unsigned Idx, argument
86 if (Idx == 0)
90 if (Idx == 0 && Imm.getBitWidth() <= 64) {
100 if (Idx == 1 && Imm.getBitWidth() <= 64) {
111 if (Idx == 1 && Imm.getBitWidth() <= 64) {
121 if (Idx == 1 && Imm.getBitWidth() <= 64) {
129 if (Idx == 1 && Imm.getBitWidth() <= 64) {
139 if (Idx == 1 && Imm.getBitWidth() <= 64) {
160 if (Idx == 1)
184 unsigned SystemZTTIImpl::getIntImmCost(Intrinsic::ID IID, unsigned Idx, argument
[all...]
/external/llvm/lib/Fuzzer/
H A DFuzzerMutate.cpp56 size_t Idx = rand() % U->size(); local
57 (*U)[Idx] = Ch;
62 size_t Idx = rand() % U->size(); local
63 (*U)[Idx] = FlipRandomBit((*U)[Idx]);
/external/llvm/utils/TableGen/
H A DCodeGenSchedule.h61 CodeGenSchedRW(unsigned Idx, Record *Def) argument
62 : Index(Idx), TheDef(Def), IsAlias(false), IsVariadic(false) {
75 CodeGenSchedRW(unsigned Idx, bool Read, const IdxVec &Seq, argument
77 : Index(Idx), Name(Name), TheDef(nullptr), IsRead(Read), IsAlias(false),
199 CodeGenProcModel(unsigned Idx, const std::string &Name, Record *MDef, argument
201 Index(Idx), ModelName(Name), ModelDef(MDef), ItinsDef(IDef) {}
309 const CodeGenSchedRW &getSchedWrite(unsigned Idx) const {
310 assert(Idx < SchedWrites.size() && "bad SchedWrite index");
311 assert(SchedWrites[Idx].isValid() && "invalid SchedWrite");
312 return SchedWrites[Idx];
[all...]
/external/llvm/lib/CodeGen/
H A DMachineDominators.cpp74 size_t Idx = 0; local
105 IsNewIDom[Idx] = false;
109 ++Idx;
113 Idx = 0;
121 if (IsNewIDom[Idx])
123 ++Idx;
H A DSplitKit.cpp292 bool SplitAnalysis::isOriginalEndpoint(SlotIndex Idx) const {
296 LiveInterval::const_iterator I = Orig.find(Idx);
298 // Range containing Idx should begin at Idx.
299 if (I != Orig.end() && I->start <= Idx)
300 return I->start == Idx;
302 // Range does not contain Idx, previous must end at Idx.
303 return I != Orig.begin() && (--I)->end == Idx;
361 SlotIndex Idx) {
359 defValue(unsigned RegIdx, const VNInfo *ParentVNI, SlotIndex Idx) argument
459 selectIntv(unsigned Idx) argument
462 DEBUG(dbgs() << " selectIntv " << OpenIdx << " -> " << Idx << '\\n'); local
466 enterIntvBefore(SlotIndex Idx) argument
483 enterIntvAfter(SlotIndex Idx) argument
531 leaveIntvAfter(SlotIndex Idx) argument
562 leaveIntvBefore(SlotIndex Idx) argument
964 SlotIndex Idx = LIS.getInstructionIndex(MI); local
1181 SlotIndex Idx = leaveIntvAtTop(*MBB); local
1195 SlotIndex Idx = enterIntvAtEnd(*MBB); local
1225 SlotIndex Idx; local
1248 SlotIndex Idx = enterIntvAfter(EnterAfter); local
1301 SlotIndex Idx = leaveIntvAfter(BI.LastInstr); local
1307 SlotIndex Idx = leaveIntvBefore(LSP); local
1387 SlotIndex Idx = enterIntvBefore(std::min(LSP, BI.FirstInstr)); local
1403 SlotIndex Idx = enterIntvAfter(EnterAfter); local
[all...]
/external/clang/lib/StaticAnalyzer/Checkers/
H A DArrayBoundChecker.cpp48 DefinedOrUnknownSVal Idx = ER->getIndex().castAs<DefinedOrUnknownSVal>();
52 if (Idx.isZeroConstant())
62 ProgramStateRef StInBound = state->assumeInBound(Idx, NumElements, true);
63 ProgramStateRef StOutBound = state->assumeInBound(Idx, NumElements, false);
H A DReturnPointerRangeChecker.cpp50 DefinedOrUnknownSVal Idx = ER->getIndex().castAs<DefinedOrUnknownSVal>();
53 if (Idx.isZeroConstant())
62 ProgramStateRef StInBound = state->assumeInBound(Idx, NumElements, true);
63 ProgramStateRef StOutBound = state->assumeInBound(Idx, NumElements, false);
/external/llvm/unittests/ADT/
H A DSCCIteratorTest.cpp27 static void ValidateIndex(unsigned Idx) { argument
28 assert(Idx < N && "Invalid node index!");
52 void AddNode(unsigned Idx) {
53 ValidateIndex(Idx);
54 Elements |= 1U << Idx;
58 void DeleteNode(unsigned Idx) {
59 ValidateIndex(Idx);
60 Elements &= ~(1U << Idx);
64 bool count(unsigned Idx) {
65 ValidateIndex(Idx);
[all...]
/external/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.cpp122 int Idx = CostTableLookup(AVX2UniformConstCostTable, ISD, LT.second); local
123 if (Idx != -1)
124 return LT.first * AVX2UniformConstCostTable[Idx].Cost;
172 int Idx = CostTableLookup(AVX512CostTable, ISD, LT.second); local
173 if (Idx != -1)
174 return LT.first * AVX512CostTable[Idx].Cost;
185 int Idx = CostTableLookup(AVX2CostTable, ISD, LT.second); local
186 if (Idx != -1)
187 return LT.first * AVX2CostTable[Idx].Cost;
221 int Idx local
283 int Idx = CostTableLookup(SSE2CostTable, ISD, LT.second); local
316 int Idx = CostTableLookup(AVX1CostTable, ISD, VT); local
328 int Idx = CostTableLookup(CustomLowered, ISD, LT.second); local
385 int Idx = CostTableLookup(AVXAltShuffleTbl, ISD::VECTOR_SHUFFLE, LT.second); local
409 int Idx = CostTableLookup(SSE41AltShuffleTbl, ISD::VECTOR_SHUFFLE, LT.second); local
428 int Idx = CostTableLookup(SSSE3AltShuffleTbl, ISD::VECTOR_SHUFFLE, LT.second); local
448 int Idx = CostTableLookup(SSEAltShuffleTbl, ISD::VECTOR_SHUFFLE, LT.second); local
489 int Idx = local
529 int Idx = ConvertCostTableLookup(AVX512ConversionTbl, ISD, LTDest.second, local
645 int Idx = ConvertCostTableLookup(AVX2ConversionTbl, ISD, local
652 int Idx = ConvertCostTableLookup(AVXConversionTbl, ISD, DstTy.getSimpleVT(), local
705 int Idx = CostTableLookup(AVX512CostTbl, ISD, MTy); local
711 int Idx = CostTableLookup(AVX2CostTbl, ISD, MTy); local
717 int Idx = CostTableLookup(AVX1CostTbl, ISD, MTy); local
723 int Idx = CostTableLookup(SSE42CostTbl, ISD, MTy); local
934 int Idx = CostTableLookup(AVX1CostTblPairWise, ISD, MTy); local
940 int Idx = CostTableLookup(SSE42CostTblPairWise, ISD, MTy); local
946 int Idx = CostTableLookup(AVX1CostTblNoPairWise, ISD, MTy); local
952 int Idx = CostTableLookup(SSE42CostTblNoPairWise, ISD, MTy); local
1008 getIntImmCost(unsigned Opcode, unsigned Idx, const APInt &Imm, Type *Ty) argument
1077 getIntImmCost(Intrinsic::ID IID, unsigned Idx, const APInt &Imm, Type *Ty) argument
[all...]
/external/llvm/lib/ExecutionEngine/OProfileJIT/
H A DOProfileWrapper.cpp143 ssize_t Idx = 0; local
150 while (Idx < NumRead-1 && ExeName[Idx] != 0) {
151 Idx++;
155 Idx--;
158 while (Idx > 0) {
159 if (ExeName[Idx] == '/') {
160 BaseName = ExeName + Idx + 1;
163 Idx--;
/external/llvm/lib/Target/PowerPC/
H A DPPCMachineFunctionInfo.h131 void setFramePointerSaveIndex(int Idx) { FramePointerSaveIndex = Idx; } argument
137 void setBasePointerSaveIndex(int Idx) { BasePointerSaveIndex = Idx; } argument
140 void setPICBasePointerSaveIndex(int Idx) { PICBasePointerSaveIndex = Idx; } argument
/external/llvm/include/llvm/IR/
H A DUser.h75 template <int Idx, typename U> static Use &OpFrom(const U *that) {
76 return Idx < 0
77 ? OperandTraits<U>::op_end(const_cast<U*>(that))[Idx]
78 : OperandTraits<U>::op_begin(const_cast<U*>(that))[Idx];
80 template <int Idx> Use &Op() {
81 return OpFrom<Idx>(this);
83 template <int Idx> const Use &Op() const {
84 return OpFrom<Idx>(this);
/external/clang/test/PCH/
H A Dexprs.c82 double get_from_double_array(unsigned Idx) { return double_array[Idx]; } argument
85 float get_from_designated(unsigned Idx) { argument
/external/llvm/lib/Target/Hexagon/
H A DHexagonRemoveSZExtArgs.cpp58 unsigned Idx = 1; local
60 ++AI, ++Idx) {
61 if (F.getAttributes().hasAttribute(Idx, Attribute::SExt)) {

Completed in 616 milliseconds

1234567891011>>