Home
last modified time | relevance | path

Searched refs:CastNull (Results 1 – 4 of 4) 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()
/external/llvm-project/clang/lib/CodeGen/
DCGExprCXX.cpp2274 llvm::BasicBlock *CastNull = nullptr; in EmitDynamicCast() local
2279 CastNull = createBasicBlock("dynamic_cast.null"); in EmitDynamicCast()
2283 Builder.CreateCondBr(IsNull, CastNull, CastNotNull); in EmitDynamicCast()
2302 EmitBlock(CastNull); in EmitDynamicCast()
2311 PHI->addIncoming(llvm::Constant::getNullValue(Value->getType()), CastNull); in EmitDynamicCast()
DCGClass.cpp421 llvm::BasicBlock *CastNull = nullptr; in GetAddressOfDerivedClass() local
426 CastNull = createBasicBlock("cast.null"); in GetAddressOfDerivedClass()
431 Builder.CreateCondBr(IsNull, CastNull, CastNotNull); in GetAddressOfDerivedClass()
446 EmitBlock(CastNull); in GetAddressOfDerivedClass()
452 PHI->addIncoming(llvm::Constant::getNullValue(Value->getType()), CastNull); in GetAddressOfDerivedClass()