/external/llvm/lib/Transforms/Scalar/ |
SeparateConstOffsetFromGEP.cpp | 677 gep_type_iterator GTI = gep_type_begin(*GEP); 679 I != E; ++I, ++GTI) { 681 if (isa<SequentialType>(*GTI)) { 696 gep_type_iterator GTI = gep_type_begin(*GEP); 698 for (unsigned I = 1, E = GEP->getNumOperands(); I != E; ++I, ++GTI) { 699 if (isa<SequentialType>(*GTI)) { 709 ConstantOffset * DL.getTypeAllocSize(GTI.getIndexedType()); 712 StructType *StTy = cast<StructType>(*GTI); 737 gep_type_iterator GTI = gep_type_begin(*Variadic); 740 for (unsigned I = 1, E = Variadic->getNumOperands(); I != E; ++I, ++GTI) { [all...] |
StraightLineStrengthReduce.cpp | 246 gep_type_iterator GTI = gep_type_begin(GEP); 247 for (auto I = GEP->idx_begin(); I != GEP->idx_end(); ++I, ++GTI) { 248 if (isa<SequentialType>(*GTI)) { 249 int64_t ElementSize = DL->getTypeAllocSize(GTI.getIndexedType()); 261 StructType *STy = cast<StructType>(*GTI); 496 gep_type_iterator GTI = gep_type_begin(GEP); 498 if (!isa<SequentialType>(*GTI++)) 502 uint64_t ElementSize = DL->getTypeAllocSize(*GTI); 503 const SCEV *ElementSizeExpr = SE->getSizeOfExpr(IntPtrTy, *GTI);
|
MemCpyOptimizer.cpp | 47 gep_type_iterator GTI = gep_type_begin(GEP); 48 for (unsigned i = 1; i != Idx; ++i, ++GTI) 53 for (unsigned i = Idx, e = GEP->getNumOperands(); i != e; ++i, ++GTI) { 60 if (StructType *STy = dyn_cast<StructType>(*GTI)) { 67 uint64_t Size = DL.getTypeAllocSize(GTI.getIndexedType()); [all...] |
SROA.cpp | 705 for (gep_type_iterator GTI = gep_type_begin(GEPI), 707 GTI != GTE; ++GTI) { 708 ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand()); 713 if (StructType *STy = dyn_cast<StructType>(*GTI)) { 723 DL.getTypeAllocSize(GTI.getIndexedType())); [all...] |
/external/llvm/include/llvm/IR/ |
Operator.h | 458 for (gep_type_iterator GTI = gep_type_begin(this), GTE = gep_type_end(this); 459 GTI != GTE; ++GTI) { 460 ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand()); 467 if (StructType *STy = dyn_cast<StructType>(*GTI)) { 478 DL.getTypeAllocSize(GTI.getIndexedType()));
|
/external/llvm/include/llvm/Transforms/Utils/ |
Local.h | 206 gep_type_iterator GTI = gep_type_begin(GEP); 208 ++i, ++GTI) { 210 uint64_t Size = DL.getTypeAllocSize(GTI.getIndexedType()) & PtrSizeMask; 216 if (StructType *STy = dyn_cast<StructType>(*GTI)) {
|
/external/llvm/lib/Analysis/IPA/ |
InlineCost.cpp | 249 for (gep_type_iterator GTI = gep_type_begin(GEP), GTE = gep_type_end(GEP); 250 GTI != GTE; ++GTI) { 251 ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand()); 253 if (Constant *SimpleOp = SimplifiedValues.lookup(GTI.getOperand())) 260 if (StructType *STy = dyn_cast<StructType>(*GTI)) { 267 APInt TypeSize(IntPtrWidth, DL.getTypeAllocSize(GTI.getIndexedType())); [all...] |
/external/llvm/lib/IR/ |
Value.cpp | 544 gep_type_iterator GTI = gep_type_begin(GEP); 548 Type *Ty = *GTI++;
|
ConstantFold.cpp | [all...] |
/external/llvm/lib/Analysis/ |
BasicAliasAnalysis.cpp | 346 gep_type_iterator GTI = gep_type_begin(GEPOp); 351 if (StructType *STy = dyn_cast<StructType>(*GTI++)) { 363 BaseOffs += DL.getTypeAllocSize(*GTI) * CIdx->getSExtValue(); 367 uint64_t Scale = DL.getTypeAllocSize(*GTI); [all...] |
ValueTracking.cpp | [all...] |
ScalarEvolution.cpp | [all...] |
/external/llvm/lib/Target/Mips/ |
MipsFastISel.cpp | 386 gep_type_iterator GTI = gep_type_begin(U); 388 ++i, ++GTI) { 390 if (StructType *STy = dyn_cast<StructType>(*GTI)) { 395 uint64_t S = DL.getTypeAllocSize(GTI.getIndexedType()); [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineCompares.cpp | 512 gep_type_iterator GTI = gep_type_begin(GEP); 521 for (i = 1; i != e; ++i, ++GTI) { 527 if (StructType *STy = dyn_cast<StructType>(*GTI)) { 530 uint64_t Size = DL.getTypeAllocSize(GTI.getIndexedType()); 546 uint64_t VariableScale = DL.getTypeAllocSize(GTI.getIndexedType()); 549 for (++i, ++GTI; i != e; ++i, ++GTI) { 557 if (StructType *STy = dyn_cast<StructType>(*GTI)) { 560 uint64_t Size = DL.getTypeAllocSize(GTI.getIndexedType()); [all...] |
InstructionCombining.cpp | [all...] |
/external/llvm/lib/Target/PowerPC/ |
PPCFastISel.cpp | 326 gep_type_iterator GTI = gep_type_begin(U); 328 II != IE; ++II, ++GTI) { 330 if (StructType *STy = dyn_cast<StructType>(*GTI)) { 335 uint64_t S = DL.getTypeAllocSize(GTI.getIndexedType()); [all...] |
/external/llvm/lib/CodeGen/ |
CodeGenPrepare.cpp | [all...] |
/external/llvm/lib/Target/ARM/ |
ARMFastISel.cpp | 803 gep_type_iterator GTI = gep_type_begin(U); 805 i != e; ++i, ++GTI) { 807 if (StructType *STy = dyn_cast<StructType>(*GTI)) { 812 uint64_t S = DL.getTypeAllocSize(GTI.getIndexedType()); [all...] |
/external/llvm/lib/Target/X86/ |
X86FastISel.cpp | 718 gep_type_iterator GTI = gep_type_begin(U); 722 i != e; ++i, ++GTI) { 724 if (StructType *STy = dyn_cast<StructType>(*GTI)) { 732 uint64_t S = DL.getTypeAllocSize(GTI.getIndexedType()); [all...] |
/external/llvm/lib/Target/AArch64/ |
AArch64FastISel.cpp | 556 gep_type_iterator GTI = gep_type_begin(U); 558 ++i, ++GTI) { 560 if (StructType *STy = dyn_cast<StructType>(*GTI)) { 565 uint64_t S = DL.getTypeAllocSize(GTI.getIndexedType()); [all...] |
AArch64ISelLowering.cpp | [all...] |