Lines Matching defs:UnderlyingObject
390 Value *UnderlyingObject = findValue(Ptr, /*OffsetOk=*/true);
391 Check(!isa<ConstantPointerNull>(UnderlyingObject),
393 Check(!isa<UndefValue>(UnderlyingObject),
395 Check(!isa<ConstantInt>(UnderlyingObject) ||
396 !cast<ConstantInt>(UnderlyingObject)->isMinusOne(),
398 Check(!isa<ConstantInt>(UnderlyingObject) ||
399 !cast<ConstantInt>(UnderlyingObject)->isOne(),
403 if (const GlobalVariable *GV = dyn_cast<GlobalVariable>(UnderlyingObject))
406 Check(!isa<Function>(UnderlyingObject) &&
407 !isa<BlockAddress>(UnderlyingObject),
411 Check(!isa<Function>(UnderlyingObject), "Unusual: Load from function body",
413 Check(!isa<BlockAddress>(UnderlyingObject),
417 Check(!isa<BlockAddress>(UnderlyingObject),
421 Check(!isa<Constant>(UnderlyingObject) ||
422 isa<BlockAddress>(UnderlyingObject),