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

12

/macosx-10.10/llvmCore-3425.0.34/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.h151 /// Indices. The points in the Indices array must be jointly dominated by
154 /// If a SlotIndex in Indices is the end index of a basic block, LI will be
158 void extendToIndices(LiveInterval *LI, ArrayRef<SlotIndex> Indices);
/macosx-10.10/llvmCore-3425.0.34/lib/CodeGen/
H A DAnalysis.cpp36 const unsigned *Indices,
40 if (Indices && Indices == IndicesEnd)
49 if (Indices && *Indices == unsigned(EI - EB))
50 return ComputeLinearIndex(*EI, Indices+1, IndicesEnd, CurIndex);
59 if (Indices && *Indices == i)
60 return ComputeLinearIndex(EltTy, Indices+1, IndicesEnd, CurIndex);
35 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.cpp733 ArrayRef<SlotIndex> Indices) {
736 for (unsigned i = 0, e = Indices.size(); i != e; ++i)
737 LRCalc->extend(LI, Indices[i]);
732 extendToIndices(LiveInterval *LI, ArrayRef<SlotIndex> Indices) argument
/macosx-10.10/llvmCore-3425.0.34/include/llvm/Analysis/
H A DConstantFolding.h90 ArrayRef<Constant*> Indices);
/macosx-10.10/llvmCore-3425.0.34/lib/Transforms/IPO/
H A DArgumentPromotion.cpp252 /// Checks if Indices, or a prefix of Indices, is in Set.
253 static bool PrefixIn(const ArgPromotion::IndicesVector &Indices, argument
256 Low = Set.upper_bound(Indices);
259 // Low is now the last element smaller than or equal to Indices. This means
260 // it points to a prefix of Indices (possibly Indices itself), if such
264 return Low != Set.end() && IsPrefix(*Low, Indices);
269 /// is already a prefix of Indices in Safe, Indices ar
344 IndicesVector Indices; local
553 IndicesVector Indices; local
[all...]
/macosx-10.10/llvmCore-3425.0.34/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);
/macosx-10.10/llvmCore-3425.0.34/lib/Transforms/Scalar/
H A DSROA.cpp1391 SmallVectorImpl<Value *> &Indices,
1393 if (Indices.empty())
1398 if (Indices.size() == 1 && cast<ConstantInt>(Indices.back())->isZero())
1401 return IRB.CreateInBoundsGEP(BasePtr, Indices, Prefix + ".idx");
1408 /// Indices, and arrived at the Ty type. The goal is to continue to GEP with
1412 /// indicated by Indices to have the correct offset.
1415 SmallVectorImpl<Value *> &Indices,
1418 return buildGEP(IRB, BasePtr, Indices, Prefix);
1429 Indices
1390 buildGEP(IRBuilder< &IRB, Value *BasePtr, SmallVectorImpl<Value *> &Indices, const Twine &Prefix) argument
1413 getNaturalGEPWithType(IRBuilder< &IRB, const TargetData &TD, Value *BasePtr, Type *Ty, Type *TargetTy, SmallVectorImpl<Value *> &Indices, const Twine &Prefix) argument
1448 getNaturalGEPRecursively(IRBuilder< &IRB, const TargetData &TD, Value *Ptr, Type *Ty, APInt &Offset, Type *TargetTy, SmallVectorImpl<Value *> &Indices, const Twine &Prefix) argument
1519 getNaturalGEPWithOffset(IRBuilder< &IRB, const TargetData &TD, Value *Ptr, APInt Offset, Type *TargetTy, SmallVectorImpl<Value *> &Indices, const Twine &Prefix) argument
1566 SmallVector<Value *, 4> Indices; local
2705 SmallVector<unsigned, 4> Indices; member in class:__anon10701::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...]
/macosx-10.10/llvmCore-3425.0.34/lib/Target/
H A DTargetData.cpp600 ArrayRef<Value *> Indices) const {
606 TI = gep_type_begin(ptrTy, Indices);
607 for (unsigned CurIDX = 0, EndIDX = Indices.size(); CurIDX != EndIDX;
610 assert(Indices[CurIDX]->getType() ==
613 unsigned FieldNo = cast<ConstantInt>(Indices[CurIDX])->getZExtValue();
628 if (int64_t arrayIdx = cast<ConstantInt>(Indices[CurIDX])->getSExtValue())
/macosx-10.10/llvmCore-3425.0.34/lib/Analysis/
H A DLoads.cpp65 SmallVector<Value*, 8> Indices(GEP->op_begin() + 1, GEP->op_end());
67 Indices);
H A DLint.cpp647 ArrayRef<unsigned> Indices = CE->getIndices(); local
648 if (Value *W = FindInsertedValue(CE->getOperand(0), Indices))
H A DConstantFolding.cpp1077 ArrayRef<Constant*> Indices) {
1080 for (unsigned i = 0, e = Indices.size(); i != e; ++i) {
1081 C = C->getAggregateElement(Indices[i]);
1076 ConstantFoldLoadThroughGEPIndices(Constant *C, ArrayRef<Constant*> Indices) argument
/macosx-10.10/llvmCore-3425.0.34/bindings/ocaml/llvm/
H A Dllvm_ocaml.c709 CAMLprim LLVMValueRef llvm_const_gep(LLVMValueRef ConstantVal, value Indices) { argument
710 return LLVMConstGEP(ConstantVal, (LLVMValueRef*) Op_val(Indices),
711 Wosize_val(Indices));
716 value Indices) {
717 return LLVMConstInBoundsGEP(ConstantVal, (LLVMValueRef*) Op_val(Indices),
718 Wosize_val(Indices));
723 value Indices) {
724 CAMLparam1(Indices);
725 int size = Wosize_val(Indices);
731 idxs[i] = Int_val(Field(Indices,
715 llvm_const_in_bounds_gep(LLVMValueRef ConstantVal, value Indices) argument
722 llvm_const_extractvalue(LLVMValueRef Aggregate, value Indices) argument
740 llvm_const_insertvalue(LLVMValueRef Aggregate, LLVMValueRef Val, value Indices) argument
1698 llvm_build_gep(LLVMValueRef Pointer, value Indices, value Name, value B) argument
1706 llvm_build_in_bounds_gep(LLVMValueRef Pointer, value Indices, value Name, value B) argument
[all...]
/macosx-10.10/llvmCore-3425.0.34/lib/AsmParser/
H A DLLParser.h190 bool ParseIndexList(SmallVectorImpl<unsigned> &Indices,bool &AteExtraComma);
191 bool ParseIndexList(SmallVectorImpl<unsigned> &Indices) { argument
193 if (ParseIndexList(Indices, AteExtraComma)) return true;
H A DLLParser.cpp1284 bool LLParser::ParseIndexList(SmallVectorImpl<unsigned> &Indices,
1298 Indices.push_back(Idx);
2192 SmallVector<unsigned, 4> Indices;
2195 ParseIndexList(Indices) ||
2201 if (!ExtractValueInst::getIndexedType(Val->getType(), Indices))
2203 ID.ConstantVal = ConstantExpr::getExtractValue(Val, Indices);
2210 SmallVector<unsigned, 4> Indices;
2215 ParseIndexList(Indices) ||
2220 if (!ExtractValueInst::getIndexedType(Val0->getType(), Indices))
2222 ID.ConstantVal = ConstantExpr::getInsertValue(Val0, Val1, Indices);
[all...]
/macosx-10.10/llvmCore-3425.0.34/include/llvm/Target/
H A DTargetData.h290 uint64_t getIndexedOffset(Type *Ty, ArrayRef<Value *> Indices) const;
/macosx-10.10/OpenSSL098-52/src/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;
/macosx-10.10/llvmCore-3425.0.34/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp850 // Combine Indices - If the source pointer to this getelementptr instruction
866 SmallVector<Value*, 8> Indices;
902 Indices.append(Src->op_begin()+1, Src->op_end()-1);
903 Indices.push_back(Sum);
904 Indices.append(GEP.op_begin()+2, GEP.op_end());
909 Indices.append(Src->op_begin()+1, Src->op_end());
910 Indices.append(GEP.idx_begin()+1, GEP.idx_end());
913 if (!Indices.empty())
915 GetElementPtrInst::CreateInBounds(Src->getOperand(0), Indices,
917 GetElementPtrInst::Create(Src->getOperand(0), Indices, GE
1444 SmallVector<Value*, 4> Indices; local
[all...]
/macosx-10.10/llvmCore-3425.0.34/utils/TableGen/
H A DCodeGenRegisters.cpp252 // qsub_1 subreg, add a dsub_2 subreg. Keep growing Indices and process
254 SmallVector<CodeGenSubRegIndex*, 8> Indices = ExplicitSubRegIndices; local
255 for (unsigned i = 0; i != Indices.size(); ++i) {
256 CodeGenSubRegIndex *Idx = Indices[i];
274 Indices.push_back(I->second);
280 // Work backwards in the Indices vector in order to compose subregs bottom-up.
294 while (!Indices.empty() && !Orphans.empty()) {
295 CodeGenSubRegIndex *Idx = Indices.pop_back_val();
591 std::vector<Record*> Indices = Def->getValueAsListOfDefs("SubRegIndices"); local
592 unsigned Dim = Indices
[all...]
/macosx-10.10/llvmCore-3425.0.34/lib/VMCore/
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
/macosx-10.10/llvmCore-3425.0.34/include/llvm/
H A DInstructions.h1733 SmallVector<unsigned, 4> Indices; member in class:llvm::ExtractValueInst
1779 inline idx_iterator idx_begin() const { return Indices.begin(); }
1780 inline idx_iterator idx_end() const { return Indices.end(); }
1793 return Indices;
1797 return (unsigned)Indices.size();
1840 SmallVector<unsigned, 4> Indices; member in class:llvm::InsertValueInst
1891 inline idx_iterator idx_begin() const { return Indices.begin(); }
1892 inline idx_iterator idx_end() const { return Indices.end(); }
1915 return Indices;
1919 return (unsigned)Indices
[all...]
/macosx-10.10/llvmCore-3425.0.34/include/llvm-c/
H A DCore.h2420 LLVMValueRef *Indices, unsigned NumIndices,
2423 LLVMValueRef *Indices, unsigned NumIndices,
/macosx-10.10/llvmCore-3425.0.34/lib/ExecutionEngine/
H A DExecutionEngine.cpp559 SmallVector<Value*, 8> Indices(CE->op_begin()+1, CE->op_end());
560 uint64_t Offset = TD->getIndexedOffset(Op0->getType(), Indices);

Completed in 337 milliseconds

12