reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Analysis/ConstantFolding.cpp
  634   if (!CE)
  637   if (CE->getOpcode() == Instruction::GetElementPtr) {
  638     if (auto *GV = dyn_cast<GlobalVariable>(CE->getOperand(0))) {
  641              ConstantFoldLoadThroughGEPConstantExpr(GV->getInitializer(), CE))
  647   if (CE->getOpcode() == Instruction::BitCast)
  648     if (Constant *LoadedC = ConstantFoldLoadThroughBitcastExpr(CE, Ty, DL))
  654   if (getConstantStringInfo(CE, Str) && !Str.empty()) {
  678       Constant *Res = ConstantInt::get(CE->getContext(), StrVal);
  687   if (auto *GV = dyn_cast<GlobalVariable>(GetUnderlyingObject(CE, DL))) {
  697   return FoldReinterpretLoadFromConstPtr(CE, Ty, DL);