/external/llvm/lib/IR/ |
Operator.cpp | 27 for (gep_type_iterator GTI = gep_type_begin(this), GTE = gep_type_end(this); 28 GTI != GTE; ++GTI) { 29 ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand()); 36 if (StructType *STy = dyn_cast<StructType>(*GTI)) { 46 DL.getTypeAllocSize(GTI.getIndexedType()));
|
DataLayout.cpp | 734 GTI = gep_type_begin(ElemTy, AS, Indices), 736 for (; GTI != GTE; ++GTI) { 737 Value *Idx = GTI.getOperand(); 738 if (auto *STy = dyn_cast<StructType>(*GTI)) { 750 Result += arrayIdx * getTypeAllocSize(GTI.getIndexedType());
|
/frameworks/compile/libbcc/lib/ |
RSX86TranslateGEPPass.cpp | 45 for (llvm::gep_type_iterator GTI = gep_type_begin(GEP), 47 GTI != GTE; ++GTI) { 48 if (llvm::dyn_cast<llvm::StructType>(*GTI)) { 72 for (llvm::gep_type_iterator GTI = gep_type_begin(GEP), 74 GTI != GTE; ++GTI) { 75 if (llvm::StructType *STy = llvm::dyn_cast<llvm::StructType>(*GTI)) { 76 llvm::ConstantInt *OpC = llvm::dyn_cast<llvm::ConstantInt>(GTI.getOperand()); 92 DL.getTypeAllocSize(GTI.getIndexedType())) [all...] |
/external/llvm/lib/Transforms/Scalar/ |
SeparateConstOffsetFromGEP.cpp | 721 gep_type_iterator GTI = gep_type_begin(*GEP); 723 I != E; ++I, ++GTI) { 725 if (isa<SequentialType>(*GTI)) { 740 gep_type_iterator GTI = gep_type_begin(*GEP); 741 for (unsigned I = 1, E = GEP->getNumOperands(); I != E; ++I, ++GTI) { 742 if (isa<SequentialType>(*GTI)) { [all...] |
NaryReassociate.cpp | 316 gep_type_iterator GTI = gep_type_begin(*GEP); 318 if (isa<SequentialType>(*GTI++)) { 319 if (auto *NewGEP = tryReassociateGEPAtIndex(GEP, I - 1, *GTI)) {
|
/external/llvm/include/llvm/Transforms/Utils/ |
Local.h | 202 gep_type_iterator GTI = gep_type_begin(GEP); 204 ++i, ++GTI) { 206 uint64_t Size = DL.getTypeAllocSize(GTI.getIndexedType()) & PtrSizeMask; 212 if (StructType *STy = dyn_cast<StructType>(*GTI)) {
|
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Transforms/Utils/ |
Local.h | 215 gep_type_iterator GTI = gep_type_begin(GEP); 217 ++i, ++GTI) { 219 uint64_t Size = DL.getTypeAllocSize(GTI.getIndexedType()) & PtrSizeMask; 225 if (StructType *STy = GTI.getStructTypeOrNull()) {
|
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Transforms/Utils/ |
Local.h | 215 gep_type_iterator GTI = gep_type_begin(GEP); 217 ++i, ++GTI) { 219 uint64_t Size = DL.getTypeAllocSize(GTI.getIndexedType()) & PtrSizeMask; 225 if (StructType *STy = GTI.getStructTypeOrNull()) {
|
/prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/llvm/include/llvm/Transforms/Utils/ |
Local.h | 215 gep_type_iterator GTI = gep_type_begin(GEP); 217 ++i, ++GTI) { 219 uint64_t Size = DL.getTypeAllocSize(GTI.getIndexedType()) & PtrSizeMask; 225 if (StructType *STy = GTI.getStructTypeOrNull()) {
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Transforms/Utils/ |
Local.h | 215 gep_type_iterator GTI = gep_type_begin(GEP); 217 ++i, ++GTI) { 219 uint64_t Size = DL.getTypeAllocSize(GTI.getIndexedType()) & PtrSizeMask; 225 if (StructType *STy = GTI.getStructTypeOrNull()) {
|
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Transforms/Utils/ |
Local.h | 215 gep_type_iterator GTI = gep_type_begin(GEP); 217 ++i, ++GTI) { 219 uint64_t Size = DL.getTypeAllocSize(GTI.getIndexedType()) & PtrSizeMask; 225 if (StructType *STy = GTI.getStructTypeOrNull()) {
|
/prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Transforms/Utils/ |
Local.h | 215 gep_type_iterator GTI = gep_type_begin(GEP); 217 ++i, ++GTI) { 219 uint64_t Size = DL.getTypeAllocSize(GTI.getIndexedType()) & PtrSizeMask; 225 if (StructType *STy = GTI.getStructTypeOrNull()) {
|
/prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/llvm/include/llvm/Transforms/Utils/ |
Local.h | 215 gep_type_iterator GTI = gep_type_begin(GEP); 217 ++i, ++GTI) { 219 uint64_t Size = DL.getTypeAllocSize(GTI.getIndexedType()) & PtrSizeMask; 225 if (StructType *STy = GTI.getStructTypeOrNull()) {
|
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Transforms/Utils/ |
Local.h | 215 gep_type_iterator GTI = gep_type_begin(GEP); 217 ++i, ++GTI) { 219 uint64_t Size = DL.getTypeAllocSize(GTI.getIndexedType()) & PtrSizeMask; 225 if (StructType *STy = GTI.getStructTypeOrNull()) {
|
/external/llvm/include/llvm/Analysis/ |
TargetTransformInfoImpl.h | 453 auto GTI = gep_type_begin(PointeeType, AS, Operands); 454 for (auto I = Operands.begin(); I != Operands.end(); ++I, ++GTI) { 461 if (isa<SequentialType>(*GTI)) { 462 int64_t ElementSize = DL.getTypeAllocSize(GTI.getIndexedType()); 473 StructType *STy = cast<StructType>(*GTI); 482 PointerType::get(*GTI, AS), const_cast<GlobalValue *>(BaseGV),
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
AddrModeMatcher.cpp | 223 gep_type_iterator GTI = gep_type_begin(AddrInst); 224 for (unsigned i = 1, e = AddrInst->getNumOperands(); i != e; ++i, ++GTI) { 225 if (StructType *STy = dyn_cast<StructType>(*GTI)) { 231 uint64_t TypeSize = TD->getTypeAllocSize(GTI.getIndexedType());
|
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Analysis/ |
TargetTransformInfoImpl.h | 594 auto GTI = gep_type_begin(PointeeType, Operands); 596 for (auto I = Operands.begin(); I != Operands.end(); ++I, ++GTI) { 597 TargetType = GTI.getIndexedType(); 604 if (StructType *STy = GTI.getStructTypeOrNull()) { 610 int64_t ElementSize = DL.getTypeAllocSize(GTI.getIndexedType());
|
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Analysis/ |
TargetTransformInfoImpl.h | 594 auto GTI = gep_type_begin(PointeeType, Operands); 596 for (auto I = Operands.begin(); I != Operands.end(); ++I, ++GTI) { 597 TargetType = GTI.getIndexedType(); 604 if (StructType *STy = GTI.getStructTypeOrNull()) { 610 int64_t ElementSize = DL.getTypeAllocSize(GTI.getIndexedType());
|
/prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/llvm/include/llvm/Analysis/ |
TargetTransformInfoImpl.h | 594 auto GTI = gep_type_begin(PointeeType, Operands); 596 for (auto I = Operands.begin(); I != Operands.end(); ++I, ++GTI) { 597 TargetType = GTI.getIndexedType(); 604 if (StructType *STy = GTI.getStructTypeOrNull()) { 610 int64_t ElementSize = DL.getTypeAllocSize(GTI.getIndexedType());
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Analysis/ |
TargetTransformInfoImpl.h | 594 auto GTI = gep_type_begin(PointeeType, Operands); 596 for (auto I = Operands.begin(); I != Operands.end(); ++I, ++GTI) { 597 TargetType = GTI.getIndexedType(); 604 if (StructType *STy = GTI.getStructTypeOrNull()) { 610 int64_t ElementSize = DL.getTypeAllocSize(GTI.getIndexedType());
|
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Analysis/ |
TargetTransformInfoImpl.h | 594 auto GTI = gep_type_begin(PointeeType, Operands); 596 for (auto I = Operands.begin(); I != Operands.end(); ++I, ++GTI) { 597 TargetType = GTI.getIndexedType(); 604 if (StructType *STy = GTI.getStructTypeOrNull()) { 610 int64_t ElementSize = DL.getTypeAllocSize(GTI.getIndexedType());
|
/prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Analysis/ |
TargetTransformInfoImpl.h | 594 auto GTI = gep_type_begin(PointeeType, Operands); 596 for (auto I = Operands.begin(); I != Operands.end(); ++I, ++GTI) { 597 TargetType = GTI.getIndexedType(); 604 if (StructType *STy = GTI.getStructTypeOrNull()) { 610 int64_t ElementSize = DL.getTypeAllocSize(GTI.getIndexedType());
|
/prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/llvm/include/llvm/Analysis/ |
TargetTransformInfoImpl.h | 594 auto GTI = gep_type_begin(PointeeType, Operands); 596 for (auto I = Operands.begin(); I != Operands.end(); ++I, ++GTI) { 597 TargetType = GTI.getIndexedType(); 604 if (StructType *STy = GTI.getStructTypeOrNull()) { 610 int64_t ElementSize = DL.getTypeAllocSize(GTI.getIndexedType());
|
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Analysis/ |
TargetTransformInfoImpl.h | 594 auto GTI = gep_type_begin(PointeeType, Operands); 596 for (auto I = Operands.begin(); I != Operands.end(); ++I, ++GTI) { 597 TargetType = GTI.getIndexedType(); 604 if (StructType *STy = GTI.getStructTypeOrNull()) { 610 int64_t ElementSize = DL.getTypeAllocSize(GTI.getIndexedType());
|
/external/llvm/lib/Analysis/ |
InlineCost.cpp | 311 for (gep_type_iterator GTI = gep_type_begin(GEP), GTE = gep_type_end(GEP); 312 GTI != GTE; ++GTI) { 313 ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand()); 315 if (Constant *SimpleOp = SimplifiedValues.lookup(GTI.getOperand())) 323 if (StructType *STy = dyn_cast<StructType>(*GTI)) { 330 APInt TypeSize(IntPtrWidth, DL.getTypeAllocSize(GTI.getIndexedType())); [all...] |