Home
last modified time | relevance | path

Searched refs:Cst2 (Results 1 – 6 of 6) sorted by relevance

/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp3269 const ConstantSDNode *Cst2) { in FoldConstantArithmetic() argument
3270 if (Cst1->isOpaque() || Cst2->isOpaque()) in FoldConstantArithmetic()
3274 Cst2->getAPIntValue()); in FoldConstantArithmetic()
3287 const ConstantSDNode *Cst2 = dyn_cast<ConstantSDNode>(N2); in FoldSymbolOffset() local
3288 if (!Cst2) in FoldSymbolOffset()
3290 int64_t Offset = Cst2->getSExtValue(); in FoldSymbolOffset()
3296 return getGlobalAddress(GA->getGlobal(), SDLoc(Cst2), VT, in FoldSymbolOffset()
3302 SDNode *Cst2) { in FoldConstantArithmetic() argument
3311 if (const ConstantSDNode *Scalar2 = dyn_cast<ConstantSDNode>(Cst2)) { in FoldConstantArithmetic()
3321 return FoldSymbolOffset(Opcode, VT, GA, Cst2); in FoldConstantArithmetic()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp4176 const ConstantSDNode *Cst2) { in FoldConstantArithmetic() argument
4177 if (Cst1->isOpaque() || Cst2->isOpaque()) in FoldConstantArithmetic()
4181 Cst2->getAPIntValue()); in FoldConstantArithmetic()
4194 const ConstantSDNode *Cst2 = dyn_cast<ConstantSDNode>(N2); in FoldSymbolOffset() local
4195 if (!Cst2) in FoldSymbolOffset()
4197 int64_t Offset = Cst2->getSExtValue(); in FoldSymbolOffset()
4203 return getGlobalAddress(GA->getGlobal(), SDLoc(Cst2), VT, in FoldSymbolOffset()
4234 SDNode *Cst2) { in FoldConstantArithmetic() argument
4241 if (isUndef(Opcode, {SDValue(Cst1, 0), SDValue(Cst2, 0)})) in FoldConstantArithmetic()
4246 if (const ConstantSDNode *Scalar2 = dyn_cast<ConstantSDNode>(Cst2)) { in FoldConstantArithmetic()
[all …]
/external/llvm/include/llvm/CodeGen/
DSelectionDAG.h1251 SDNode *Cst1, SDNode *Cst2);
1255 const ConstantSDNode *Cst2);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DSelectionDAG.h1395 SDNode *Cst1, SDNode *Cst2);
1399 const ConstantSDNode *Cst2);
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DSelectionDAG.h958 ConstantSDNode *Cst2);
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp2642 ConstantSDNode *Cst2) { in FoldConstantArithmetic() argument
2643 const APInt &C1 = Cst1->getAPIntValue(), &C2 = Cst2->getAPIntValue(); in FoldConstantArithmetic()