Lines Matching defs:ConvertedShadow
1313 Value *ConvertedShadow = convertShadowToScalar(Shadow, IRB);
1314 if (auto *ConstantShadow = dyn_cast<Constant>(ConvertedShadow)) {
1320 if (llvm::isKnownNonZero(ConvertedShadow, DL)) {
1329 TypeSize TypeSizeInBits = DL.getTypeSizeInBits(ConvertedShadow->getType());
1331 if (instrumentWithCalls(ConvertedShadow) &&
1335 IRB.CreateZExt(ConvertedShadow, IRB.getIntNTy(8 * (1 << SizeIndex)));
1340 Value *Cmp = convertToBool(ConvertedShadow, IRB, "_mscmp");
1420 void materializeOneCheck(IRBuilder<> &IRB, Value *ConvertedShadow,
1423 TypeSize TypeSizeInBits = DL.getTypeSizeInBits(ConvertedShadow->getType());
1425 if (instrumentWithCalls(ConvertedShadow) &&
1429 ConvertedShadow = convertShadowToScalar(ConvertedShadow, IRB);
1431 IRB.CreateZExt(ConvertedShadow, IRB.getIntNTy(8 * (1 << SizeIndex)));
1438 Value *Cmp = convertToBool(ConvertedShadow, IRB, "_mscmp");
1461 Value *ConvertedShadow = ShadowData.Shadow;
1463 if (auto *ConstantShadow = dyn_cast<Constant>(ConvertedShadow)) {
1468 if (llvm::isKnownNonZero(ConvertedShadow, DL)) {
1480 materializeOneCheck(IRB, ConvertedShadow, ShadowData.Origin);
1485 Shadow = ConvertedShadow;
1490 ConvertedShadow = convertToBool(ConvertedShadow, IRB, "_mscmp");
1491 Shadow = IRB.CreateOr(Shadow, ConvertedShadow, "_msor");