/external/llvm/include/llvm/Transforms/Utils/ |
Local.h | 180 gep_type_iterator GTI = gep_type_begin(GEP); 193 ++i, ++GTI) { 195 uint64_t Size = TD.getTypeAllocSize(GTI.getIndexedType()) & PtrSizeMask; 200 if (StructType *STy = dyn_cast<StructType>(*GTI)) {
|
/external/llvm/lib/Transforms/Utils/ |
AddrModeMatcher.cpp | 225 gep_type_iterator GTI = gep_type_begin(AddrInst); 226 for (unsigned i = 1, e = AddrInst->getNumOperands(); i != e; ++i, ++GTI) { 227 if (StructType *STy = dyn_cast<StructType>(*GTI)) { 233 uint64_t TypeSize = TD->getTypeAllocSize(GTI.getIndexedType());
|
/external/llvm/lib/Analysis/ |
InlineCost.cpp | 244 for (gep_type_iterator GTI = gep_type_begin(GEP), GTE = gep_type_end(GEP); 245 GTI != GTE; ++GTI) { 246 ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand()); 248 if (Constant *SimpleOp = SimplifiedValues.lookup(GTI.getOperand())) 255 if (StructType *STy = dyn_cast<StructType>(*GTI)) { 262 APInt TypeSize(IntPtrWidth, TD->getTypeAllocSize(GTI.getIndexedType())); [all...] |
ValueTracking.cpp | 615 gep_type_iterator GTI = gep_type_begin(I); 616 for (unsigned i = 1, e = I->getNumOperands(); i != e; ++i, ++GTI) { 618 if (StructType *STy = dyn_cast<StructType>(*GTI)) { 628 Type *IndexedTy = GTI.getIndexedType(); [all...] |
BasicAliasAnalysis.cpp | 291 gep_type_iterator GTI = gep_type_begin(GEPOp); 296 if (StructType *STy = dyn_cast<StructType>(*GTI++)) { 308 BaseOffs += TD->getTypeAllocSize(*GTI)*CIdx->getSExtValue(); 312 uint64_t Scale = TD->getTypeAllocSize(*GTI); [all...] |
ConstantFolding.cpp | 250 gep_type_iterator GTI = gep_type_begin(CE); 252 i != e; ++i, ++GTI) { 257 if (StructType *ST = dyn_cast<StructType>(*GTI)) { 261 SequentialType *SQT = cast<SequentialType>(*GTI); [all...] |
InstructionSimplify.cpp | 672 gep_type_iterator GTI = gep_type_begin(GEP); 674 ++I, ++GTI) { 680 if (StructType *STy = dyn_cast<StructType>(*GTI)) { 687 APInt TypeSize(IntPtrWidth, TD.getTypeAllocSize(GTI.getIndexedType())); [all...] |
ScalarEvolution.cpp | [all...] |
/external/llvm/lib/Transforms/Scalar/ |
MemCpyOptimizer.cpp | 44 gep_type_iterator GTI = gep_type_begin(GEP); 45 for (unsigned i = 1; i != Idx; ++i, ++GTI) 50 for (unsigned i = Idx, e = GEP->getNumOperands(); i != e; ++i, ++GTI) { 57 if (StructType *STy = dyn_cast<StructType>(*GTI)) { 64 uint64_t Size = TD.getTypeAllocSize(GTI.getIndexedType()); [all...] |
/external/llvm/lib/VMCore/ |
Value.cpp | 418 gep_type_iterator GTI = gep_type_begin(GEP); 422 Type *Ty = *GTI++;
|
ConstantFold.cpp | [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineCompares.cpp | 478 gep_type_iterator GTI = gep_type_begin(GEP); 487 for (i = 1; i != e; ++i, ++GTI) { 493 if (StructType *STy = dyn_cast<StructType>(*GTI)) { 496 uint64_t Size = TD.getTypeAllocSize(GTI.getIndexedType()); 512 uint64_t VariableScale = TD.getTypeAllocSize(GTI.getIndexedType()); 515 for (++i, ++GTI; i != e; ++i, ++GTI) { 523 if (StructType *STy = dyn_cast<StructType>(*GTI)) { 526 uint64_t Size = TD.getTypeAllocSize(GTI.getIndexedType()); [all...] |
InstructionCombining.cpp | 822 gep_type_iterator GTI = gep_type_begin(GEP); 824 I != E; ++I, ++GTI) { 826 SequentialType *SeqTy = dyn_cast<SequentialType>(*GTI); [all...] |
/external/llvm/lib/Target/X86/ |
X86FastISel.cpp | 413 gep_type_iterator GTI = gep_type_begin(U); 417 i != e; ++i, ++GTI) { 419 if (StructType *STy = dyn_cast<StructType>(*GTI)) { 427 uint64_t S = TD.getTypeAllocSize(GTI.getIndexedType()); [all...] |
/external/llvm/lib/Target/ARM/ |
ARMFastISel.cpp | 827 gep_type_iterator GTI = gep_type_begin(U); 829 i != e; ++i, ++GTI) { 831 if (StructType *STy = dyn_cast<StructType>(*GTI)) { 836 uint64_t S = TD.getTypeAllocSize(GTI.getIndexedType()); [all...] |