Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DCGExprCXX.cpp1893 llvm::BasicBlock *CastNull = nullptr; in EmitDynamicCast() local
1898 CastNull = createBasicBlock("dynamic_cast.null"); in EmitDynamicCast()
1902 Builder.CreateCondBr(IsNull, CastNull, CastNotNull); in EmitDynamicCast()
1921 EmitBlock(CastNull); in EmitDynamicCast()
1930 PHI->addIncoming(llvm::Constant::getNullValue(Value->getType()), CastNull); in EmitDynamicCast()
DCGClass.cpp387 llvm::BasicBlock *CastNull = nullptr; in GetAddressOfDerivedClass() local
392 CastNull = createBasicBlock("cast.null"); in GetAddressOfDerivedClass()
397 Builder.CreateCondBr(IsNull, CastNull, CastNotNull); in GetAddressOfDerivedClass()
412 EmitBlock(CastNull); in GetAddressOfDerivedClass()
418 PHI->addIncoming(llvm::Constant::getNullValue(Value->getType()), CastNull); in GetAddressOfDerivedClass()