Lines Matching defs:cast

47   return llvm::ConstantPointerNull::get(cast<llvm::PointerType>(type));
94 // and cast value to correct type
129 DLE = cast<ObjCDictionaryLiteral>(E);
141 cast<llvm::LoadInst>(Ptr)->setMetadata(
679 GetAddrOfLocalVar(cast<ObjCMethodDecl>(CurCodeDecl)->getSelfDecl());
686 const ObjCMethodDecl *OMD = cast<ObjCMethodDecl>(CurFuncDecl);
707 GetAddrOfLocalVar(cast<ObjCMethodDecl>(CurCodeDecl)->getSelfDecl());
724 const ObjCMethodDecl *method = cast<ObjCMethodDecl>(CGF.CurCodeDecl);
726 const ObjCImplDecl *impl = cast<ObjCImplDecl>(method->getDeclContext());
812 EmitCompoundStmtWithoutScope(*cast<CompoundStmt>(OMD->getBody()));
1587 // Objective-C pointer types, we can always bit cast the RHS in these cases.
1721 ObjCIvarDecl *Ivar = cast<ObjCIvarDecl>(Field);
1745 VarDecl *Self = cast<ObjCMethodDecl>(CurFuncDecl)->getSelfDecl();
1753 const ObjCMethodDecl *OMD = cast<ObjCMethodDecl>(CurFuncDecl);
1755 const ObjCObjectPointerType *PTy = cast<ObjCObjectPointerType>(
1779 variable = EmitAutoVarAlloca(*cast<VarDecl>(SD->getSingleDecl()));
1930 const VarDecl *D = cast<VarDecl>(SD->getSingleDecl());
1941 elementType = cast<Expr>(S.getElement())->getType();
1961 // Before using an item from the collection, check that the implicit cast
2001 elementLValue = EmitLValue(cast<Expr>(S.getElement()));
2069 elementLValue = EmitLValue(cast<Expr>(S.getElement()));
2317 = cast<llvm::CallInst>(result->stripPointerCasts());
2394 auto *oldCall = cast<llvm::CallBase>(value);
2937 cast<BinaryOperator>(e)->getOpcode() == BO_Assign)
3066 if (const CastExpr *cast = dyn_cast<CastExpr>(e)) {
3067 switch (cast->getCastKind()) {
3078 return shouldEmitSeparateBlockRetain(cast->getSubExpr());
3323 !cast<ObjCMessageExpr>(e)->isDelegateInitCall())) {
3645 const CompoundStmt &S = cast<CompoundStmt>(*subStmt);
3774 CallExpr *CalleeExp = cast<CallExpr>(PID->getSetterCXXAssignment());
3868 cast<CXXConstructExpr>(PID->getGetterCXXConstructor());
4070 cast<llvm::Function>(CFLinkCheckFuncRef.getCallee()->stripPointerCasts());