/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Operator.cpp | 50 unsigned ElementIdx = OpC->getZExtValue(); in accumulateConstantOffset() local 52 Offset += APInt(Offset.getBitWidth(), SL->getElementOffset(ElementIdx)); in accumulateConstantOffset()
|
/external/llvm/lib/IR/ |
D | Operator.cpp | 37 unsigned ElementIdx = OpC->getZExtValue(); in accumulateConstantOffset() local 39 Offset += APInt(Offset.getBitWidth(), SL->getElementOffset(ElementIdx)); in accumulateConstantOffset()
|
/external/llvm-project/llvm/lib/IR/ |
D | Operator.cpp | 108 unsigned ElementIdx = ConstOffset->getZExtValue(); in accumulateConstantOffset() local 112 APInt(Offset.getBitWidth(), SL->getElementOffset(ElementIdx)), in accumulateConstantOffset()
|
/external/llvm-project/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 525 unsigned ElementIdx = cast<ConstantInt>(GEP->getOperand(2))->getZExtValue(); in SRAGlobal() local 526 if (NewGlobals.count(ElementIdx) == 1) in SRAGlobal() 528 assert(NewGlobals.count(ElementIdx) == 0); in SRAGlobal() 532 ElTy = STy->getElementType(ElementIdx); in SRAGlobal() 537 Constant *In = Init->getAggregateElement(ElementIdx); in SRAGlobal() 542 GV->getName() + "." + Twine(ElementIdx), GV->getThreadLocalMode(), in SRAGlobal() 546 NewGlobals.insert(std::make_pair(ElementIdx, NGV)); in SRAGlobal() 554 uint64_t FieldOffset = Layout.getElementOffset(ElementIdx); in SRAGlobal() 556 if (NewAlign > DL.getABITypeAlign(STy->getElementType(ElementIdx))) in SRAGlobal() 561 uint64_t FragmentOffsetInBits = Layout.getElementOffsetInBits(ElementIdx); in SRAGlobal() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 504 unsigned ElementIdx = cast<ConstantInt>(GEP->getOperand(2))->getZExtValue(); in SRAGlobal() local 505 if (NewGlobals.count(ElementIdx) == 1) in SRAGlobal() 507 assert(NewGlobals.count(ElementIdx) == 0); in SRAGlobal() 511 ElTy = STy->getElementType(ElementIdx); in SRAGlobal() 516 Constant *In = Init->getAggregateElement(ElementIdx); in SRAGlobal() 521 GV->getName() + "." + Twine(ElementIdx), GV->getThreadLocalMode(), in SRAGlobal() 525 NewGlobals.insert(std::make_pair(ElementIdx, NGV)); in SRAGlobal() 533 uint64_t FieldOffset = Layout.getElementOffset(ElementIdx); in SRAGlobal() 536 Align(DL.getABITypeAlignment(STy->getElementType(ElementIdx)))) in SRAGlobal() 541 uint64_t FragmentOffsetInBits = Layout.getElementOffsetInBits(ElementIdx); in SRAGlobal() [all …]
|
/external/llvm/lib/Analysis/ |
D | InlineCost.cpp | 324 unsigned ElementIdx = OpC->getZExtValue(); in accumulateGEPOffset() local 326 Offset += APInt(IntPtrWidth, SL->getElementOffset(ElementIdx)); in accumulateGEPOffset()
|
D | ValueTracking.cpp | 1614 unsigned ElementIdx = OpC->getZExtValue(); in isGEPKnownNonNull() local 1616 uint64_t ElementOffset = SL->getElementOffset(ElementIdx); in isGEPKnownNonNull()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | InlineCost.cpp | 691 unsigned ElementIdx = OpC->getZExtValue(); in accumulateGEPOffset() local 693 Offset += APInt(IntPtrWidth, SL->getElementOffset(ElementIdx)); in accumulateGEPOffset()
|
D | ValueTracking.cpp | 1954 unsigned ElementIdx = OpC->getZExtValue(); in isGEPKnownNonNull() local 1956 uint64_t ElementOffset = SL->getElementOffset(ElementIdx); in isGEPKnownNonNull()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | InlineCost.cpp | 826 unsigned ElementIdx = OpC->getZExtValue(); in accumulateGEPOffset() local 828 Offset += APInt(IntPtrWidth, SL->getElementOffset(ElementIdx)); in accumulateGEPOffset()
|
D | ValueTracking.cpp | 2046 unsigned ElementIdx = OpC->getZExtValue(); in isGEPKnownNonNull() local 2048 uint64_t ElementOffset = SL->getElementOffset(ElementIdx); in isGEPKnownNonNull()
|
/external/llvm/lib/Transforms/Scalar/ |
D | SROA.cpp | 697 unsigned ElementIdx = OpC->getZExtValue(); in visitGetElementPtrInst() local 700 APInt(Offset.getBitWidth(), SL->getElementOffset(ElementIdx)); in visitGetElementPtrInst()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | SROA.cpp | 747 unsigned ElementIdx = OpC->getZExtValue(); in visitGetElementPtrInst() local 750 APInt(Offset.getBitWidth(), SL->getElementOffset(ElementIdx)); in visitGetElementPtrInst()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | SROA.cpp | 745 unsigned ElementIdx = OpC->getZExtValue(); in visitGetElementPtrInst() local 748 APInt(Offset.getBitWidth(), SL->getElementOffset(ElementIdx)); in visitGetElementPtrInst()
|