Searched refs:PostorderStack (Results 1 – 2 of 2) sorted by relevance
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXInferAddressSpaces.cpp | 199 Value *V, std::vector<std::pair<Value *, bool>> *PostorderStack, in appendsGenericAddressExpressionToPostorderStack() argument 206 PostorderStack->push_back(std::make_pair(V, false)); in appendsGenericAddressExpressionToPostorderStack() 215 std::vector<std::pair<Value*, bool>> PostorderStack; in collectGenericAddressExpressions() local 223 I.getOperand(0), &PostorderStack, &Visited); in collectGenericAddressExpressions() 226 I.getOperand(1), &PostorderStack, &Visited); in collectGenericAddressExpressions() 231 while (!PostorderStack.empty()) { in collectGenericAddressExpressions() 234 if (PostorderStack.back().second) { in collectGenericAddressExpressions() 235 Postorder.push_back(PostorderStack.back().first); in collectGenericAddressExpressions() 236 PostorderStack.pop_back(); in collectGenericAddressExpressions() 240 PostorderStack.back().second = true; in collectGenericAddressExpressions() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | InferAddressSpaces.cpp | 182 Value *V, std::vector<std::pair<Value *, bool>> &PostorderStack, 189 std::vector<std::pair<Value *, bool>> &PostorderStack, 289 IntrinsicInst *II, std::vector<std::pair<Value *, bool>> &PostorderStack, in collectRewritableIntrinsicOperands() argument 299 PostorderStack, Visited); in collectRewritableIntrinsicOperands() 310 Value *V, std::vector<std::pair<Value *, bool>> &PostorderStack, in appendsFlatAddressExpressionToPostorderStack() argument 319 PostorderStack.push_back(std::make_pair(CE, false)); in appendsFlatAddressExpressionToPostorderStack() 327 PostorderStack.push_back(std::make_pair(V, false)); in appendsFlatAddressExpressionToPostorderStack() 333 PostorderStack.emplace_back(CE, false); in appendsFlatAddressExpressionToPostorderStack() 346 std::vector<std::pair<Value *, bool>> PostorderStack; in collectFlatAddressExpressions() local 351 appendsFlatAddressExpressionToPostorderStack(Ptr, PostorderStack, in collectFlatAddressExpressions() [all …]
|