Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:Cast

44   return llvm::ConstantPointerNull::get(cast<llvm::PointerType>(type));
92 // and cast value to correct type
103 // Cast type encoding to correct type
106 llvm::Value *Cast = Builder.CreateBitCast(GV, ConvertType(EncodingQT));
108 Args.add(RValue::get(Cast), EncodingQT);
126 DLE = cast<ObjCDictionaryLiteral>(E);
138 cast<llvm::LoadInst>(Ptr)->setMetadata(
279 // We have applied a substitution. Cast the rvalue appropriately.
677 GetAddrOfLocalVar(cast<ObjCMethodDecl>(CurCodeDecl)->getSelfDecl());
684 const ObjCMethodDecl *OMD = cast<ObjCMethodDecl>(CurFuncDecl);
705 GetAddrOfLocalVar(cast<ObjCMethodDecl>(CurCodeDecl)->getSelfDecl());
722 const ObjCMethodDecl *method = cast<ObjCMethodDecl>(CGF.CurCodeDecl);
724 const ObjCImplDecl *impl = cast<ObjCImplDecl>(method->getDeclContext());
809 EmitCompoundStmtWithoutScope(*cast<CompoundStmt>(OMD->getBody()));
1438 // Cast both arguments to the chosen operation type.
1540 // Objective-C pointer types, we can always bit cast the RHS in these cases.
1668 ObjCIvarDecl *Ivar = cast<ObjCIvarDecl>(Field);
1692 VarDecl *Self = cast<ObjCMethodDecl>(CurFuncDecl)->getSelfDecl();
1700 const ObjCMethodDecl *OMD = cast<ObjCMethodDecl>(CurFuncDecl);
1702 const ObjCObjectPointerType *PTy = cast<ObjCObjectPointerType>(
1726 variable = EmitAutoVarAlloca(*cast<VarDecl>(SD->getSingleDecl()));
1881 const VarDecl *D = cast<VarDecl>(SD->getSingleDecl());
1892 elementType = cast<Expr>(S.getElement())->getType();
1912 // Before using an item from the collection, check that the implicit cast
1945 // Cast that value to the right type.
1952 elementLValue = EmitLValue(cast<Expr>(S.getElement()));
2020 elementLValue = EmitLValue(cast<Expr>(S.getElement()));
2124 // Cast the argument to 'id'.
2132 // Cast the result back to the original type.
2146 // Cast the argument to 'id*'.
2153 // Cast the result back to a dereference of the original type.
2228 // Cast the argument to 'id'.
2241 // Cast the result back to the original type.
2282 = cast<llvm::CallInst>(result->stripPointerCasts());
2349 auto *oldCall = cast<llvm::CallBase>(value);
2407 // Cast the argument to 'id'.
2609 // Cast the argument to 'id*'.
2813 // Cast the argument to 'id'.
2913 cast<BinaryOperator>(e)->getOpcode() == BO_Assign)
3038 if (const CastExpr *cast = dyn_cast<CastExpr>(e)) {
3039 switch (cast->getCastKind()) {
3050 return shouldEmitSeparateBlockRetain(cast->getSubExpr());
3295 !cast<ObjCMessageExpr>(e)->isDelegateInitCall())) {
3616 const CompoundStmt &S = cast<CompoundStmt>(*subStmt);
3729 CallExpr *CalleeExp = cast<CallExpr>(PID->getSetterCXXAssignment());
3809 cast<CXXConstructExpr>(PID->getGetterCXXConstructor());
4001 cast<llvm::Function>(CFLinkCheckFuncRef.getCallee()->stripPointerCasts());