Home
last modified time | relevance | path

Searched refs:LoadedCE (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Analysis/
DInstructionSimplify.cpp3918 auto *LoadedCE = dyn_cast<ConstantExpr>(Loaded); in SimplifyRelativeLoad() local
3919 if (!LoadedCE) in SimplifyRelativeLoad()
3922 if (LoadedCE->getOpcode() == Instruction::Trunc) { in SimplifyRelativeLoad()
3923 LoadedCE = dyn_cast<ConstantExpr>(LoadedCE->getOperand(0)); in SimplifyRelativeLoad()
3924 if (!LoadedCE) in SimplifyRelativeLoad()
3928 if (LoadedCE->getOpcode() != Instruction::Sub) in SimplifyRelativeLoad()
3931 auto *LoadedLHS = dyn_cast<ConstantExpr>(LoadedCE->getOperand(0)); in SimplifyRelativeLoad()
3936 Constant *LoadedRHS = LoadedCE->getOperand(1); in SimplifyRelativeLoad()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DInstructionSimplify.cpp4658 auto *LoadedCE = dyn_cast<ConstantExpr>(Loaded); in SimplifyRelativeLoad() local
4659 if (!LoadedCE) in SimplifyRelativeLoad()
4662 if (LoadedCE->getOpcode() == Instruction::Trunc) { in SimplifyRelativeLoad()
4663 LoadedCE = dyn_cast<ConstantExpr>(LoadedCE->getOperand(0)); in SimplifyRelativeLoad()
4664 if (!LoadedCE) in SimplifyRelativeLoad()
4668 if (LoadedCE->getOpcode() != Instruction::Sub) in SimplifyRelativeLoad()
4671 auto *LoadedLHS = dyn_cast<ConstantExpr>(LoadedCE->getOperand(0)); in SimplifyRelativeLoad()
4676 Constant *LoadedRHS = LoadedCE->getOperand(1); in SimplifyRelativeLoad()