Searched refs:Indices (Results 1 - 25 of 38) sorted by relevance

12

/freebsd-10.0-release/contrib/llvm/include/llvm/CodeGen/
H A DAnalysis.h38 const unsigned *Indices,
43 ArrayRef<unsigned> Indices,
45 return ComputeLinearIndex(Ty, Indices.begin(), Indices.end(), CurIndex);
42 ComputeLinearIndex(Type *Ty, ArrayRef<unsigned> Indices, unsigned CurIndex = 0) argument
H A DLiveIntervalAnalysis.h149 /// Indices. The points in the Indices array must be jointly dominated by
152 /// If a SlotIndex in Indices is the end index of a basic block, LI will be
156 void extendToIndices(LiveInterval *LI, ArrayRef<SlotIndex> Indices);
/freebsd-10.0-release/contrib/llvm/lib/Target/XCore/
H A DXCoreLowerThreadLocal.cpp118 SmallVector<Value *, 2> Indices; local
119 Indices.push_back(Constant::getNullValue(Type::getInt64Ty(Ctx)));
120 Indices.push_back(ThreadID);
121 Value *Addr = Builder.CreateInBoundsGEP(NewGV, Indices);
/freebsd-10.0-release/contrib/llvm/lib/CodeGen/
H A DAnalysis.cpp34 const unsigned *Indices,
38 if (Indices && Indices == IndicesEnd)
47 if (Indices && *Indices == unsigned(EI - EB))
48 return ComputeLinearIndex(*EI, Indices+1, IndicesEnd, CurIndex);
57 if (Indices && *Indices == i)
58 return ComputeLinearIndex(EltTy, Indices+1, IndicesEnd, CurIndex);
33 ComputeLinearIndex(Type *Ty, const unsigned *Indices, const unsigned *IndicesEnd, unsigned CurIndex) argument
H A DShadowStackGC.cpp351 Value *Indices[] = { ConstantInt::get(Type::getInt32Ty(Context), 0), local
354 Value* Val = B.CreateGEP(BasePtr, Indices, Name);
364 Value *Indices[] = { ConstantInt::get(Type::getInt32Ty(Context), 0), local
366 Value *Val = B.CreateGEP(BasePtr, Indices, Name);
H A DLiveIntervalAnalysis.cpp435 ArrayRef<SlotIndex> Indices) {
438 for (unsigned i = 0, e = Indices.size(); i != e; ++i)
439 LRCalc->extend(LI, Indices[i]);
434 extendToIndices(LiveInterval *LI, ArrayRef<SlotIndex> Indices) argument
/freebsd-10.0-release/contrib/llvm/include/llvm/Analysis/
H A DConstantFolding.h90 ArrayRef<Constant*> Indices);
/freebsd-10.0-release/contrib/llvm/lib/Transforms/IPO/
H A DArgumentPromotion.cpp253 /// Checks if Indices, or a prefix of Indices, is in Set.
254 static bool PrefixIn(const ArgPromotion::IndicesVector &Indices, argument
257 Low = Set.upper_bound(Indices);
260 // Low is now the last element smaller than or equal to Indices. This means
261 // it points to a prefix of Indices (possibly Indices itself), if such
265 return Low != Set.end() && IsPrefix(*Low, Indices);
270 /// is already a prefix of Indices in Safe, Indices ar
345 IndicesVector Indices; local
559 IndicesVector Indices; local
[all...]
/freebsd-10.0-release/contrib/llvm/lib/Transforms/Instrumentation/
H A DProfilingUtils.cpp118 std::vector<Constant*> Indices(2);
119 Indices[0] = Constant::getNullValue(Type::getInt32Ty(Context));
120 Indices[1] = ConstantInt::get(Type::getInt32Ty(Context), CounterNum);
122 ConstantExpr::getGetElementPtr(CounterArray, Indices);
/freebsd-10.0-release/contrib/llvm/lib/Transforms/Scalar/
H A DSROA.cpp1719 SmallVectorImpl<Value *> &Indices) {
1720 if (Indices.empty())
1725 if (Indices.size() == 1 && cast<ConstantInt>(Indices.back())->isZero())
1728 return IRB.CreateInBoundsGEP(BasePtr, Indices, "idx");
1735 /// Indices, and arrived at the Ty type. The goal is to continue to GEP with
1739 /// indicated by Indices to have the correct offset.
1742 SmallVectorImpl<Value *> &Indices) {
1744 return buildGEP(IRB, BasePtr, Indices);
1757 Indices
[all...]
H A DScalarReplAggregates.cpp510 SmallVector<Value*, 8> Indices(GEP->op_begin()+1, GEP->op_end());
517 GEPNonConstantIdx = Indices.pop_back_val();
524 Indices);
610 SmallVector<Value*, 8> Indices(GEP->op_begin()+1, GEP->op_end());
615 GEPNonConstantIdx = Indices.pop_back_val();
619 Indices);
1733 SmallVector<Value*, 8> Indices(GEPI->op_begin() + 1, GEPI->op_end());
1738 Indices.pop_back();
1739 Offset += TD->getIndexedOffset(GEPI->getPointerOperandType(), Indices);
2042 SmallVector<Value*, 8> Indices(GEP
[all...]
/freebsd-10.0-release/contrib/llvm/lib/IR/
H A DDataLayout.cpp632 ArrayRef<Value *> Indices) const {
638 TI = gep_type_begin(ptrTy, Indices);
639 for (unsigned CurIDX = 0, EndIDX = Indices.size(); CurIDX != EndIDX;
642 assert(Indices[CurIDX]->getType() ==
645 unsigned FieldNo = cast<ConstantInt>(Indices[CurIDX])->getZExtValue();
660 if (int64_t arrayIdx = cast<ConstantInt>(Indices[CurIDX])->getSExtValue())
H A DConstantsContext.h173 Indices(IdxList) {
177 /// Indices - These identify which value to extract.
178 const SmallVector<unsigned, 4> Indices; member in class:llvm::ExtractValueConstantExpr
199 Indices(IdxList) {
204 /// Indices - These identify the position for the insertion.
205 const SmallVector<unsigned, 4> Indices; member in class:llvm::InsertValueConstantExpr
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGBuiltin.cpp1938 SmallVector<Constant*, 16> Indices; local
1940 Indices.push_back(ConstantInt::get(Int32Ty, i+CV));
1944 Value *SV = llvm::ConstantVector::get(Indices);
1974 SmallVector<Constant*, 2> Indices; local
1975 Indices.push_back(ConstantInt::get(Int32Ty, 1-Lane));
1976 Indices.push_back(ConstantInt::get(Int32Ty, Lane));
1977 SV = llvm::ConstantVector::get(Indices);
2447 SmallVector<Constant*, 16> Indices; local
2449 Indices.push_back(Builder.getInt32(i+vi));
2450 Indices
2467 SmallVector<Constant*, 16> Indices; local
2486 SmallVector<Constant*, 16> Indices; local
2601 SmallVector<llvm::Constant*, 8> Indices; local
2632 SmallVector<llvm::Constant*, 16> Indices; local
2662 SmallVector<llvm::Constant*, 32> Indices; local
[all...]
H A DCGExpr.cpp635 llvm::Value *Indices[] = { Builder.getInt32(0), Slot }; local
637 Builder.CreateLoad(Builder.CreateInBoundsGEP(Cache, Indices));
2449 SmallVector<unsigned, 4> Indices; local
2450 E->getEncodedElementAccess(Indices);
2453 llvm::Constant *CV = GenerateConstantVector(Builder, Indices);
2462 for (unsigned i = 0, e = Indices.size(); i != e; ++i)
2463 CElts.push_back(BaseElts->getAggregateElement(Indices[i]));
/freebsd-10.0-release/contrib/llvm/lib/Object/
H A DArchive.cpp213 const char *Indices = Buf + sizeof(support::ulittle32_t); local
218 *(reinterpret_cast<const support::ulittle16_t*>(Indices)
/freebsd-10.0-release/crypto/openssl/util/
H A Dpod2man.pl281 @Indices = ();
542 push(@Indices, qq{.IX Title "$name $section"});
546 push(@Indices, qq(.IX Name "$name - $desc"\n));
874 push(@Indices, qq{.IX Header "$_"\n});
878 push(@Indices, qq{.IX Subsection "$_"\n});
897 push(@Indices, qq{.IX Item "$_"\n});
930 foreach (@Indices) { print "$_\n"; }
1035 push @Indices, ".IX Xref " . join ' ', map {qq("$_")} @entries;
/freebsd-10.0-release/contrib/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp1109 // Combine Indices - If the source pointer to this getelementptr instruction
1125 SmallVector<Value*, 8> Indices;
1161 Indices.append(Src->op_begin()+1, Src->op_end()-1);
1162 Indices.push_back(Sum);
1163 Indices.append(GEP.op_begin()+2, GEP.op_end());
1168 Indices.append(Src->op_begin()+1, Src->op_end());
1169 Indices.append(GEP.idx_begin()+1, GEP.idx_end());
1172 if (!Indices.empty())
1174 GetElementPtrInst::CreateInBounds(Src->getOperand(0), Indices,
1176 GetElementPtrInst::Create(Src->getOperand(0), Indices, GE
1778 SmallVector<Value*, 4> Indices; local
[all...]
/freebsd-10.0-release/contrib/llvm/lib/AsmParser/
H A DLLParser.cpp1521 bool LLParser::ParseIndexList(SmallVectorImpl<unsigned> &Indices,
1535 Indices.push_back(Idx);
2437 SmallVector<unsigned, 4> Indices;
2440 ParseIndexList(Indices) ||
2446 if (!ExtractValueInst::getIndexedType(Val->getType(), Indices))
2448 ID.ConstantVal = ConstantExpr::getExtractValue(Val, Indices);
2455 SmallVector<unsigned, 4> Indices;
2460 ParseIndexList(Indices) ||
2465 if (!ExtractValueInst::getIndexedType(Val0->getType(), Indices))
2467 ID.ConstantVal = ConstantExpr::getInsertValue(Val0, Val1, Indices);
[all...]
H A DLLParser.h211 bool ParseIndexList(SmallVectorImpl<unsigned> &Indices,bool &AteExtraComma);
212 bool ParseIndexList(SmallVectorImpl<unsigned> &Indices) { argument
214 if (ParseIndexList(Indices, AteExtraComma)) return true;
/freebsd-10.0-release/contrib/llvm/include/llvm/IR/
H A DDataLayout.h361 uint64_t getIndexedOffset(Type *Ty, ArrayRef<Value *> Indices) const;
H A DInstructions.h1735 SmallVector<unsigned, 4> Indices; member in class:llvm::ExtractValueInst
1781 inline idx_iterator idx_begin() const { return Indices.begin(); }
1782 inline idx_iterator idx_end() const { return Indices.end(); }
1795 return Indices;
1799 return (unsigned)Indices.size();
1841 SmallVector<unsigned, 4> Indices; member in class:llvm::InsertValueInst
1892 inline idx_iterator idx_begin() const { return Indices.begin(); }
1893 inline idx_iterator idx_end() const { return Indices.end(); }
1916 return Indices;
1920 return (unsigned)Indices
[all...]
/freebsd-10.0-release/contrib/llvm/utils/TableGen/
H A DCodeGenRegisters.cpp253 // qsub_1 subreg, add a dsub_2 subreg. Keep growing Indices and process
255 SmallVector<CodeGenSubRegIndex*, 8> Indices = ExplicitSubRegIndices; local
256 for (unsigned i = 0; i != Indices.size(); ++i) {
257 CodeGenSubRegIndex *Idx = Indices[i];
275 Indices.push_back(I->second);
281 // Work backwards in the Indices vector in order to compose subregs bottom-up.
295 while (!Indices.empty() && !Orphans.empty()) {
296 CodeGenSubRegIndex *Idx = Indices.pop_back_val();
592 std::vector<Record*> Indices = Def->getValueAsListOfDefs("SubRegIndices"); local
593 unsigned Dim = Indices
[all...]
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/AST/
H A DDeclCXX.cpp1548 VarDecl **Indices,
1555 memcpy(MyIndices, Indices, NumIndices * sizeof(VarDecl *));
1563 VarDecl **Indices,
1569 Indices, NumIndices);
1543 CXXCtorInitializer(ASTContext &Context, FieldDecl *Member, SourceLocation MemberLoc, SourceLocation L, Expr *Init, SourceLocation R, VarDecl **Indices, unsigned NumIndices) argument
1558 Create(ASTContext &Context, FieldDecl *Member, SourceLocation MemberLoc, SourceLocation L, Expr *Init, SourceLocation R, VarDecl **Indices, unsigned NumIndices) argument
/freebsd-10.0-release/contrib/llvm/lib/Analysis/
H A DLint.cpp645 ArrayRef<unsigned> Indices = CE->getIndices(); local
646 if (Value *W = FindInsertedValue(CE->getOperand(0), Indices))

Completed in 431 milliseconds

12