Searched refs:NewGEP (Results 1 - 8 of 8) sorted by relevance

/external/llvm/lib/Target/NVPTX/
H A DNVPTXFavorNonGenericAddrSpaces.cpp164 // NewGEP = gep X, indices
165 // NewASC = addrspacecast NewGEP
166 GetElementPtrInst *NewGEP = GetElementPtrInst::Create( local
169 NewGEP->setIsInBounds(GEP->isInBounds());
170 NewGEP->takeName(GEP);
171 NewASC = new AddrSpaceCastInst(NewGEP, GEP->getType(), "", GEPI);
178 Constant *NewGEP = ConstantExpr::getGetElementPtr( local
181 NewASC = ConstantExpr::getAddrSpaceCast(NewGEP, GEP->getType());
H A DNVPTXInferAddressSpaces.cpp318 GetElementPtrInst *NewGEP = GetElementPtrInst::Create( local
321 NewGEP->setIsInBounds(GEP->isInBounds());
322 return NewGEP;
/external/llvm/lib/Transforms/Scalar/
H A DNaryReassociate.cpp319 if (auto *NewGEP = tryReassociateGEPAtIndex(GEP, I - 1, *GTI)) {
320 return NewGEP;
357 if (auto *NewGEP = tryReassociateGEPAtIndex(GEP, I, LHS, RHS, IndexedType))
358 return NewGEP;
361 if (auto *NewGEP =
363 return NewGEP;
404 // NewGEP = (char *)Candidate + RHS * sizeof(IndexedType)
425 // NewGEP = &Candidate[RHS * (sizeof(IndexedType) / sizeof(Candidate[0])));
433 GetElementPtrInst *NewGEP = local
435 NewGEP
[all...]
H A DSeparateConstOffsetFromGEP.cpp1014 Instruction *NewGEP = GEP->clone();
1015 NewGEP->insertBefore(GEP);
1027 NewGEP = GetElementPtrInst::Create(GEP->getResultElementType(), NewGEP,
1031 cast<GetElementPtrInst>(NewGEP)->setIsInBounds(GEPWasInBounds);
1049 NewGEP = new BitCastInst(NewGEP, I8PtrTy, "", GEP);
1050 NewGEP = GetElementPtrInst::Create(
1051 Type::getInt8Ty(GEP->getContext()), NewGEP,
1055 cast<GetElementPtrInst>(NewGEP)
[all...]
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp222 GetElementPtrInst *NewGEP = local
225 if (AllInBounds) NewGEP->setIsInBounds();
226 NewGEP->setDebugLoc(FirstInst->getDebugLoc());
227 return NewGEP;
H A DInstructionCombining.cpp1451 GetElementPtrInst *NewGEP = cast<GetElementPtrInst>(Op1->clone());
1456 GEP.getParent()->getFirstInsertionPt(), NewGEP);
1473 NewGEP->setOperand(DI, NewPN);
1475 GEP.getParent()->getFirstInsertionPt(), NewGEP);
1476 NewGEP->setOperand(DI, NewPN);
1479 GEP.setOperand(0, NewGEP);
1480 PtrOp = NewGEP;
1672 Value *NewGEP = GEP.isInBounds() local
1677 return new AddrSpaceCastInst(NewGEP, GEP.getType());
1692 Value *NewGEP local
1727 Value *NewGEP = local
1770 Value *NewGEP = GEP.isInBounds() && NSW local
[all...]
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp231 GetElementPtrInst *NewGEP = local
233 if (AllInBounds) NewGEP->setIsInBounds();
234 NewGEP->setDebugLoc(FirstInst->getDebugLoc());
235 return NewGEP;
H A DInstructionCombining.cpp967 Value *NewGEP = GEP.isInBounds() ? local
971 return new BitCastInst(NewGEP, GEP.getType());
1026 Value *NewGEP = GEP.isInBounds() ? local
1029 // The NewGEP must be pointer typed, so must the old one -> BitCast
1030 return new BitCastInst(NewGEP, GEP.getType());

Completed in 378 milliseconds