HomeSort by: relevance | last modified time | path
    Searched refs:GTI (Results 1 - 25 of 27) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/llvm/lib/IR/
Operator.cpp 39 for (gep_type_iterator GTI = gep_type_begin(this), GTE = gep_type_end(this);
40 GTI != GTE; ++GTI) {
42 ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand());
44 if (StructType *STy = GTI.getStructTypeOrNull()) {
48 assert(GTI.isSequential() && "should be sequencial");
54 Offset = DL.getTypeAllocSize(GTI.getIndexedType()) * ElemCount;
98 for (auto GTI = begin, GTE = end; GTI != GTE; ++GTI) {
    [all...]
DataLayout.cpp 880 GTI = gep_type_begin(ElemTy, Indices),
882 for (; GTI != GTE; ++GTI) {
883 Value *Idx = GTI.getOperand();
884 if (StructType *STy = GTI.getStructTypeOrNull()) {
896 Result += arrayIdx * getTypeAllocSize(GTI.getIndexedType());
Constants.cpp 2463 auto GTI = gep_type_begin(Ty, Idxs), GTE = gep_type_end(Ty, Idxs);
2464 for (; GTI != GTE; ++GTI) {
2465 auto *Idx = cast<Constant>(GTI.getOperand());
2471 if (GTI.isStruct() && Idx->getType()->isVectorTy()) {
2473 } else if (GTI.isSequential() && EltCount.isNonZero() &&
ConstantFold.cpp 1910 gep_type_iterator GTI = gep_type_begin(CE1);
1912 ++i, ++GTI)
1914 CE2->getOperand(i), GTI.getIndexedType())) {
  /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/Utils/
Local.h 44 gep_type_iterator GTI = gep_type_begin(GEP);
46 ++i, ++GTI) {
48 uint64_t Size = DL.getTypeAllocSize(GTI.getIndexedType()) & PtrSizeMask;
55 if (StructType *STy = GTI.getStructTypeOrNull()) {
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
SeparateConstOffsetFromGEP.cpp 799 gep_type_iterator GTI = gep_type_begin(*GEP);
801 I != E; ++I, ++GTI) {
803 if (GTI.isSequential()) {
818 gep_type_iterator GTI = gep_type_begin(*GEP);
819 for (unsigned I = 1, E = GEP->getNumOperands(); I != E; ++I, ++GTI) {
820 if (GTI.isSequential()) {
830 ConstantOffset * DL->getTypeAllocSize(GTI.getIndexedType());
833 StructType *StTy = GTI.getStructType();
864 gep_type_iterator GTI = gep_type_begin(*Variadic);
867 for (unsigned I = 1, E = Variadic->getNumOperands(); I != E; ++I, ++GTI) {
    [all...]
NaryReassociate.cpp 336 gep_type_iterator GTI = gep_type_begin(*GEP);
337 for (unsigned I = 1, E = GEP->getNumOperands(); I != E; ++I, ++GTI) {
338 if (GTI.isSequential()) {
340 GTI.getIndexedType())) {
StraightLineStrengthReduce.cpp 539 gep_type_iterator GTI = gep_type_begin(GEP);
540 for (unsigned I = 1, E = GEP->getNumOperands(); I != E; ++I, ++GTI) {
541 if (GTI.isStruct())
551 uint64_t ElementSize = DL->getTypeAllocSize(GTI.getIndexedType());
SROA.cpp 732 for (gep_type_iterator GTI = gep_type_begin(GEPI),
734 GTI != GTE; ++GTI) {
735 ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand());
740 if (StructType *STy = GTI.getStructTypeOrNull()) {
752 DL.getTypeAllocSize(GTI.getIndexedType()).getFixedSize());
  /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
TargetTransformInfoImpl.h 871 auto GTI = gep_type_begin(PointeeType, Operands);
879 for (auto I = Operands.begin(); I != Operands.end(); ++I, ++GTI) {
880 TargetType = GTI.getIndexedType();
887 if (StructType *STy = GTI.getStructTypeOrNull()) {
898 DL.getTypeAllocSize(GTI.getIndexedType()).getFixedSize();
  /src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
WebAssemblyFastISel.cpp 269 for (gep_type_iterator GTI = gep_type_begin(U), E = gep_type_end(U);
270 GTI != E; ++GTI) {
271 const Value *Op = GTI.getOperand();
272 if (StructType *STy = GTI.getStructTypeOrNull()) {
277 uint64_t S = DL.getTypeAllocSize(GTI.getIndexedType());
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
BasicAliasAnalysis.cpp 503 gep_type_iterator GTI = gep_type_begin(GEPOp);
508 I != E; ++I, ++GTI) {
511 if (StructType *STy = GTI.getStructTypeOrNull()) {
526 DL.getTypeAllocSize(GTI.getIndexedType()).getFixedSize() *
534 DL.getTypeAllocSize(GTI.getIndexedType()).getFixedSize());
InlineCost.cpp 1000 for (gep_type_iterator GTI = gep_type_begin(GEP), GTE = gep_type_end(GEP);
1001 GTI != GTE; ++GTI) {
1002 ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand());
1004 if (Constant *SimpleOp = SimplifiedValues.lookup(GTI.getOperand()))
1012 if (StructType *STy = GTI.getStructTypeOrNull()) {
1019 APInt TypeSize(IntPtrWidth, DL.getTypeAllocSize(GTI.getIndexedType()));
ValueTracking.cpp 1274 gep_type_iterator GTI = gep_type_begin(I);
1275 for (unsigned i = 1, e = I->getNumOperands(); i != e; ++i, ++GTI) {
1287 if (StructType *STy = GTI.getStructTypeOrNull()) {
1304 Type *IndexedTy = GTI.getIndexedType();
2054 for (gep_type_iterator GTI = gep_type_begin(GEP), GTE = gep_type_end(GEP);
2055 GTI != GTE; ++GTI) {
2057 if (StructType *STy = GTI.getStructTypeOrNull()) {
2058 ConstantInt *OpC = cast<ConstantInt>(GTI.getOperand());
2068 if (Q.DL.getTypeAllocSize(GTI.getIndexedType()).getKnownMinSize() == 0
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
FastISel.cpp 556 for (gep_type_iterator GTI = gep_type_begin(I), E = gep_type_end(I);
557 GTI != E; ++GTI) {
558 const Value *Idx = GTI.getOperand();
559 if (StructType *StTy = GTI.getStructTypeOrNull()) {
572 Type *Ty = GTI.getIndexedType();
  /src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
AArch64FastISel.cpp 613 for (gep_type_iterator GTI = gep_type_begin(U), E = gep_type_end(U);
614 GTI != E; ++GTI) {
615 const Value *Op = GTI.getOperand();
616 if (StructType *STy = GTI.getStructTypeOrNull()) {
621 uint64_t S = DL.getTypeAllocSize(GTI.getIndexedType());
4895 for (gep_type_iterator GTI = gep_type_begin(I), E = gep_type_end(I);
4896 GTI != E; ++GTI) {
4897 const Value *Idx = GTI.getOperand()
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/Mips/
MipsFastISel.cpp 490 gep_type_iterator GTI = gep_type_begin(U);
492 ++i, ++GTI) {
494 if (StructType *STy = GTI.getStructTypeOrNull()) {
499 uint64_t S = DL.getTypeAllocSize(GTI.getIndexedType());
  /src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
PPCFastISel.cpp 345 gep_type_iterator GTI = gep_type_begin(U);
347 II != IE; ++II, ++GTI) {
349 if (StructType *STy = GTI.getStructTypeOrNull()) {
354 uint64_t S = DL.getTypeAllocSize(GTI.getIndexedType());
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
IRTranslator.cpp 1487 for (gep_type_iterator GTI = gep_type_begin(&U), E = gep_type_end(&U);
1488 GTI != E; ++GTI) {
1489 const Value *Idx = GTI.getOperand();
1490 if (StructType *StTy = GTI.getStructTypeOrNull()) {
1495 uint64_t ElementSize = DL->getTypeAllocSize(GTI.getIndexedType());
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
InstCombineCompares.cpp 389 gep_type_iterator GTI = gep_type_begin(GEP);
398 for (i = 1; i != e; ++i, ++GTI) {
404 if (StructType *STy = GTI.getStructTypeOrNull()) {
407 uint64_t Size = DL.getTypeAllocSize(GTI.getIndexedType());
423 uint64_t VariableScale = DL.getTypeAllocSize(GTI.getIndexedType());
426 for (++i, ++GTI; i != e; ++i, ++GTI) {
434 if (StructType *STy = GTI.getStructTypeOrNull()) {
437 uint64_t Size = DL.getTypeAllocSize(GTI.getIndexedType());
InstructionCombining.cpp 1891 gep_type_iterator GTI = gep_type_begin(GEP);
1893 ++I, ++GTI) {
1895 if (GTI.isStruct())
1907 Type *EltTy = GTI.getIndexedType();
  /src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
ARMFastISel.cpp 743 gep_type_iterator GTI = gep_type_begin(U);
745 i != e; ++i, ++GTI) {
747 if (StructType *STy = GTI.getStructTypeOrNull()) {
752 uint64_t S = DL.getTypeAllocSize(GTI.getIndexedType());
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGExprScalar.cpp 4973 for (auto GTI = llvm::gep_type_begin(GEP), GTE = llvm::gep_type_end(GEP);
4974 GTI != GTE; ++GTI) {
4976 auto *Index = GTI.getOperand();
4978 if (auto *STy = GTI.getStructTypeOrNull()) {
4988 IntPtrTy, DL.getTypeAllocSize(GTI.getIndexedType()));
  /src/external/apache2/llvm/dist/llvm/lib/Target/X86/
X86FastISel.cpp 907 gep_type_iterator GTI = gep_type_begin(U);
911 i != e; ++i, ++GTI) {
913 if (StructType *STy = GTI.getStructTypeOrNull()) {
921 uint64_t S = DL.getTypeAllocSize(GTI.getIndexedType());
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
CodeGenPrepare.cpp 4566 gep_type_iterator GTI = gep_type_begin(AddrInst);
4567 for (unsigned i = 1, e = AddrInst->getNumOperands(); i != e; ++i, ++GTI) {
4568 if (StructType *STy = GTI.getStructTypeOrNull()) {
4574 TypeSize TS = DL.getTypeAllocSize(GTI.getIndexedType());

Completed in 137 milliseconds

1 2