Lines Matching defs:NonConstantIdx
313 bool CanConvertToScalar(Value *V, uint64_t Offset, Value* NonConstantIdx);
317 Value *NonConstantIdx);
320 uint64_t Offset, Value* NonConstantIdx,
323 uint64_t Offset, Value* NonConstantIdx,
468 Value* NonConstantIdx) {
498 if (!CanConvertToScalar(BCI, Offset, NonConstantIdx))
515 if (NonConstantIdx)
522 GEPNonConstantIdx = NonConstantIdx;
537 if (NonConstantIdx)
564 if (NonConstantIdx)
598 Value* NonConstantIdx) {
603 ConvertUsesToScalar(CI, NewAI, Offset, NonConstantIdx);
613 assert(!NonConstantIdx &&
617 GEPNonConstantIdx = NonConstantIdx;
632 NonConstantIdx, Builder);
642 NonConstantIdx, Builder);
657 assert(!NonConstantIdx && "Cannot replace dynamic memset with insert");
690 assert(!NonConstantIdx && "Cannot replace dynamic transfer with insert");
763 uint64_t Offset, Value* NonConstantIdx,
787 if (NonConstantIdx) {
789 Idx = Builder.CreateAdd(NonConstantIdx,
793 Idx = NonConstantIdx;
805 assert(!NonConstantIdx &&
819 assert(!NonConstantIdx &&
892 /// NonConstantIdx is an index value if there was a GEP with a non-constant
897 uint64_t Offset, Value* NonConstantIdx,
920 if (NonConstantIdx) {
922 Idx = Builder.CreateAdd(NonConstantIdx,
926 Idx = NonConstantIdx;
934 assert(!NonConstantIdx &&
947 assert(!NonConstantIdx &&
2056 Value* NonConstantIdx = 0;
2058 NonConstantIdx = Indices.pop_back_val();
2085 if (NonConstantIdx) {
2094 NewArgs.push_back(NonConstantIdx);