Searched refs:CE (Results 1 - 11 of 11) sorted by relevance
/frameworks/compile/slang/ |
H A D | slang_rs_foreach_lowering.cpp | 96 clang::CallExpr* CE, int* slot, bool* hasOptions) { 97 const clang::Decl* D = CE->getCalleeDecl(); 115 mCtxt->ReportError(CE->getExprLoc(), 120 clang::Expr* arg0 = CE->getArg(0); 133 mCtxt->ReportError(CE->getExprLoc(), 221 void RSForEachLowering::VisitCallExpr(clang::CallExpr* CE) { argument 224 const clang::FunctionDecl* kernel = matchKernelLaunchCall(CE, &slot, &hasOptions); 231 const unsigned numArgsOrig = CE->getNumArgs(); 243 CE->getExprLoc(), 250 CE 95 matchKernelLaunchCall( clang::CallExpr* CE, int* slot, bool* hasOptions) argument [all...] |
H A D | slang_rs_check_ast.h | 62 void VisitCallExpr(clang::CallExpr *CE); 64 void VisitCastExpr(clang::CastExpr *CE);
|
H A D | slang_rs_foreach_lowering.h | 44 void VisitCallExpr(clang::CallExpr *CE); 56 const clang::FunctionDecl* matchKernelLaunchCall(clang::CallExpr* CE,
|
H A D | slang_rs_check_ast.cpp | 263 void RSCheckAST::VisitCastExpr(clang::CastExpr *CE) { argument 264 if (CE->getCastKind() == clang::CK_BitCast) { 265 clang::QualType QT = CE->getType(); 268 if (llvm::isa<clang::ImplicitCastExpr>(CE)) { 269 Context->ReportError(CE->getExprLoc(), "invalid implicit vector cast"); 271 Context->ReportError(CE->getExprLoc(), "invalid vector cast"); 276 Visit(CE->getSubExpr());
|
H A D | slang_rs_object_ref_count.h | 199 void VisitCallExpr(clang::CallExpr *CE);
|
H A D | slang_rs_object_ref_count.cpp | 1426 void RSObjectRefCount::VisitCallExpr(clang::CallExpr* CE) { argument 1428 const clang::FunctionDecl* FD = CE->getDirectCallee(); 1437 const clang::Expr* Callee = CE->getCallee(); 1459 clang::SourceLocation Loc = CE->getSourceRange().getBegin(); 1474 TempVarDecl->setInit(CE); 1501 getCurrentScope()->ReplaceExpr(mCtx, CE, CastExpr);
|
/frameworks/compile/slang/BitWriter_2_9/ |
H A D | BitcodeWriter.cpp | 938 } else if (const ConstantExpr *CE = dyn_cast<ConstantExpr>(C)) { 939 switch (CE->getOpcode()) { 941 if (Instruction::isCast(CE->getOpcode())) { 943 Record.push_back(GetEncodedCastOpcode(CE->getOpcode())); 948 assert(CE->getNumOperands() == 2 && "Unknown constant expr!"); 950 Record.push_back(GetEncodedBinaryOpcode(CE->getOpcode())); 953 uint64_t Flags = GetOptimizationFlags(CE); 962 for (unsigned i = 0, e = CE->getNumOperands(); i != e; ++i) { 1006 Record.push_back(CE->getPredicate());
|
/frameworks/compile/slang/BitWriter_2_9_func/ |
H A D | BitcodeWriter.cpp | 936 } else if (const ConstantExpr *CE = dyn_cast<ConstantExpr>(C)) { 937 switch (CE->getOpcode()) { 939 if (Instruction::isCast(CE->getOpcode())) { 941 Record.push_back(GetEncodedCastOpcode(CE->getOpcode())); 946 assert(CE->getNumOperands() == 2 && "Unknown constant expr!"); 948 Record.push_back(GetEncodedBinaryOpcode(CE->getOpcode())); 951 uint64_t Flags = GetOptimizationFlags(CE); 960 for (unsigned i = 0, e = CE->getNumOperands(); i != e; ++i) { 1004 Record.push_back(CE->getPredicate());
|
/frameworks/compile/slang/BitWriter_3_2/ |
H A D | BitcodeWriter.cpp | 968 } else if (const ConstantExpr *CE = dyn_cast<ConstantExpr>(C)) { 969 switch (CE->getOpcode()) { 971 if (Instruction::isCast(CE->getOpcode())) { 973 Record.push_back(GetEncodedCastOpcode(CE->getOpcode())); 978 assert(CE->getNumOperands() == 2 && "Unknown constant expr!"); 980 Record.push_back(GetEncodedBinaryOpcode(CE->getOpcode())); 983 uint64_t Flags = GetOptimizationFlags(CE); 992 for (unsigned i = 0, e = CE->getNumOperands(); i != e; ++i) { 1036 Record.push_back(CE->getPredicate());
|
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/ |
H A D | BitcodeReader.cpp | 1546 auto &CE = cast<ConstantExpr>(C); 1547 assert(CE.getOpcode() == Instruction::BitCast || 1548 CE.getOpcode() == Instruction::GetElementPtr || 1549 CE.getOpcode() == Instruction::AddrSpaceCast); 1550 if (CE.getOpcode() == Instruction::GetElementPtr) 1551 assert(cast<GEPOperator>(CE).hasAllZeroIndices()); 1552 return getGlobalObjectInExpr(Map, *CE.getOperand(0));
|
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/ |
H A D | BitcodeReader.cpp | 1839 auto &CE = cast<ConstantExpr>(C); 1840 assert(CE.getOpcode() == Instruction::BitCast || 1841 CE.getOpcode() == Instruction::GetElementPtr || 1842 CE.getOpcode() == Instruction::AddrSpaceCast); 1843 if (CE.getOpcode() == Instruction::GetElementPtr) 1844 assert(cast<GEPOperator>(CE).hasAllZeroIndices()); 1845 return getGlobalObjectInExpr(Map, *CE.getOperand(0));
|
Completed in 4516 milliseconds