/freebsd-11.0-release/contrib/llvm/lib/IR/ |
H A D | Operator.cpp | 21 for (gep_type_iterator GTI = gep_type_begin(this), GTE = gep_type_end(this); 22 GTI != GTE; ++GTI) { 23 ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand()); 30 if (StructType *STy = dyn_cast<StructType>(*GTI)) { 40 DL.getTypeAllocSize(GTI.getIndexedType()));
|
H A D | ConstantFold.cpp | 1619 gep_type_iterator GTI = gep_type_begin(CE1); 1621 ++i, ++GTI) 1623 CE2->getOperand(i), GTI.getIndexedType())) {
|
/freebsd-11.0-release/contrib/llvm/lib/Transforms/Scalar/ |
H A D | SeparateConstOffsetFromGEP.cpp | 721 gep_type_iterator GTI = gep_type_begin(*GEP); local 723 I != E; ++I, ++GTI) { 725 if (isa<SequentialType>(*GTI)) { 740 gep_type_iterator GTI = gep_type_begin(*GEP); local 741 for (unsigned I = 1, E = GEP->getNumOperands(); I != E; ++I, ++GTI) { 742 if (isa<SequentialType>(*GTI)) { 752 ConstantOffset * DL->getTypeAllocSize(GTI.getIndexedType()); 755 StructType *StTy = cast<StructType>(*GTI); 786 gep_type_iterator GTI = gep_type_begin(*Variadic); local 789 for (unsigned I = 1, E = Variadic->getNumOperands(); I != E; ++I, ++GTI) { 846 gep_type_iterator GTI = gep_type_begin(*Variadic); local 929 gep_type_iterator GTI = gep_type_begin(*GEP); local [all...] |
H A D | NaryReassociate.cpp | 316 gep_type_iterator GTI = gep_type_begin(GEP); local 317 for (auto I = GEP->idx_begin(); I != GEP->idx_end(); ++I, ++GTI) { 318 if (isa<SequentialType>(*GTI)) { 319 int64_t ElementSize = DL->getTypeAllocSize(GTI.getIndexedType()); 331 StructType *STy = cast<StructType>(*GTI); 347 gep_type_iterator GTI = gep_type_begin(*GEP); 349 if (isa<SequentialType>(*GTI++)) { 350 if (auto *NewGEP = tryReassociateGEPAtIndex(GEP, I - 1, *GTI)) {
|
H A D | StraightLineStrengthReduce.cpp | 251 gep_type_iterator GTI = gep_type_begin(GEP); local 252 for (auto I = GEP->idx_begin(); I != GEP->idx_end(); ++I, ++GTI) { 253 if (isa<SequentialType>(*GTI)) { 254 int64_t ElementSize = DL->getTypeAllocSize(GTI.getIndexedType()); 266 StructType *STy = cast<StructType>(*GTI); 521 gep_type_iterator GTI = gep_type_begin(GEP); local 523 if (!isa<SequentialType>(*GTI++)) 535 uint64_t ElementSize = DL->getTypeAllocSize(*GTI);
|
H A D | MemCpyOptimizer.cpp | 48 gep_type_iterator GTI = gep_type_begin(GEP); local 49 for (unsigned i = 1; i != Idx; ++i, ++GTI) 54 for (unsigned i = Idx, e = GEP->getNumOperands(); i != e; ++i, ++GTI) { 61 if (StructType *STy = dyn_cast<StructType>(*GTI)) { 68 uint64_t Size = DL.getTypeAllocSize(GTI.getIndexedType());
|
H A D | SROA.cpp | 701 for (gep_type_iterator GTI = gep_type_begin(GEPI), 703 GTI != GTE; ++GTI) { 704 ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand()); 709 if (StructType *STy = dyn_cast<StructType>(*GTI)) { 719 DL.getTypeAllocSize(GTI.getIndexedType()));
|
/freebsd-11.0-release/contrib/llvm/include/llvm/Transforms/Utils/ |
H A D | Local.h | 208 gep_type_iterator GTI = gep_type_begin(GEP); local 210 ++i, ++GTI) { 212 uint64_t Size = DL.getTypeAllocSize(GTI.getIndexedType()) & PtrSizeMask; 218 if (StructType *STy = dyn_cast<StructType>(*GTI)) {
|
/freebsd-11.0-release/contrib/llvm/include/llvm/Analysis/ |
H A D | TargetTransformInfoImpl.h | 424 auto GTI = gep_type_begin(PointerType::get(PointeeType, AS), Operands); local 425 for (auto I = Operands.begin(); I != Operands.end(); ++I, ++GTI) { 432 if (isa<SequentialType>(*GTI)) { 433 int64_t ElementSize = DL.getTypeAllocSize(GTI.getIndexedType()); 444 StructType *STy = cast<StructType>(*GTI); 453 PointerType::get(*GTI, AS), const_cast<GlobalValue *>(BaseGV),
|
/freebsd-11.0-release/contrib/llvm/lib/Analysis/ |
H A D | InlineCost.cpp | 267 for (gep_type_iterator GTI = gep_type_begin(GEP), GTE = gep_type_end(GEP); 268 GTI != GTE; ++GTI) { 269 ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand()); 271 if (Constant *SimpleOp = SimplifiedValues.lookup(GTI.getOperand())) 278 if (StructType *STy = dyn_cast<StructType>(*GTI)) { 285 APInt TypeSize(IntPtrWidth, DL.getTypeAllocSize(GTI.getIndexedType()));
|
H A D | BasicAliasAnalysis.cpp | 389 gep_type_iterator GTI = gep_type_begin(GEPOp); local 394 if (StructType *STy = dyn_cast<StructType>(*GTI++)) { 408 BaseOffs += DL.getTypeAllocSize(*GTI) * CIdx->getSExtValue(); 412 uint64_t Scale = DL.getTypeAllocSize(*GTI);
|
H A D | ValueTracking.cpp | 1355 gep_type_iterator GTI = gep_type_begin(I); local 1356 for (unsigned i = 1, e = I->getNumOperands(); i != e; ++i, ++GTI) { 1358 if (StructType *STy = dyn_cast<StructType>(*GTI)) { 1376 Type *IndexedTy = GTI.getIndexedType(); 1835 for (gep_type_iterator GTI = gep_type_begin(GEP), GTE = gep_type_end(GEP); 1836 GTI != GTE; ++GTI) { 1838 if (StructType *STy = dyn_cast<StructType>(*GTI)) { 1839 ConstantInt *OpC = cast<ConstantInt>(GTI.getOperand()); 1849 if (DL.getTypeAllocSize(GTI [all...] |
/freebsd-11.0-release/contrib/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCompares.cpp | 507 gep_type_iterator GTI = gep_type_begin(GEP); local 516 for (i = 1; i != e; ++i, ++GTI) { 522 if (StructType *STy = dyn_cast<StructType>(*GTI)) { 525 uint64_t Size = DL.getTypeAllocSize(GTI.getIndexedType()); 541 uint64_t VariableScale = DL.getTypeAllocSize(GTI.getIndexedType()); 544 for (++i, ++GTI; i != e; ++i, ++GTI) { 552 if (StructType *STy = dyn_cast<StructType>(*GTI)) { 555 uint64_t Size = DL.getTypeAllocSize(GTI.getIndexedType());
|
H A D | InstructionCombining.cpp | 1348 gep_type_iterator GTI = gep_type_begin(GEP); local 1350 ++I, ++GTI) { 1352 SequentialType *SeqTy = dyn_cast<SequentialType>(*GTI);
|
/freebsd-11.0-release/contrib/llvm/lib/Target/Mips/ |
H A D | MipsFastISel.cpp | 435 gep_type_iterator GTI = gep_type_begin(U); local 437 ++i, ++GTI) { 439 if (StructType *STy = dyn_cast<StructType>(*GTI)) { 444 uint64_t S = DL.getTypeAllocSize(GTI.getIndexedType());
|
/freebsd-11.0-release/contrib/llvm/lib/Target/PowerPC/ |
H A D | PPCFastISel.cpp | 340 gep_type_iterator GTI = gep_type_begin(U); local 342 II != IE; ++II, ++GTI) { 344 if (StructType *STy = dyn_cast<StructType>(*GTI)) { 349 uint64_t S = DL.getTypeAllocSize(GTI.getIndexedType());
|
/freebsd-11.0-release/contrib/llvm/lib/Target/ARM/ |
H A D | ARMFastISel.cpp | 802 gep_type_iterator GTI = gep_type_begin(U); local 804 i != e; ++i, ++GTI) { 806 if (StructType *STy = dyn_cast<StructType>(*GTI)) { 811 uint64_t S = DL.getTypeAllocSize(GTI.getIndexedType());
|
/freebsd-11.0-release/contrib/llvm/lib/Target/X86/ |
H A D | X86FastISel.cpp | 766 gep_type_iterator GTI = gep_type_begin(U); local 770 i != e; ++i, ++GTI) { 772 if (StructType *STy = dyn_cast<StructType>(*GTI)) { 780 uint64_t S = DL.getTypeAllocSize(GTI.getIndexedType());
|
/freebsd-11.0-release/contrib/llvm/lib/CodeGen/ |
H A D | CodeGenPrepare.cpp | 3181 gep_type_iterator GTI = gep_type_begin(AddrInst); local 3182 for (unsigned i = 1, e = AddrInst->getNumOperands(); i != e; ++i, ++GTI) { 3183 if (StructType *STy = dyn_cast<StructType>(*GTI)) { 3189 uint64_t TypeSize = DL.getTypeAllocSize(GTI.getIndexedType());
|
/freebsd-11.0-release/contrib/llvm/lib/Target/AArch64/ |
H A D | AArch64FastISel.cpp | 558 gep_type_iterator GTI = gep_type_begin(U); local 560 ++i, ++GTI) { 562 if (StructType *STy = dyn_cast<StructType>(*GTI)) { 567 uint64_t S = DL.getTypeAllocSize(GTI.getIndexedType());
|
H A D | AArch64ISelLowering.cpp | 6942 gep_type_iterator GTI = gep_type_begin(Instr); local 6944 std::advance(GTI, U.getOperandNo()); 6945 Type *IdxTy = *GTI;
|