Searched refs:NestedOps (Results 1 – 3 of 3) sorted by relevance
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | ConstantFolding.cpp | 621 SmallVector<Value *, 4> NestedOps(GEP->op_begin()+1, GEP->op_end()); in SymbolicallyEvaluateGEP() local 625 for (unsigned i = 0, e = NestedOps.size(); i != e; ++i) in SymbolicallyEvaluateGEP() 626 if (!isa<ConstantInt>(NestedOps[i])) { in SymbolicallyEvaluateGEP() 635 TD->getIndexedOffset(Ptr->getType(), NestedOps)); in SymbolicallyEvaluateGEP()
|
/external/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 796 SmallVector<Value *, 4> NestedOps(GEP->op_begin() + 1, GEP->op_end()); in SymbolicallyEvaluateGEP() local 800 for (Value *NestedOp : NestedOps) in SymbolicallyEvaluateGEP() 810 Offset += APInt(BitWidth, DL.getIndexedOffsetInType(SrcElemTy, NestedOps)); in SymbolicallyEvaluateGEP()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 850 SmallVector<Value *, 4> NestedOps(GEP->op_begin() + 1, GEP->op_end()); in SymbolicallyEvaluateGEP() local 854 for (Value *NestedOp : NestedOps) in SymbolicallyEvaluateGEP() 864 Offset += APInt(BitWidth, DL.getIndexedOffsetInType(SrcElemTy, NestedOps)); in SymbolicallyEvaluateGEP()
|