HomeSort by relevance Sort by last modified time
    Searched refs:GEPI (Results 1 - 11 of 11) sorted by null

  /external/llvm/lib/Transforms/IPO/
GlobalOpt.cpp 395 GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(I);
396 if (GEPI == 0) return false;
398 if (GEPI->getNumOperands() < 3 || !isa<Constant>(GEPI->getOperand(1)) ||
399 !cast<Constant>(GEPI->getOperand(1))->isNullValue())
402 for (Value::use_iterator I = GEPI->use_begin(), E = GEPI->use_end();
429 gep_type_iterator GEPI = gep_type_begin(U), E = gep_type_end(U);
430 ++GEPI; // Skip over the pointer index.
433 if (ArrayType *AT = dyn_cast<ArrayType>(*GEPI)) {
    [all...]
  /external/llvm/lib/Analysis/
PHITransAddr.cpp 242 if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(*UI))
243 if (GEPI->getType() == GEP->getType() &&
244 GEPI->getNumOperands() == GEPOps.size() &&
245 GEPI->getParent()->getParent() == CurBB->getParent() &&
246 (!DT || DT->dominates(GEPI->getParent(), PredBB))) {
249 if (GEPI->getOperand(i) != GEPOps[i]) {
254 return GEPI;
InlineCost.cpp 113 } else if (const GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(II)){
116 if (GEPI->hasAllConstantIndices())
ValueTracking.cpp     [all...]
  /external/llvm/lib/Transforms/Scalar/
ScalarReplAggregates.cpp 130 void isSafeGEP(GetElementPtrInst *GEPI, uint64_t &Offset, AllocaInfo &Info);
146 void RewriteGEP(GetElementPtrInst *GEPI, AllocaInst *AI, uint64_t Offset,
    [all...]
CodeGenPrepare.cpp     [all...]
  /external/llvm/lib/Transforms/InstCombine/
InstCombineLoadStoreAlloca.cpp 177 if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(Op)) {
178 const Value *GEPI0 = GEPI->getOperand(0);
180 if (isa<ConstantPointerNull>(GEPI0) && GEPI->getPointerAddressSpace() == 0){
  /external/llvm/lib/Transforms/Utils/
PromoteMemoryToRegister.cpp 105 } else if (const GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(U)) {
106 if (GEPI->getType() != Type::getInt8PtrTy(U->getContext()))
108 if (!GEPI->hasAllZeroIndices())
110 if (!onlyUsedByLifetimeMarkers(GEPI))
    [all...]
  /external/llvm/lib/VMCore/
Constants.cpp 752 gep_type_iterator GEPI = gep_type_begin(this), E = gep_type_end(this);
756 ++GEPI;
761 for (; GEPI != E; ++GEPI, ++OI) {
764 if (ArrayType *ATy = dyn_cast<ArrayType>(*GEPI))
    [all...]
Instructions.cpp     [all...]
  /external/llvm/include/llvm/
Instructions.h 287 GetElementPtrInst(const GetElementPtrInst &GEPI);
    [all...]

Completed in 142 milliseconds