HomeSort by: relevance | last modified time | path
    Searched refs:GetElementPtrInst (Results 1 - 25 of 141) sorted by relevancy

1 2 3 4 5 6

  /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Scalar/
NaryReassociate.h 93 class GetElementPtrInst;
120 Instruction *tryReassociateGEP(GetElementPtrInst *GEP);
129 GetElementPtrInst *tryReassociateGEPAtIndex(GetElementPtrInst *GEP,
134 GetElementPtrInst *tryReassociateGEPAtIndex(GetElementPtrInst *GEP,
174 // GetElementPtrInst implicitly sign-extends an index if the index is shorter
178 bool requiresSignExtension(Value *Index, GetElementPtrInst *GEP);
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
PtrUseVisitor.cpp 33 bool detail::PtrUseVisitorBase::adjustOffsetForGEP(GetElementPtrInst &GEPI) {
PHITransAddr.cpp 27 isa<GetElementPtrInst>(Inst))
39 // if (isa<BitCastInst>(PtrInst) || isa<GetElementPtrInst>(PtrInst))
214 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Inst)) {
240 if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(U))
396 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Inst)) {
406 GetElementPtrInst *Result = GetElementPtrInst::Create
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
SeparateConstOffsetFromGEP.cpp 239 static Value *Extract(Value *Idx, GetElementPtrInst *GEP,
245 static int64_t Find(Value *Idx, GetElementPtrInst *GEP,
388 bool splitGEP(GetElementPtrInst *GEP);
397 void lowerToSingleIndexGEPs(GetElementPtrInst *Variadic,
407 void lowerToArithmetics(GetElementPtrInst *Variadic,
415 int64_t accumulateByteOffset(GetElementPtrInst *GEP, bool &NeedsExtraction);
432 bool canonicalizeArrayIndicesToPointerSize(GetElementPtrInst *GEP);
459 void swapGEPOperand(GetElementPtrInst *First, GetElementPtrInst *Second);
462 bool isLegalToSwapOperand(GetElementPtrInst *First, GetElementPtrInst *Second
    [all...]
NaryReassociate.cpp 304 return tryReassociateGEP(cast<GetElementPtrInst>(I));
324 static bool isGEPFoldable(GetElementPtrInst *GEP,
331 Instruction *NaryReassociatePass::tryReassociateGEP(GetElementPtrInst *GEP) {
349 GetElementPtrInst *GEP) {
355 GetElementPtrInst *
356 NaryReassociatePass::tryReassociateGEPAtIndex(GetElementPtrInst *GEP,
390 GetElementPtrInst *
391 NaryReassociatePass::tryReassociateGEPAtIndex(GetElementPtrInst *GEP,
454 GetElementPtrInst *NewGEP = cast<GetElementPtrInst>(
    [all...]
StraightLineStrengthReduce.cpp 214 void allocateCandidatesAndFindBasisForGEP(GetElementPtrInst *GEP);
235 GetElementPtrInst *GEP);
286 static bool isGEPFoldable(GetElementPtrInst *GEP,
308 return isGEPFoldable(cast<GetElementPtrInst>(C.Ins), TTI);
313 static bool hasOnlyOneNonZeroIndex(GetElementPtrInst *GEP) {
335 hasOnlyOneNonZeroIndex(cast<GetElementPtrInst>(C.Ins)));
393 allocateCandidatesAndFindBasisForGEP(cast<GetElementPtrInst>(I));
497 GetElementPtrInst *GEP) {
530 GetElementPtrInst *GEP) {
596 cast<GetElementPtrInst>(Basis.Ins)->getResultElementType()))
    [all...]
GVNHoist.cpp 932 if (const GetElementPtrInst *GepOp =
933 dyn_cast<GetElementPtrInst>(Inst)) {
960 if (GetElementPtrInst *GepOp = dyn_cast<GetElementPtrInst>(Op))
974 const GetElementPtrInst *OtherGep;
976 OtherGep = cast<GetElementPtrInst>(OtherLd->getPointerOperand());
978 OtherGep = cast<GetElementPtrInst>(
1067 GetElementPtrInst *Gep = nullptr;
1070 Gep = dyn_cast<GetElementPtrInst>(Ld->getPointerOperand());
1072 Gep = dyn_cast<GetElementPtrInst>(St->getPointerOperand())
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/
FunctionComparator.h 346 int cmpGEPs(const GetElementPtrInst *GEPL,
347 const GetElementPtrInst *GEPR) const {
  /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Vectorize/
SLPVectorizer.h 37 class GetElementPtrInst;
61 using GEPList = SmallVector<GetElementPtrInst *, 8>;
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
ShadowStackGCLowering.cpp 81 static GetElementPtrInst *CreateGEP(LLVMContext &Context, IRBuilder<> &B,
84 static GetElementPtrInst *CreateGEP(LLVMContext &Context, IRBuilder<> &B,
260 GetElementPtrInst *ShadowStackGCLowering::CreateGEP(LLVMContext &Context,
270 assert(isa<GetElementPtrInst>(Val) && "Unexpected folded constant");
272 return dyn_cast<GetElementPtrInst>(Val);
275 GetElementPtrInst *ShadowStackGCLowering::CreateGEP(LLVMContext &Context,
282 assert(isa<GetElementPtrInst>(Val) && "Unexpected folded constant");
284 return dyn_cast<GetElementPtrInst>(Val);
  /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
AMDGPUAnnotateUniformValues.cpp 32 DenseMap<Value*, GetElementPtrInst*> noClobberClones;
117 PtrI = GetElementPtrInst::Create(
AMDGPUPromoteAlloca.cpp 336 const std::map<GetElementPtrInst *, Value *> &GEPIdx) {
337 GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(stripBitcasts(Ptr));
345 static Value* GEPToVectorIndex(GetElementPtrInst *GEP) {
445 std::map<GetElementPtrInst*, Value*> GEPVectorIdx;
455 GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(AllocaUser);
672 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(UseInst)) {
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
VPlanTransforms.cpp 71 } else if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Inst)) {
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
RelLookupTableConverter.cpp 39 GetElementPtrInst *GEP =
40 dyn_cast<GetElementPtrInst>(GV.use_begin()->getUser());
128 GetElementPtrInst *GEP =
129 cast<GetElementPtrInst>(LookupTable.use_begin()->getUser());
  /src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
MVEGatherScatterLowering.cpp 87 Value *checkGEP(Value *&Offsets, FixedVectorType *Ty, GetElementPtrInst *GEP,
127 Value *Ptr, GetElementPtrInst *GEP,
139 Value *foldGEP(GetElementPtrInst *GEP, Value *&Offsets, IRBuilder<> &Builder);
218 GetElementPtrInst *GEP,
479 GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Ptr);
621 GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Ptr);
657 IntrinsicInst *I, Value *BasePtr, Value *Offsets, GetElementPtrInst *GEP,
871 if (isa<GetElementPtrInst>(U) |
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
PtrUseVisitor.h 174 bool adjustOffsetForGEP(GetElementPtrInst &GEPI);
266 void visitGetElementPtrInst(GetElementPtrInst &GEPI) {
ObjCARCAnalysisUtils.h 138 (isa<GetElementPtrInst>(I) &&
139 cast<GetElementPtrInst>(I)->hasAllZeroIndices());
  /src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
NVPTXLowerAlloca.cpp 102 auto GI = dyn_cast<GetElementPtrInst>(AllocaUse.getUser());
NVPTXLowerArgs.cpp 178 if (auto *GEP = dyn_cast<GetElementPtrInst>(I.OldInstruction)) {
180 auto *NewGEP = GetElementPtrInst::Create(nullptr, I.NewParam, Indices,
240 if (isa<GetElementPtrInst>(V) || isa<BitCastInst>(V) || isa<LoadInst>(V))
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
ArgumentPromotion.cpp 169 SrcTy = cast<GetElementPtrInst>(UI)->getSourceElementType();
171 if (isa<GetElementPtrInst>(UI) && UI->use_empty()) {
200 Params.push_back(GetElementPtrInst::getIndexedType(
305 ElTy = GetElementPtrInst::getTypeAtIndex(ElTy, II);
402 Value *Idx = GetElementPtrInst::Create(
439 GetElementPtrInst *GEP = cast<GetElementPtrInst>(I->user_back());
626 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(V)) {
674 } else if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(UR))
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
InstCombinePHI.cpp 123 } else if (GetElementPtrInst *GI = dyn_cast<GetElementPtrInst>(U)) {
475 GetElementPtrInst *FirstInst =cast<GetElementPtrInst>(PN.getIncomingValue(0));
492 GetElementPtrInst *GEP =
493 dyn_cast<GetElementPtrInst>(PN.getIncomingValue(i));
566 GetElementPtrInst *InGEP =cast<GetElementPtrInst>(PN.getIncomingValue(i));
576 GetElementPtrInst *NewGEP =
577 GetElementPtrInst::Create(FirstInst->getSourceElementType(), Base
    [all...]
InstCombineLoadStoreAlloca.cpp 71 if (auto *GEP = dyn_cast<GetElementPtrInst>(I)) {
202 Instruction *GEP = GetElementPtrInst::CreateInBounds(
261 } else if (isa<GetElementPtrInst>(Inst) || isa<BitCastInst>(Inst)) {
294 } else if (auto *GEP = dyn_cast<GetElementPtrInst>(I)) {
299 auto *NewI = GetElementPtrInst::Create(
820 GetElementPtrInst *GEPI, Instruction *MemI,
827 auto FirstNZIdx = [](const GetElementPtrInst *GEPI) {
856 Type *AllocTy = GetElementPtrInst::getIndexedType(SourceElementType, Ops);
897 if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(Ptr))
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/X86/
X86PreAMXConfig.cpp 163 GetElementPtrInst::Create(I8Ty, I8Ptr, PaletteOffset, "", Pos);
170 Value *RowPos = GetElementPtrInst::Create(I8Ty, I8Ptr, RowOffset,
172 Value *ColPos = GetElementPtrInst::Create(I8Ty, I8Ptr, ColOffset, "", Pos);
  /src/external/apache2/llvm/dist/llvm/lib/IR/
Operator.cpp 23 if (auto *I = dyn_cast<GetElementPtrInst>(this))
29 if (auto *I = dyn_cast<GetElementPtrInst>(this))
  /src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
PPCLoopInstrFormPrep.cpp 258 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(StrippedBasePtr))
569 PtrInc = GetElementPtrInst::Create(
572 cast<GetElementPtrInst>(PtrInc)->setIsInBounds(IsPtrInBounds(BasePtr));
596 PtrInc = GetElementPtrInst::Create(
600 cast<GetElementPtrInst>(PtrInc)->setIsInBounds(IsPtrInBounds(BasePtr));
648 GetElementPtrInst *NewPtr = GetElementPtrInst::Create(

Completed in 79 milliseconds

1 2 3 4 5 6