reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/Scalar/SROA.cpp
 2419     return getAdjustedPtr(IRB, DL, &NewAI,
 2420                           APInt(DL.getIndexTypeSizeInBits(PointerTy), Offset),
 2438       NewAIAlign = DL.getABITypeAlignment(NewAI.getAllocatedType());
 2441     return (Ty && Align == DL.getABITypeAlignment(Ty)) ? 0 : Align;
 2474     V = convertValue(DL, IRB, V, IntTy);
 2479       V = extractInteger(DL, IRB, V, ExtractTy, Offset, "extract");
 2505     const bool IsLoadPastEnd = DL.getTypeStoreSize(TargetTy) > SliceSize;
 2514                (canConvertValue(DL, NewAllocaTy, TargetTy) ||
 2548             if (DL.isBigEndian())
 2565     V = convertValue(DL, IRB, V, TargetTy);
 2571       assert(SliceSize < DL.getTypeStoreSize(LI.getType()) &&
 2573       assert(DL.typeSizeEqualsStoreSize(LI.getType()) &&
 2583       V = insertInteger(DL, IRB, Placeholder, V, NewBeginOffset - BeginOffset,
 2610         V = convertValue(DL, IRB, V, SliceTy);
 2629     if (DL.getTypeSizeInBits(V->getType()) != IntTy->getBitWidth()) {
 2632       Old = convertValue(DL, IRB, Old, IntTy);
 2635       V = insertInteger(DL, IRB, Old, SI.getValueOperand(), Offset, "insert");
 2637     V = convertValue(DL, IRB, V, NewAllocaTy);
 2664     if (SliceSize < DL.getTypeStoreSize(V->getType())) {
 2668       assert(DL.typeSizeEqualsStoreSize(V->getType()) &&
 2671       V = extractInteger(DL, IRB, V, NarrowTy, NewBeginOffset - BeginOffset,
 2680     const bool IsStorePastEnd = DL.getTypeStoreSize(V->getType()) > SliceSize;
 2684         (canConvertValue(DL, V->getType(), NewAllocaTy) ||
 2693             if (DL.isBigEndian())
 2699       V = convertValue(DL, IRB, V, NewAllocaTy);
 2792       return canConvertValue(DL, SrcTy, AllocaTy) &&
 2793         DL.isLegalInteger(DL.getTypeSizeInBits(ScalarTy));
 2793         DL.isLegalInteger(DL.getTypeSizeInBits(ScalarTy));
 2828           getIntegerSplat(II.getValue(), DL.getTypeSizeInBits(ElementTy) / 8);
 2829       Splat = convertValue(DL, IRB, Splat, ElementTy);
 2848         Old = convertValue(DL, IRB, Old, IntTy);
 2850         V = insertInteger(DL, IRB, Old, V, Offset, "insert");
 2855       V = convertValue(DL, IRB, V, AllocaTy);
 2861       V = getIntegerSplat(II.getValue(), DL.getTypeSizeInBits(ScalarTy) / 8);
 2865       V = convertValue(DL, IRB, V, AllocaTy);
 2924          SliceSize != DL.getTypeStoreSize(NewAI.getAllocatedType()) ||
 2957     unsigned OffsetWidth = DL.getIndexSizeInBits(OtherAS);
 2967       OtherPtr = getAdjustedPtr(IRB, DL, OtherPtr, OtherOffset, OtherPtrTy,
 3020     Value *SrcPtr = getAdjustedPtr(IRB, DL, OtherPtr, OtherOffset, OtherPtrTy,
 3038       Src = convertValue(DL, IRB, Src, IntTy);
 3040       Src = extractInteger(DL, IRB, Src, SubIntTy, Offset, "extract");
 3056       Old = convertValue(DL, IRB, Old, IntTy);
 3058       Src = insertInteger(DL, IRB, Old, Src, Offset, "insert");
 3059       Src = convertValue(DL, IRB, Src, NewAllocaTy);
 3122           LoadAlign = DL.getABITypeAlignment(LI->getType());
 3130           StoreAlign = DL.getABITypeAlignment(Op->getType());