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

12

/freebsd-10.1-release/contrib/llvm/include/llvm/CodeGen/
H A DAnalysis.h39 const unsigned *Indices,
44 ArrayRef<unsigned> Indices,
46 return ComputeLinearIndex(Ty, Indices.begin(), Indices.end(), CurIndex);
43 ComputeLinearIndex(Type *Ty, ArrayRef<unsigned> Indices, unsigned CurIndex = 0) argument
H A DLiveIntervalAnalysis.h156 /// Indices. The points in the Indices array must be jointly dominated by
159 /// If a SlotIndex in Indices is the end index of a basic block, LI will be
163 void extendToIndices(LiveRange &LR, ArrayRef<SlotIndex> Indices);
/freebsd-10.1-release/contrib/llvm/include/llvm/Analysis/
H A DConstantFolding.h90 ArrayRef<Constant*> Indices);
/freebsd-10.1-release/contrib/llvm/lib/Target/XCore/
H A DXCoreLowerThreadLocal.cpp214 SmallVector<Value *, 2> Indices; local
215 Indices.push_back(Constant::getNullValue(Type::getInt64Ty(Ctx)));
216 Indices.push_back(ThreadID);
217 Value *Addr = Builder.CreateInBoundsGEP(NewGV, Indices);
/freebsd-10.1-release/contrib/llvm/lib/Transforms/IPO/
H A DArgumentPromotion.cpp248 /// Checks if Indices, or a prefix of Indices, is in Set.
249 static bool PrefixIn(const ArgPromotion::IndicesVector &Indices, argument
252 Low = Set.upper_bound(Indices);
255 // Low is now the last element smaller than or equal to Indices. This means
256 // it points to a prefix of Indices (possibly Indices itself), if such
260 return Low != Set.end() && IsPrefix(*Low, Indices);
265 /// is already a prefix of Indices in Safe, Indices ar
340 IndicesVector Indices; local
556 IndicesVector Indices; local
[all...]
/freebsd-10.1-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.cpp445 ArrayRef<SlotIndex> Indices) {
448 for (unsigned i = 0, e = Indices.size(); i != e; ++i)
449 LRCalc->extend(LR, Indices[i]);
444 extendToIndices(LiveRange &LR, ArrayRef<SlotIndex> Indices) argument
/freebsd-10.1-release/contrib/llvm/lib/Target/Mips/
H A DMipsSEISelLowering.cpp2288 SmallVector<int, 16> Indices,
2292 if (Indices.size() < 4)
2296 for (unsigned j = i; j < Indices.size(); j += 4) {
2297 int Idx = Indices[j];
2346 SmallVector<int, 16> Indices,
2348 assert ((Indices.size() % 2) == 0);
2352 for (unsigned i = 0; i < Indices.size(); i += 2) {
2353 if (Indices[i] != -1 && Indices[i] != WsIdx)
2355 if (Indices[
2287 lowerVECTOR_SHUFFLE_SHF(SDValue Op, EVT ResTy, SmallVector<int, 16> Indices, SelectionDAG &DAG) argument
2345 lowerVECTOR_SHUFFLE_ILVEV(SDValue Op, EVT ResTy, SmallVector<int, 16> Indices, SelectionDAG &DAG) argument
2375 lowerVECTOR_SHUFFLE_ILVOD(SDValue Op, EVT ResTy, SmallVector<int, 16> Indices, SelectionDAG &DAG) argument
2405 lowerVECTOR_SHUFFLE_ILVL(SDValue Op, EVT ResTy, SmallVector<int, 16> Indices, SelectionDAG &DAG) argument
2435 lowerVECTOR_SHUFFLE_ILVR(SDValue Op, EVT ResTy, SmallVector<int, 16> Indices, SelectionDAG &DAG) argument
2466 lowerVECTOR_SHUFFLE_PCKEV(SDValue Op, EVT ResTy, SmallVector<int, 16> Indices, SelectionDAG &DAG) argument
2492 lowerVECTOR_SHUFFLE_PCKOD(SDValue Op, EVT ResTy, SmallVector<int, 16> Indices, SelectionDAG &DAG) argument
2516 lowerVECTOR_SHUFFLE_VSHF(SDValue Op, EVT ResTy, SmallVector<int, 16> Indices, SelectionDAG &DAG) argument
2570 SmallVector<int, 16> Indices; local
[all...]
/freebsd-10.1-release/contrib/llvm/lib/Transforms/Scalar/
H A DSROA.cpp1191 SmallVectorImpl<Value *> &Indices) {
1192 if (Indices.empty())
1197 if (Indices.size() == 1 && cast<ConstantInt>(Indices.back())->isZero())
1200 return IRB.CreateInBoundsGEP(BasePtr, Indices, "idx");
1207 /// Indices, and arrived at the Ty type. The goal is to continue to GEP with
1211 /// indicated by Indices to have the correct offset.
1214 SmallVectorImpl<Value *> &Indices) {
1216 return buildGEP(IRB, BasePtr, Indices);
1229 Indices
1190 buildGEP(IRBuilderTy &IRB, Value *BasePtr, SmallVectorImpl<Value *> &Indices) argument
1212 getNaturalGEPWithType(IRBuilderTy &IRB, const DataLayout &DL, Value *BasePtr, Type *Ty, Type *TargetTy, SmallVectorImpl<Value *> &Indices) argument
1250 getNaturalGEPRecursively(IRBuilderTy &IRB, const DataLayout &DL, Value *Ptr, Type *Ty, APInt &Offset, Type *TargetTy, SmallVectorImpl<Value *> &Indices) argument
1320 getNaturalGEPWithOffset(IRBuilderTy &IRB, const DataLayout &DL, Value *Ptr, APInt Offset, Type *TargetTy, SmallVectorImpl<Value *> &Indices) argument
1365 SmallVector<Value *, 4> Indices; local
2746 SmallVector<unsigned, 4> Indices; member in class:__anon2800::AggLoadStoreRewriter::OpSplitter
[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.1-release/contrib/llvm/lib/IR/
H A DDataLayout.cpp640 ArrayRef<Value *> Indices) const {
646 TI = gep_type_begin(ptrTy, Indices);
647 for (unsigned CurIDX = 0, EndIDX = Indices.size(); CurIDX != EndIDX;
650 assert(Indices[CurIDX]->getType() ==
653 unsigned FieldNo = cast<ConstantInt>(Indices[CurIDX])->getZExtValue();
668 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.1-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.1-release/contrib/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp1118 // Combine Indices - If the source pointer to this getelementptr instruction
1134 SmallVector<Value*, 8> Indices;
1170 Indices.append(Src->op_begin()+1, Src->op_end()-1);
1171 Indices.push_back(Sum);
1172 Indices.append(GEP.op_begin()+2, GEP.op_end());
1177 Indices.append(Src->op_begin()+1, Src->op_end());
1178 Indices.append(GEP.idx_begin()+1, GEP.idx_end());
1181 if (!Indices.empty())
1183 GetElementPtrInst::CreateInBounds(Src->getOperand(0), Indices,
1185 GetElementPtrInst::Create(Src->getOperand(0), Indices, GE
1804 SmallVector<Value*, 4> Indices; local
[all...]
/freebsd-10.1-release/contrib/llvm/lib/AsmParser/
H A DLLParser.cpp1533 bool LLParser::ParseIndexList(SmallVectorImpl<unsigned> &Indices,
1547 Indices.push_back(Idx);
2449 SmallVector<unsigned, 4> Indices;
2452 ParseIndexList(Indices) ||
2458 if (!ExtractValueInst::getIndexedType(Val->getType(), Indices))
2460 ID.ConstantVal = ConstantExpr::getExtractValue(Val, Indices);
2467 SmallVector<unsigned, 4> Indices;
2472 ParseIndexList(Indices) ||
2477 if (!ExtractValueInst::getIndexedType(Val0->getType(), Indices))
2479 ID.ConstantVal = ConstantExpr::getInsertValue(Val0, Val1, Indices);
[all...]
H A DLLParser.h213 bool ParseIndexList(SmallVectorImpl<unsigned> &Indices,bool &AteExtraComma);
214 bool ParseIndexList(SmallVectorImpl<unsigned> &Indices) { argument
216 if (ParseIndexList(Indices, AteExtraComma)) return true;
/freebsd-10.1-release/contrib/llvm/lib/Object/
H A DArchive.cpp355 const char *Indices = Buf + sizeof(support::ulittle32_t); local
360 *(reinterpret_cast<const support::ulittle16_t*>(Indices)
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGBuiltin.cpp2661 SmallVector<Constant*, 16> Indices; local
2664 Indices.push_back(ConstantInt::get(CGF.Int32Ty, 2*i));
2665 Indices.push_back(ConstantInt::get(CGF.Int32Ty, 2*i+1));
2667 Value *SV = llvm::ConstantVector::get(Indices);
4331 SmallVector<Constant*, 16> Indices; local
4333 Indices.push_back(ConstantInt::get(Int32Ty, i+CV));
4337 Value *SV = llvm::ConstantVector::get(Indices);
4367 SmallVector<Constant*, 2> Indices; local
4368 Indices.push_back(ConstantInt::get(Int32Ty, 1-Lane));
4369 Indices
4866 SmallVector<Constant*, 16> Indices; local
4886 SmallVector<Constant*, 16> Indices; local
4905 SmallVector<Constant*, 16> Indices; local
5016 SmallVector<llvm::Constant*, 8> Indices; local
5047 SmallVector<llvm::Constant*, 16> Indices; local
5077 SmallVector<llvm::Constant*, 32> Indices; local
[all...]
H A DCGExpr.cpp560 llvm::Value *Indices[] = { Builder.getInt32(0), Slot }; local
562 Builder.CreateLoad(Builder.CreateInBoundsGEP(Cache, Indices));
2411 SmallVector<unsigned, 4> Indices; local
2412 E->getEncodedElementAccess(Indices);
2415 llvm::Constant *CV = GenerateConstantVector(Builder, Indices);
2424 for (unsigned i = 0, e = Indices.size(); i != e; ++i)
2425 CElts.push_back(BaseElts->getAggregateElement(Indices[i]));
/freebsd-10.1-release/contrib/llvm/include/llvm/IR/
H A DDataLayout.h385 uint64_t getIndexedOffset(Type *Ty, ArrayRef<Value *> Indices) const;
H A DInstructions.h1741 SmallVector<unsigned, 4> Indices; member in class:llvm::ExtractValueInst
1787 inline idx_iterator idx_begin() const { return Indices.begin(); }
1788 inline idx_iterator idx_end() const { return Indices.end(); }
1801 return Indices;
1805 return (unsigned)Indices.size();
1847 SmallVector<unsigned, 4> Indices; member in class:llvm::InsertValueInst
1898 inline idx_iterator idx_begin() const { return Indices.begin(); }
1899 inline idx_iterator idx_end() const { return Indices.end(); }
1922 return Indices;
1926 return (unsigned)Indices
[all...]
/freebsd-10.1-release/contrib/llvm/utils/TableGen/
H A DCodeGenRegisters.cpp259 // qsub_1 subreg, add a dsub_2 subreg. Keep growing Indices and process
261 SmallVector<CodeGenSubRegIndex*, 8> Indices = ExplicitSubRegIndices; local
262 for (unsigned i = 0; i != Indices.size(); ++i) {
263 CodeGenSubRegIndex *Idx = Indices[i];
281 Indices.push_back(I->second);
287 // Work backwards in the Indices vector in order to compose subregs bottom-up.
301 while (!Indices.empty() && !Orphans.empty()) {
302 CodeGenSubRegIndex *Idx = Indices.pop_back_val();
554 std::vector<Record*> Indices = Def->getValueAsListOfDefs("SubRegIndices"); local
555 unsigned Dim = Indices
[all...]
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/AST/
H A DDeclCXX.cpp1614 VarDecl **Indices,
1621 memcpy(MyIndices, Indices, NumIndices * sizeof(VarDecl *));
1629 VarDecl **Indices,
1635 Indices, NumIndices);
1609 CXXCtorInitializer(ASTContext &Context, FieldDecl *Member, SourceLocation MemberLoc, SourceLocation L, Expr *Init, SourceLocation R, VarDecl **Indices, unsigned NumIndices) argument
1624 Create(ASTContext &Context, FieldDecl *Member, SourceLocation MemberLoc, SourceLocation L, Expr *Init, SourceLocation R, VarDecl **Indices, unsigned NumIndices) argument
/freebsd-10.1-release/contrib/llvm/lib/Analysis/
H A DLint.cpp673 ArrayRef<unsigned> Indices = CE->getIndices(); local
674 if (Value *W = FindInsertedValue(CE->getOperand(0), Indices))

Completed in 294 milliseconds

12