Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:PHI

351   // Build a phi if we needed a null check.
357 llvm::PHINode *PHI = Builder.CreatePHI(BasePtrTy, 2, "cast.result");
358 PHI->addIncoming(Value.getPointer(), notNullBB);
359 PHI->addIncoming(llvm::Constant::getNullValue(BasePtrTy), origBB);
360 Value = Address(PHI, Value.getAlignment());
408 // Produce a PHI if we had a null-check.
415 llvm::PHINode *PHI = Builder.CreatePHI(Value->getType(), 2);
416 PHI->addIncoming(Value, CastNotNull);
417 PHI->addIncoming(llvm::Constant::getNullValue(Value->getType()), CastNull);
418 Value = PHI;
1970 // Enter the loop, setting up a phi for the current location to initialize.