Home
last modified time | relevance | path

Searched refs:Indices (Results 1 – 25 of 95) sorted by relevance

1234

/external/llvm/include/llvm/CodeGen/
DAnalysis.h53 const unsigned *Indices,
58 ArrayRef<unsigned> Indices,
60 return ComputeLinearIndex(Ty, Indices.begin(), Indices.end(), CurIndex);
/external/clang/test/CXX/temp/temp.decls/temp.variadic/
Dmetafunctions.cpp149 namespace Indices { namespace
153 template<unsigned I, unsigned N, int ...Indices>
154 struct build_indices_impl<I, N, int_tuple<Indices...> >
155 : build_indices_impl<I+1, N, int_tuple<Indices..., I> > {
158 template<unsigned N, int ...Indices>
159 struct build_indices_impl<N, N, int_tuple<Indices...> > {
160 typedef int_tuple<Indices...> type;
/external/llvm/lib/Transforms/IPO/
DArgumentPromotion.cpp376 static bool PrefixIn(const ArgPromotion::IndicesVector &Indices, in PrefixIn() argument
379 Low = Set.upper_bound(Indices); in PrefixIn()
387 return Low != Set.end() && IsPrefix(*Low, Indices); in PrefixIn()
472 IndicesVector Indices; in isSafeToPromoteArgument() local
480 Indices.reserve(GEP->getNumIndices()); in isSafeToPromoteArgument()
484 Indices.push_back(CI->getSExtValue()); in isSafeToPromoteArgument()
491 MarkIndicesSafe(Indices, SafeToUnconditionallyLoad); in isSafeToPromoteArgument()
492 Indices.clear(); in isSafeToPromoteArgument()
681 IndicesVector Indices; in DoPromotion() local
682 Indices.reserve(UI->getNumOperands() - 1); in DoPromotion()
[all …]
/external/llvm/lib/Target/Mips/
DMipsSEISelLowering.cpp2439 SmallVector<int, 16> Indices, in lowerVECTOR_SHUFFLE_SHF() argument
2443 if (Indices.size() < 4) in lowerVECTOR_SHUFFLE_SHF()
2447 for (unsigned j = i; j < Indices.size(); j += 4) { in lowerVECTOR_SHUFFLE_SHF()
2448 int Idx = Indices[j]; in lowerVECTOR_SHUFFLE_SHF()
2519 SmallVector<int, 16> Indices, in isVECTOR_SHUFFLE_SPLATI() argument
2521 assert((Indices.size() % 2) == 0); in isVECTOR_SHUFFLE_SPLATI()
2524 for (const auto &V : Indices) { in isVECTOR_SHUFFLE_SPLATI()
2531 return fitsRegularPattern<int>(Indices.begin(), 1, Indices.end(), SplatIndex, in isVECTOR_SHUFFLE_SPLATI()
2551 SmallVector<int, 16> Indices, in lowerVECTOR_SHUFFLE_ILVEV() argument
2553 assert((Indices.size() % 2) == 0); in lowerVECTOR_SHUFFLE_ILVEV()
[all …]
/external/llvm/lib/CodeGen/
DAnalysis.cpp39 const unsigned *Indices, in ComputeLinearIndex() argument
43 if (Indices && Indices == IndicesEnd) in ComputeLinearIndex()
52 if (Indices && *Indices == unsigned(EI - EB)) in ComputeLinearIndex()
53 return ComputeLinearIndex(*EI, Indices+1, IndicesEnd, CurIndex); in ComputeLinearIndex()
56 assert(!Indices && "Unexpected out of bound"); in ComputeLinearIndex()
65 if (Indices) { in ComputeLinearIndex()
66 assert(*Indices < NumElts && "Unexpected out of bound"); in ComputeLinearIndex()
69 CurIndex += EltLinearOffset* *Indices; in ComputeLinearIndex()
70 return ComputeLinearIndex(EltTy, Indices+1, IndicesEnd, CurIndex); in ComputeLinearIndex()
DInterleavedAccessPass.cpp204 SmallVector<unsigned, 4> Indices; in lowerInterleavedLoad() local
205 Indices.push_back(Index); in lowerInterleavedLoad()
219 Indices.push_back(Index); in lowerInterleavedLoad()
225 if (!TLI->lowerInterleavedLoad(LI, Shuffles, Indices, Factor)) in lowerInterleavedLoad()
DShadowStackGCLowering.cpp354 Value *Indices[] = {ConstantInt::get(Type::getInt32Ty(Context), 0), in CreateGEP() local
357 Value *Val = B.CreateGEP(Ty, BasePtr, Indices, Name); in CreateGEP()
367 Value *Indices[] = {ConstantInt::get(Type::getInt32Ty(Context), 0), in CreateGEP() local
369 Value *Val = B.CreateGEP(Ty, BasePtr, Indices, Name); in CreateGEP()
/external/llvm/lib/Target/XCore/
DXCoreLowerThreadLocal.cpp213 SmallVector<Value *, 2> Indices; in lowerGlobal() local
214 Indices.push_back(Constant::getNullValue(Type::getInt64Ty(Ctx))); in lowerGlobal()
215 Indices.push_back(ThreadID); in lowerGlobal()
217 Builder.CreateInBoundsGEP(NewGV->getValueType(), NewGV, Indices); in lowerGlobal()
/external/llvm/lib/Target/NVPTX/
DNVPTXFavorNonGenericAddrSpaces.cpp156 SmallVector<Value *, 8> Indices(GEP->idx_begin(), GEP->idx_end()); in hoistAddrSpaceCastFromGEP() local
164 GEP->getSourceElementType(), Cast->getOperand(0), Indices, in hoistAddrSpaceCastFromGEP()
177 Indices, GEP->isInBounds()); in hoistAddrSpaceCastFromGEP()
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp1331 SmallVectorImpl<Value *> &Indices, Twine NamePrefix) { in buildGEP() argument
1332 if (Indices.empty()) in buildGEP()
1337 if (Indices.size() == 1 && cast<ConstantInt>(Indices.back())->isZero()) in buildGEP()
1340 return IRB.CreateInBoundsGEP(nullptr, BasePtr, Indices, in buildGEP()
1355 SmallVectorImpl<Value *> &Indices, in getNaturalGEPWithType() argument
1358 return buildGEP(IRB, BasePtr, Indices, NamePrefix); in getNaturalGEPWithType()
1373 Indices.push_back(IRB.getIntN(PtrSize, 0)); in getNaturalGEPWithType()
1376 Indices.push_back(IRB.getInt32(0)); in getNaturalGEPWithType()
1381 Indices.push_back(IRB.getInt32(0)); in getNaturalGEPWithType()
1388 Indices.erase(Indices.end() - NumLayers, Indices.end()); in getNaturalGEPWithType()
[all …]
DCorrelatedValuePropagation.cpp310 SmallVector<unsigned, 4> Indices; in processCallSite() local
320 Indices.push_back(ArgNo + 1); in processCallSite()
326 if (Indices.empty()) in processCallSite()
331 AS = AS.addAttribute(Ctx, Indices, Attribute::get(Ctx, Attribute::NonNull)); in processCallSite()
/external/llvm/lib/IR/
DDataLayout.cpp727 ArrayRef<Value *> Indices) const { in getIndexedOffset()
733 TI = gep_type_begin(ptrTy, Indices); in getIndexedOffset()
734 for (unsigned CurIDX = 0, EndIDX = Indices.size(); CurIDX != EndIDX; in getIndexedOffset()
737 assert(Indices[CurIDX]->getType() == in getIndexedOffset()
740 unsigned FieldNo = cast<ConstantInt>(Indices[CurIDX])->getZExtValue(); in getIndexedOffset()
755 if (int64_t arrayIdx = cast<ConstantInt>(Indices[CurIDX])->getSExtValue()) in getIndexedOffset()
/external/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c863 CAMLprim LLVMValueRef llvm_const_gep(LLVMValueRef ConstantVal, value Indices) { in llvm_const_gep() argument
864 return LLVMConstGEP(ConstantVal, (LLVMValueRef*) Op_val(Indices), in llvm_const_gep()
865 Wosize_val(Indices)); in llvm_const_gep()
870 value Indices) { in llvm_const_in_bounds_gep() argument
871 return LLVMConstInBoundsGEP(ConstantVal, (LLVMValueRef*) Op_val(Indices), in llvm_const_in_bounds_gep()
872 Wosize_val(Indices)); in llvm_const_in_bounds_gep()
883 value Indices) { in llvm_const_extractvalue() argument
884 CAMLparam1(Indices); in llvm_const_extractvalue()
885 int size = Wosize_val(Indices); in llvm_const_extractvalue()
891 idxs[i] = Int_val(Field(Indices, i)); in llvm_const_extractvalue()
[all …]
/external/chromium-trace/catapult/third_party/html5lib-python/doc/
Dindex.rst15 Indices and tables
/external/llvm/lib/Target/AMDGPU/
DAMDGPUPromoteAlloca.cpp349 std::vector<Value*> Indices; in visitAlloca() local
350 Indices.push_back(Constant::getNullValue(Type::getInt32Ty(Mod->getContext()))); in visitAlloca()
351 Indices.push_back(TID); in visitAlloca()
353 Value *Offset = Builder.CreateGEP(GVTy, GV, Indices); in visitAlloca()
/external/chromium-trace/catapult/third_party/mox3/doc/source/
Dindex.rst15 Indices and tables
/external/chromium-trace/catapult/telemetry/third_party/mox3/doc/source/
Dindex.rst15 Indices and tables
/external/clang/docs/analyzer/
Dindex.rst17 Indices and tables
/external/mesa3d/src/gallium/docs/source/
Dindex.rst24 Indices and tables
/external/llvm/lib/Transforms/Utils/
DLowerSwitch.cpp187 SmallVector<unsigned, 8> Indices; in fixPhis() local
190 Indices.push_back(Idx); in fixPhis()
195 for (auto III = Indices.rbegin(), IIE = Indices.rend(); III != IIE; ++III) in fixPhis()
/external/clang/docs/
Dindex.rst80 Indices and tables
/external/llvm/include/llvm/Analysis/
DTargetTransformInfoImpl.h309 ArrayRef<unsigned> Indices, in getInterleavedMemoryOpCost() argument
472 SmallVector<Value *, 4> Indices(GEP->idx_begin(), GEP->idx_end()); in getUserCost()
474 GEP->getSourceElementType(), GEP->getPointerOperand(), Indices); in getUserCost()
DConstantFolding.h101 ArrayRef<Constant*> Indices);
/external/llvm/lib/Target/AArch64/
DAArch64InstrInfo.cpp1526 llvm::ArrayRef<unsigned> Indices) const { in copyPhysRegTuple()
1532 unsigned NumRegs = Indices.size(); in copyPhysRegTuple()
1543 AddSubReg(MIB, DestReg, Indices[SubReg], RegState::Define, TRI); in copyPhysRegTuple()
1544 AddSubReg(MIB, SrcReg, Indices[SubReg], 0, TRI); in copyPhysRegTuple()
1545 AddSubReg(MIB, SrcReg, Indices[SubReg], getKillRegState(KillSrc), TRI); in copyPhysRegTuple()
1631 static const unsigned Indices[] = { AArch64::dsub0, AArch64::dsub1, in copyPhysReg() local
1634 Indices); in copyPhysReg()
1641 static const unsigned Indices[] = { AArch64::dsub0, AArch64::dsub1, in copyPhysReg() local
1644 Indices); in copyPhysReg()
1651 static const unsigned Indices[] = { AArch64::dsub0, AArch64::dsub1 }; in copyPhysReg() local
[all …]
/external/chromium-trace/catapult/telemetry/third_party/modulegraph/doc/
Dindex.rst36 Indices and tables

1234