/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Operator.cpp | 40 for (gep_type_iterator GTI = gep_type_begin(this), GTE = gep_type_end(this); in accumulateConstantOffset() local 41 GTI != GTE; ++GTI) { in accumulateConstantOffset() 42 ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand()); in accumulateConstantOffset() 49 if (StructType *STy = GTI.getStructTypeOrNull()) { in accumulateConstantOffset() 59 DL.getTypeAllocSize(GTI.getIndexedType())); in accumulateConstantOffset()
|
D | DataLayout.cpp | 811 GTI = gep_type_begin(ElemTy, Indices), in getIndexedOffsetInType() local 813 for (; GTI != GTE; ++GTI) { in getIndexedOffsetInType() 814 Value *Idx = GTI.getOperand(); in getIndexedOffsetInType() 815 if (StructType *STy = GTI.getStructTypeOrNull()) { in getIndexedOffsetInType() 827 Result += arrayIdx * getTypeAllocSize(GTI.getIndexedType()); in getIndexedOffsetInType()
|
D | ConstantFold.cpp | 1769 gep_type_iterator GTI = gep_type_begin(CE1); in evaluateICmpRelation() local 1771 ++i, ++GTI) in evaluateICmpRelation() 1773 CE2->getOperand(i), GTI.getIndexedType())) { in evaluateICmpRelation()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | SeparateConstOffsetFromGEP.cpp | 767 gep_type_iterator GTI = gep_type_begin(*GEP); in canonicalizeArrayIndicesToPointerSize() local 769 I != E; ++I, ++GTI) { in canonicalizeArrayIndicesToPointerSize() 771 if (GTI.isSequential()) { in canonicalizeArrayIndicesToPointerSize() 786 gep_type_iterator GTI = gep_type_begin(*GEP); in accumulateByteOffset() local 787 for (unsigned I = 1, E = GEP->getNumOperands(); I != E; ++I, ++GTI) { in accumulateByteOffset() 788 if (GTI.isSequential()) { in accumulateByteOffset() 798 ConstantOffset * DL->getTypeAllocSize(GTI.getIndexedType()); in accumulateByteOffset() 801 StructType *StTy = GTI.getStructType(); in accumulateByteOffset() 832 gep_type_iterator GTI = gep_type_begin(*Variadic); in lowerToSingleIndexGEPs() local 835 for (unsigned I = 1, E = Variadic->getNumOperands(); I != E; ++I, ++GTI) { in lowerToSingleIndexGEPs() [all …]
|
D | NaryReassociate.cpp | 312 gep_type_iterator GTI = gep_type_begin(*GEP); in tryReassociateGEP() local 313 for (unsigned I = 1, E = GEP->getNumOperands(); I != E; ++I, ++GTI) { in tryReassociateGEP() 314 if (GTI.isSequential()) { in tryReassociateGEP() 316 GTI.getIndexedType())) { in tryReassociateGEP()
|
D | StraightLineStrengthReduce.cpp | 528 gep_type_iterator GTI = gep_type_begin(GEP); in allocateCandidatesAndFindBasisForGEP() local 529 for (unsigned I = 1, E = GEP->getNumOperands(); I != E; ++I, ++GTI) { in allocateCandidatesAndFindBasisForGEP() 530 if (GTI.isStruct()) in allocateCandidatesAndFindBasisForGEP() 540 uint64_t ElementSize = DL->getTypeAllocSize(GTI.getIndexedType()); in allocateCandidatesAndFindBasisForGEP()
|
D | SROA.cpp | 738 for (gep_type_iterator GTI = gep_type_begin(GEPI), in visitGetElementPtrInst() local 740 GTI != GTE; ++GTI) { in visitGetElementPtrInst() 741 ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand()); in visitGetElementPtrInst() 746 if (StructType *STy = GTI.getStructTypeOrNull()) { in visitGetElementPtrInst() 756 DL.getTypeAllocSize(GTI.getIndexedType())); in visitGetElementPtrInst()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/Utils/ |
D | Local.h | 44 gep_type_iterator GTI = gep_type_begin(GEP); variable 46 ++i, ++GTI) { 48 uint64_t Size = DL.getTypeAllocSize(GTI.getIndexedType()) & PtrSizeMask; 54 if (StructType *STy = GTI.getStructTypeOrNull()) {
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | TargetTransformInfoImpl.h | 761 auto GTI = gep_type_begin(PointeeType, Operands); in getGEPCost() local 769 for (auto I = Operands.begin(); I != Operands.end(); ++I, ++GTI) { in getGEPCost() 770 TargetType = GTI.getIndexedType(); in getGEPCost() 777 if (StructType *STy = GTI.getStructTypeOrNull()) { in getGEPCost() 783 int64_t ElementSize = DL.getTypeAllocSize(GTI.getIndexedType()); in getGEPCost()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyFastISel.cpp | 270 for (gep_type_iterator GTI = gep_type_begin(U), E = gep_type_end(U); in computeAddress() local 271 GTI != E; ++GTI) { in computeAddress() 272 const Value *Op = GTI.getOperand(); in computeAddress() 273 if (StructType *STy = GTI.getStructTypeOrNull()) { in computeAddress() 278 uint64_t S = DL.getTypeAllocSize(GTI.getIndexedType()); in computeAddress()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | InlineCost.cpp | 678 for (gep_type_iterator GTI = gep_type_begin(GEP), GTE = gep_type_end(GEP); in accumulateGEPOffset() local 679 GTI != GTE; ++GTI) { in accumulateGEPOffset() 680 ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand()); in accumulateGEPOffset() 682 if (Constant *SimpleOp = SimplifiedValues.lookup(GTI.getOperand())) in accumulateGEPOffset() 690 if (StructType *STy = GTI.getStructTypeOrNull()) { in accumulateGEPOffset() 697 APInt TypeSize(IntPtrWidth, DL.getTypeAllocSize(GTI.getIndexedType())); in accumulateGEPOffset()
|
D | ValueTracking.cpp | 1376 gep_type_iterator GTI = gep_type_begin(I); in computeKnownBitsFromOperator() local 1377 for (unsigned i = 1, e = I->getNumOperands(); i != e; ++i, ++GTI) { in computeKnownBitsFromOperator() 1379 if (StructType *STy = GTI.getStructTypeOrNull()) { in computeKnownBitsFromOperator() 1397 Type *IndexedTy = GTI.getIndexedType(); in computeKnownBitsFromOperator() 1949 for (gep_type_iterator GTI = gep_type_begin(GEP), GTE = gep_type_end(GEP); in isGEPKnownNonNull() local 1950 GTI != GTE; ++GTI) { in isGEPKnownNonNull() 1952 if (StructType *STy = GTI.getStructTypeOrNull()) { in isGEPKnownNonNull() 1953 ConstantInt *OpC = cast<ConstantInt>(GTI.getOperand()); in isGEPKnownNonNull() 1963 if (Q.DL.getTypeAllocSize(GTI.getIndexedType()) == 0) in isGEPKnownNonNull() 1968 if (ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand())) { in isGEPKnownNonNull() [all …]
|
D | BasicAliasAnalysis.cpp | 536 gep_type_iterator GTI = gep_type_begin(GEPOp); in DecomposeGEPExpression() local 541 I != E; ++I, ++GTI) { in DecomposeGEPExpression() 544 if (StructType *STy = GTI.getStructTypeOrNull()) { in DecomposeGEPExpression() 560 (DL.getTypeAllocSize(GTI.getIndexedType()) * in DecomposeGEPExpression() 568 APInt Scale(MaxPointerSize, DL.getTypeAllocSize(GTI.getIndexedType())); in DecomposeGEPExpression()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | FastISel.cpp | 687 for (gep_type_iterator GTI = gep_type_begin(I), E = gep_type_end(I); in selectGetElementPtr() local 688 GTI != E; ++GTI) { in selectGetElementPtr() 689 const Value *Idx = GTI.getOperand(); in selectGetElementPtr() 690 if (StructType *StTy = GTI.getStructTypeOrNull()) { in selectGetElementPtr() 704 Type *Ty = GTI.getIndexedType(); in selectGetElementPtr()
|
D | SelectionDAGBuilder.cpp | 3894 for (gep_type_iterator GTI = gep_type_begin(&I), E = gep_type_end(&I); in visitGetElementPtr() local 3895 GTI != E; ++GTI) { in visitGetElementPtr() 3896 const Value *Idx = GTI.getOperand(); in visitGetElementPtr() 3897 if (StructType *StTy = GTI.getStructTypeOrNull()) { in visitGetElementPtr() 3915 APInt ElementSize(IdxSize, DL->getTypeAllocSize(GTI.getIndexedType())); in visitGetElementPtr() 4392 gep_type_iterator GTI = gep_type_begin(*GEP); in getUniformBase() local 4395 for (unsigned i = 1; i < FinalIndex; ++i, ++GTI) { in getUniformBase() 4416 StructType *STy = GTI.getStructTypeOrNull(); in getUniformBase()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64FastISel.cpp | 628 for (gep_type_iterator GTI = gep_type_begin(U), E = gep_type_end(U); in computeAddress() local 629 GTI != E; ++GTI) { in computeAddress() 630 const Value *Op = GTI.getOperand(); in computeAddress() 631 if (StructType *STy = GTI.getStructTypeOrNull()) { in computeAddress() 636 uint64_t S = DL.getTypeAllocSize(GTI.getIndexedType()); in computeAddress() 5033 for (gep_type_iterator GTI = gep_type_begin(I), E = gep_type_end(I); in selectGetElementPtr() local 5034 GTI != E; ++GTI) { in selectGetElementPtr() 5035 const Value *Idx = GTI.getOperand(); in selectGetElementPtr() 5036 if (auto *StTy = GTI.getStructTypeOrNull()) { in selectGetElementPtr() 5042 Type *Ty = GTI.getIndexedType(); in selectGetElementPtr()
|
D | AArch64ISelLowering.cpp | 8937 gep_type_iterator GTI = gep_type_begin(Instr); in isExtFreeImpl() local 8939 std::advance(GTI, U.getOperandNo()-1); in isExtFreeImpl() 8940 Type *IdxTy = GTI.getIndexedType(); in isExtFreeImpl()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
D | IRTranslator.cpp | 1068 for (gep_type_iterator GTI = gep_type_begin(&U), E = gep_type_end(&U); in translateGetElementPtr() local 1069 GTI != E; ++GTI) { in translateGetElementPtr() 1070 const Value *Idx = GTI.getOperand(); in translateGetElementPtr() 1071 if (StructType *StTy = GTI.getStructTypeOrNull()) { in translateGetElementPtr() 1076 uint64_t ElementSize = DL->getTypeAllocSize(GTI.getIndexedType()); in translateGetElementPtr()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
D | MipsFastISel.cpp | 491 gep_type_iterator GTI = gep_type_begin(U); in computeAddress() local 493 ++i, ++GTI) { in computeAddress() 495 if (StructType *STy = GTI.getStructTypeOrNull()) { in computeAddress() 500 uint64_t S = DL.getTypeAllocSize(GTI.getIndexedType()); in computeAddress()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCFastISel.cpp | 349 gep_type_iterator GTI = gep_type_begin(U); in PPCComputeAddress() local 351 II != IE; ++II, ++GTI) { in PPCComputeAddress() 353 if (StructType *STy = GTI.getStructTypeOrNull()) { in PPCComputeAddress() 358 uint64_t S = DL.getTypeAllocSize(GTI.getIndexedType()); in PPCComputeAddress()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 427 gep_type_iterator GTI = gep_type_begin(GEP); in evaluateGEPOffsetExpression() local 436 for (i = 1; i != e; ++i, ++GTI) { in evaluateGEPOffsetExpression() 442 if (StructType *STy = GTI.getStructTypeOrNull()) { in evaluateGEPOffsetExpression() 445 uint64_t Size = DL.getTypeAllocSize(GTI.getIndexedType()); in evaluateGEPOffsetExpression() 461 uint64_t VariableScale = DL.getTypeAllocSize(GTI.getIndexedType()); in evaluateGEPOffsetExpression() 464 for (++i, ++GTI; i != e; ++i, ++GTI) { in evaluateGEPOffsetExpression() 472 if (StructType *STy = GTI.getStructTypeOrNull()) { in evaluateGEPOffsetExpression() 475 uint64_t Size = DL.getTypeAllocSize(GTI.getIndexedType()); in evaluateGEPOffsetExpression()
|
D | InstructionCombining.cpp | 1696 gep_type_iterator GTI = gep_type_begin(GEP); in visitGetElementPtrInst() local 1698 ++I, ++GTI) { in visitGetElementPtrInst() 1700 if (GTI.isStruct()) in visitGetElementPtrInst() 1711 Type *EltTy = GTI.getIndexedType(); in visitGetElementPtrInst()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMFastISel.cpp | 759 gep_type_iterator GTI = gep_type_begin(U); in ARMComputeAddress() local 761 i != e; ++i, ++GTI) { in ARMComputeAddress() 763 if (StructType *STy = GTI.getStructTypeOrNull()) { in ARMComputeAddress() 768 uint64_t S = DL.getTypeAllocSize(GTI.getIndexedType()); in ARMComputeAddress()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86FastISel.cpp | 906 gep_type_iterator GTI = gep_type_begin(U); in X86SelectAddress() local 910 i != e; ++i, ++GTI) { in X86SelectAddress() 912 if (StructType *STy = GTI.getStructTypeOrNull()) { in X86SelectAddress() 920 uint64_t S = DL.getTypeAllocSize(GTI.getIndexedType()); in X86SelectAddress()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 4246 gep_type_iterator GTI = gep_type_begin(AddrInst); in matchOperationAddr() local 4247 for (unsigned i = 1, e = AddrInst->getNumOperands(); i != e; ++i, ++GTI) { in matchOperationAddr() 4248 if (StructType *STy = GTI.getStructTypeOrNull()) { in matchOperationAddr() 4254 uint64_t TypeSize = DL.getTypeAllocSize(GTI.getIndexedType()); in matchOperationAddr()
|