Searched defs:Idx (Results 1 - 25 of 208) sorted by relevance

123456789

/external/llvm/lib/Target/Hexagon/
H A DHexagonRemoveSZExtArgs.cpp57 unsigned Idx = 1; local
59 ++AI, ++Idx) {
60 if (F.getAttributes().hasAttribute(Idx, Attribute::SExt)) {
/external/llvm/unittests/ADT/
H A DSCCIteratorTest.cpp27 static void ValidateIndex(unsigned Idx) { argument
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/clang/lib/Frontend/
H A DLayoutOverrideSource.cpp134 unsigned Idx = 1; local
135 while (Idx < LineStr.size() && isDigit(LineStr[Idx]))
136 ++Idx;
139 (void)LineStr.substr(0, Idx).getAsInteger(10, Offset);
144 LineStr = LineStr.substr(Idx + 1);
/external/llvm/include/llvm/IR/
H A DTypeFinder.h58 StructType *&operator[](unsigned Idx) { return StructTypes[Idx]; } argument
/external/llvm/lib/Target/ARM/
H A DThumb2RegisterInfo.cpp47 unsigned Idx = ConstantPool->getConstantPoolIndex(C, 4); local
51 .addConstantPoolIndex(Idx).addImm((int64_t)ARMCC::AL).addReg(0)
H A DARMInstrInfo.cpp118 unsigned Idx = MF.getConstantPool()->getConstantPoolIndex(CPV, Align); variable
130 .addConstantPoolIndex(Idx);
/external/llvm/lib/Target/NVPTX/
H A DNVPTXFavorNonGenericAddrSpaces.cpp68 /// Optimizes load/store instructions. Idx is the index of the pointer operand
70 bool optimizeMemoryInstruction(Instruction *I, unsigned Idx);
147 unsigned Idx) {
150 if (GEPOperator *GEP = dyn_cast<GEPOperator>(MI->getOperand(Idx))) {
164 if (Operator *Cast = dyn_cast<Operator>(MI->getOperand(Idx))) {
166 MI->setOperand(Idx, Cast->getOperand(0));
146 optimizeMemoryInstruction(Instruction *MI, unsigned Idx) argument
/external/clang/include/clang/Serialization/
H A DASTDeserializationListener.h45 virtual void TypeRead(serialization::TypeIdx Idx, QualType T) { } argument
/external/clang/lib/Analysis/
H A DThreadSafetyTIL.cpp52 unsigned Idx = Predecessors.size(); local
61 return Idx;
/external/llvm/include/llvm/ADT/
H A DSparseBitVector.h67 explicit SparseBitVectorElement(unsigned Idx) { argument
68 ElementIndex = Idx;
86 // Return the bits that make up word Idx in our element.
87 BitWord word(unsigned Idx) const {
88 assert (Idx < BITWORDS_PER_ELEMENT);
89 return Bits[Idx];
103 void set(unsigned Idx) {
104 Bits[Idx / BITWORD_SIZE] |= 1L << (Idx % BITWORD_SIZE);
107 bool test_and_set (unsigned Idx) {
[all...]
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 DSparseSet.h201 /// @param Idx A valid index to find.
204 iterator findIndex(unsigned Idx) { argument
205 assert(Idx < Universe && "Key out of range");
207 for (unsigned i = Sparse[Idx], e = size(); i < e; i += Stride) {
210 if (Idx == FoundIdx)
250 unsigned Idx = ValIndexOf(Val);
251 iterator I = findIndex(Idx);
254 Sparse[Idx] = size();
/external/llvm/include/llvm/Analysis/
H A DCFGPrinter.h71 unsigned Idx = OutStr.find('\n', i+1); // Find end of line local
72 OutStr.erase(OutStr.begin()+i, OutStr.begin()+Idx);
/external/llvm/include/llvm/CodeGen/
H A DMachineJumpTableInfo.h105 void RemoveJumpTable(unsigned Idx) { argument
106 JumpTables[Idx].MBBs.clear();
115 bool ReplaceMBBInJumpTable(unsigned Idx, MachineBasicBlock *Old,
/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/Target/AArch64/
H A DAArch64A53Fix835769.cpp196 unsigned Idx = 0; local
215 DEBUG(dbgs() << " ** pattern found at Idx " << Idx << "!\n");
221 ++Idx;
/external/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCAsmBackend.cpp126 unsigned Idx = IsLittleEndian ? i : (NumBytes - 1 - i); variable
127 Data[Offset + i] |= uint8_t((Value >> (Idx * 8)) & 0xff);
/external/clang/lib/Parse/
H A DParseInit.cpp207 ExprResult Idx; local
247 Idx = ExprResult(static_cast<Expr*>(TypeOrExpr));
294 if (!Idx.get()) {
295 Idx = ParseAssignmentExpression();
296 if (Idx.isInvalid()) {
298 return Idx;
312 Idx.get());
317 Desig.AddDesignator(Designator::getArray(Idx.get(), StartLoc));
328 Desig.AddDesignator(Designator::getArrayRange(Idx.get(),
/external/clang/lib/Sema/
H A DScopeInfo.cpp198 void LambdaScopeInfo::getPotentialVariableCapture(unsigned Idx, VarDecl *&VD, argument
200 assert(Idx < getNumPotentialVariableCaptures() &&
203 E = PotentiallyCapturingExprs[Idx];
/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/CodeGen/
H A DLiveRangeCalc.cpp48 SlotIndex Idx; local
51 Idx = Indexes->getMBBStartIdx(MI->getParent());
54 Idx = Indexes->getInstructionIndex(MI)
58 LR.createDeadDef(Idx, *Alloc);
80 SlotIndex Idx; local
85 Idx = Indexes->getMBBEndIdx(MI->getOperand(OpNo+1).getMBB());
88 Idx = Indexes->getInstructionIndex(MI).getRegSlot();
93 Idx = Idx.getRegSlot(true);
98 Idx
[all...]
/external/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGDumper.cpp375 int Idx = SVN->getMaskElt(i); local
377 if (Idx < 0)
380 OS << Idx; local
/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/Mips/MCTargetDesc/
H A DMipsAsmBackend.cpp203 unsigned Idx = IsLittle ? (microMipsLEByteOrder ? calculateMMLEIndex(i) local
206 CurVal |= (uint64_t)((uint8_t)Data[Offset + Idx]) << (i*8);
215 unsigned Idx = IsLittle ? (microMipsLEByteOrder ? calculateMMLEIndex(i) local
218 Data[Offset + Idx] = (uint8_t)((CurVal >> (i*8)) & 0xff);
/external/llvm/lib/Transforms/Utils/
H A DBreakCriticalEdges.cpp102 unsigned Idx = PN->getBasicBlockIndex(SplitBB); local
103 Value *V = PN->getIncomingValue(Idx);
120 PN->setIncomingValue(Idx, NewPN);

Completed in 1566 milliseconds

123456789