HomeSort by relevance Sort by last modified time
    Searched refs:Idx (Results 1 - 25 of 214) sorted by null

1 2 3 4 5 6 7 8 9

  /external/llvm/lib/VMCore/
DebugLoc.cpp 190 int &Idx = ScopeRecordIdx[Scope];
191 if (Idx) return Idx;
195 return Idx = ExistingIdx;
205 Idx = ScopeRecords.size()+1;
206 ScopeRecords.push_back(DebugRecVH(Scope, this, Idx));
207 return Idx;
213 int &Idx = ScopeInlinedAtIdx[std::make_pair(Scope, IA)];
214 if (Idx) return Idx;
    [all...]
  /external/clang/lib/Serialization/
ASTReaderStmt.cpp 32 unsigned &Idx;
72 const ASTReader::RecordData &Record, unsigned &Idx)
73 : Reader(Reader), F(F), DeclsCursor(Cursor), Record(Record), Idx(Idx) { }
100 SourceLocation TemplateKWLoc = ReadSourceLocation(Record, Idx);
102 ArgInfo.setLAngleLoc(ReadSourceLocation(Record, Idx));
103 ArgInfo.setRAngleLoc(ReadSourceLocation(Record, Idx));
106 Reader.ReadTemplateArgumentLoc(F, Record, Idx));
111 assert(Idx == NumStmtFields && "Incorrect statement field count");
116 S->setSemiLoc(ReadSourceLocation(Record, Idx));
    [all...]
ASTReaderDecl.cpp 44 unsigned &Idx;
198 const RecordData &Record, unsigned &Idx)
200 RawLocation(RawLocation), Record(Record), Idx(Idx),
308 GetTypeSourceInfo(Record, Idx);
311 DD->DeclInfo = GetTypeSourceInfo(Record, Idx);
323 if (Record[Idx++])
342 DeclContextIDForTemplateParmDecl = ReadDeclID(Record, Idx);
343 LexicalDeclContextIDForTemplateParmDecl = ReadDeclID(Record, Idx);
346 DeclContext *SemaDC = ReadDeclAs<DeclContext>(Record, Idx);
    [all...]
ASTReader.cpp 795 unsigned Idx = 0;
800 for (int I = 0, N = Record[Idx++]; I != N; ++I) {
802 unsigned FilenameLen = Record[Idx++];
803 std::string Filename(&Record[Idx], &Record[Idx] + FilenameLen);
804 Idx += FilenameLen;
811 while (Idx < Record.size()) {
812 int FID = Record[Idx++];
818 unsigned NumEntries = Record[Idx++];
823 unsigned FileOffset = Record[Idx++]
    [all...]
  /external/llvm/include/llvm/ADT/
PackedVector.h 30 static T getValue(const llvm::BitVector &Bits, unsigned Idx) {
33 val = T(val | ((Bits[(Idx << (BitNum-1)) + i] ? 1UL : 0UL) << i));
37 static void setValue(llvm::BitVector &Bits, unsigned Idx, T val) {
40 Bits[(Idx << (BitNum-1)) + i] = val & (T(1) << i);
47 static T getValue(const llvm::BitVector &Bits, unsigned Idx) {
50 val = T(val | ((Bits[(Idx << (BitNum-1)) + i] ? 1UL : 0UL) << i));
51 if (Bits[(Idx << (BitNum-1)) + BitNum-1])
56 static void setValue(llvm::BitVector &Bits, unsigned Idx, T val) {
59 Bits.set((Idx << (BitNum-1)) + BitNum-1);
63 Bits[(Idx << (BitNum-1)) + i] = val & (T(1) << i)
    [all...]
SmallBitVector.h 62 reference(SmallBitVector &b, unsigned Idx) : TheVector(b), BitPos(Idx) {}
288 SmallBitVector &set(unsigned Idx) {
290 setSmallBits(getSmallBits() | (uintptr_t(1) << Idx));
292 getPointer()->set(Idx);
304 SmallBitVector &reset(unsigned Idx) {
306 setSmallBits(getSmallBits() & ~(uintptr_t(1) << Idx));
308 getPointer()->reset(Idx);
320 SmallBitVector &flip(unsigned Idx) {
322 setSmallBits(getSmallBits() ^ (uintptr_t(1) << Idx));
    [all...]
BitVector.h 46 reference(BitVector &b, unsigned Idx) {
47 WordRef = &b.Bits[Idx / BITWORD_SIZE];
48 BitPos = Idx % BITWORD_SIZE;
227 BitVector &set(unsigned Idx) {
228 Bits[Idx / BITWORD_SIZE] |= 1L << (Idx % BITWORD_SIZE);
237 BitVector &reset(unsigned Idx) {
238 Bits[Idx / BITWORD_SIZE] &= ~(1L << (Idx % BITWORD_SIZE));
249 BitVector &flip(unsigned Idx) {
    [all...]
SparseBitVector.h 66 explicit SparseBitVectorElement(unsigned Idx) {
67 ElementIndex = Idx;
85 // Return the bits that make up word Idx in our element.
86 BitWord word(unsigned Idx) const {
87 assert (Idx < BITWORDS_PER_ELEMENT);
88 return Bits[Idx];
102 void set(unsigned Idx) {
103 Bits[Idx / BITWORD_SIZE] |= 1L << (Idx % BITWORD_SIZE);
106 bool test_and_set (unsigned Idx) {
    [all...]
  /ndk/sources/host-tools/sed-4.2.1/lib/
regex_internal.h 132 typedef __re_idx_t Idx;
135 #define REG_MISSING ((Idx) -1)
138 #define REG_ERROR ((Idx) -2)
142 # define REG_VALID_INDEX(n) ((Idx) (n) < REG_ERROR)
149 # define REG_VALID_NONZERO_INDEX(n) ((Idx) ((n) - 1) < (Idx) (REG_ERROR - 1))
227 Idx alloc;
228 Idx nelem;
229 Idx *elems;
315 Idx nmbchars
340 Idx idx; \/* for BACK_REF *\/ member in union:__anon19633::__anon19634
646 Idx idx; member in struct:re_fail_stack_ent_t
    [all...]
regexec.c 24 Idx n) internal_function;
27 static reg_errcode_t match_ctx_add_entry (re_match_context_t *cache, Idx node,
28 Idx str_idx, Idx from, Idx to)
30 static Idx search_cur_bkref_entry (const re_match_context_t *mctx, Idx str_idx)
32 static reg_errcode_t match_ctx_add_subtop (re_match_context_t *mctx, Idx node,
33 Idx str_idx) internal_function;
35 Idx node, Idx str_idx
1442 Idx idx, cur_node; local
1918 Idx idx = re_node_set_contains (dest_nodes, cur_node) - 1; local
3168 Idx idx, outside_node; local
3896 int32_t idx; local
4031 int32_t idx; local
    [all...]
regex_internal.c 23 static void re_string_construct_common (const char *str, Idx len,
43 re_string_allocate (re_string_t *pstr, const char *str, Idx len, Idx init_len,
47 Idx init_buf_len;
71 re_string_construct (re_string_t *pstr, const char *str, Idx len,
134 re_string_realloc_buffers (re_string_t *pstr, Idx new_buf_len)
142 size_t max_object_size = MAX (sizeof (wint_t), sizeof (Idx));
152 Idx *new_offsets = re_realloc (pstr->offsets, Idx, new_buf_len);
174 re_string_construct_common (const char *str, Idx len, re_string_t *pstr
1283 Idx idx; local
1373 __re_size_t idx, right, mid; local
    [all...]
  /external/llvm/lib/Target/ARM/MCTargetDesc/
ARMMCTargetDesc.cpp 42 unsigned Idx = 0;
47 Idx = 4;
51 Idx = 6;
55 if (Idx) {
56 unsigned SubVer = TT[Idx];
58 if (Len >= Idx+2 && TT[Idx+1] == 'm') {
61 } else if (Len >= Idx+3 && TT[Idx+1] == 'e'&& TT[Idx+2] == 'm')
    [all...]
  /external/llvm/include/llvm/
User.h 76 template <int Idx, typename U> static Use &OpFrom(const U *that) {
77 return Idx < 0
78 ? OperandTraits<U>::op_end(const_cast<U*>(that))[Idx]
79 : OperandTraits<U>::op_begin(const_cast<U*>(that))[Idx];
81 template <int Idx> Use &Op() {
82 return OpFrom<Idx>(this);
84 template <int Idx> const Use &Op() const {
85 return OpFrom<Idx>(this);
Attributes.h 241 static AttributeWithIndex get(unsigned Idx, Attributes Attrs) {
243 P.Index = Idx;
285 AttrListPtr addAttr(unsigned Idx, Attributes Attrs) const;
290 AttrListPtr removeAttr(unsigned Idx, Attributes Attrs) const;
297 Attributes getParamAttributes(unsigned Idx) const {
298 assert (Idx && Idx != ~0U && "Invalid parameter index!");
299 return getAttributes(Idx);
315 bool paramHasAttr(unsigned Idx, Attributes Attr) const {
316 return getAttributes(Idx) & Attr
    [all...]
  /external/clang/lib/StaticAnalyzer/Checkers/
ArrayBoundChecker.cpp 47 DefinedOrUnknownSVal Idx = cast<DefinedOrUnknownSVal>(ER->getIndex());
51 if (Idx.isZeroConstant())
61 ProgramStateRef StInBound = state->assumeInBound(Idx, NumElements, true);
62 ProgramStateRef StOutBound = state->assumeInBound(Idx, NumElements, false);
ReturnPointerRangeChecker.cpp 49 DefinedOrUnknownSVal Idx = cast<DefinedOrUnknownSVal>(ER->getIndex());
52 if (Idx.isZeroConstant())
61 ProgramStateRef StInBound = state->assumeInBound(Idx, NumElements, true);
62 ProgramStateRef StOutBound = state->assumeInBound(Idx, NumElements, false);
  /external/llvm/lib/Target/X86/
X86MachineFunctionInfo.h 120 void setVarArgsFrameIndex(int Idx) { VarArgsFrameIndex = Idx; }
123 void setRegSaveFrameIndex(int Idx) { RegSaveFrameIndex = Idx; }
  /external/llvm/unittests/ADT/
SCCIteratorTest.cpp 27 static void ValidateIndex(unsigned Idx) {
28 assert(Idx < N && "Invalid node index!");
54 void AddNode(unsigned Idx) {
55 ValidateIndex(Idx);
56 Elements |= 1U << Idx;
60 void DeleteNode(unsigned Idx) {
61 ValidateIndex(Idx);
62 Elements &= ~(1U << Idx);
66 bool count(unsigned Idx) {
67 ValidateIndex(Idx);
    [all...]
  /external/llvm/lib/ExecutionEngine/OProfileJIT/
OProfileWrapper.cpp 143 ssize_t Idx = 0;
146 while (Idx < NumRead-1 && ExeName[Idx] != 0) {
147 Idx++;
151 Idx--;
154 while (Idx > 0) {
155 if (ExeName[Idx] == '/') {
156 BaseName = ExeName + Idx + 1;
159 Idx--;
  /external/llvm/lib/CodeGen/
SplitKit.cpp 299 bool SplitAnalysis::isOriginalEndpoint(SlotIndex Idx) const {
303 LiveInterval::const_iterator I = Orig.find(Idx);
305 // Range containing Idx should begin at Idx.
306 if (I != Orig.end() && I->start <= Idx)
307 return I->start == Idx;
309 // Range does not contain Idx, previous must end at Idx.
310 return I != Orig.begin() && (--I)->end == Idx;
370 SlotIndex Idx) {
    [all...]
SplitKit.h 152 /// (re-)defined at Idx. Idx should be the 'def' slot for a normal kill/def,
156 bool isOriginalEndpoint(SlotIndex Idx) const;
267 /// Edit.get(RegAssign.lookup(Idx)) is the register that should be live at
268 /// Idx.
300 /// defValue - define a value in RegIdx from ParentVNI at Idx.
301 /// Idx does not have to be ParentVNI->def, but it must be contained within
305 VNInfo *defValue(unsigned RegIdx, const VNInfo *ParentVNI, SlotIndex Idx);
366 void selectIntv(unsigned Idx);
368 /// enterIntvBefore - Enter the open interval before the instruction at Idx
    [all...]
  /external/llvm/lib/Target/ARM/
Thumb2RegisterInfo.cpp 46 unsigned Idx = ConstantPool->getConstantPoolIndex(C, 4);
50 .addConstantPoolIndex(Idx).addImm((int64_t)ARMCC::AL).addReg(0)
  /external/clang/test/PCH/
exprs.c 78 double get_from_double_array(unsigned Idx) { return double_array[Idx]; }
81 float get_from_designated(unsigned Idx) {
  /external/llvm/include/llvm/CodeGen/
MachineJumpTableInfo.h 105 void RemoveJumpTable(unsigned Idx) {
106 JumpTables[Idx].MBBs.clear();
115 bool ReplaceMBBInJumpTable(unsigned Idx, MachineBasicBlock *Old,
  /external/llvm/lib/Target/Hexagon/
HexagonRemoveSZExtArgs.cpp 50 unsigned Idx = 1;
52 ++AI, ++Idx) {
53 if (F.paramHasAttr(Idx, Attribute::SExt)) {

Completed in 3360 milliseconds

1 2 3 4 5 6 7 8 9