/external/clang/lib/StaticAnalyzer/Checkers/ |
BuiltinFunctionChecker.cpp | 27 bool evalCall(const CallExpr *CE, CheckerContext &C) const; 32 bool BuiltinFunctionChecker::evalCall(const CallExpr *CE, 35 const FunctionDecl *FD = C.getCalleeDecl(CE); 52 assert (CE->arg_begin() != CE->arg_end()); 53 SVal X = state->getSVal(*(CE->arg_begin()), LCtx); 54 C.addTransition(state->BindExpr(CE, LCtx, X)); 62 RM.getAllocaRegion(CE, C.blockCount(), C.getLocationContext()); 68 state->getSVal(*(CE->arg_begin()), LCtx).castAs<DefinedOrUnknownSVal>(); 77 C.addTransition(state->BindExpr(CE, LCtx, loc::MemRegionVal(R))) [all...] |
ExprInspectionChecker.cpp | 23 void analyzerEval(const CallExpr *CE, CheckerContext &C) const; 24 void analyzerCheckInlined(const CallExpr *CE, CheckerContext &C) const; 25 void analyzerWarnIfReached(const CallExpr *CE, CheckerContext &C) const; 26 void analyzerCrash(const CallExpr *CE, CheckerContext &C) const; 27 void analyzerWarnOnDeadSymbol(const CallExpr *CE, CheckerContext &C) const; 33 bool evalCall(const CallExpr *CE, CheckerContext &C) const; 40 bool ExprInspectionChecker::evalCall(const CallExpr *CE, 44 FnCheck Handler = llvm::StringSwitch<FnCheck>(C.getCalleeName(CE)) 58 (this->*Handler)(CE, C); 62 static const char *getArgumentValueString(const CallExpr *CE, [all...] |
UnixAPIChecker.cpp | 37 void checkPreStmt(const CallExpr *CE, CheckerContext &C) const; 39 void CheckOpen(CheckerContext &C, const CallExpr *CE) const; 40 void CheckPthreadOnce(CheckerContext &C, const CallExpr *CE) const; 41 void CheckCallocZero(CheckerContext &C, const CallExpr *CE) const; 42 void CheckMallocZero(CheckerContext &C, const CallExpr *CE) const; 43 void CheckReallocZero(CheckerContext &C, const CallExpr *CE) const; 44 void CheckReallocfZero(CheckerContext &C, const CallExpr *CE) const; 45 void CheckAllocaZero(CheckerContext &C, const CallExpr *CE) const; 46 void CheckVallocZero(CheckerContext &C, const CallExpr *CE) const; 56 const CallExpr *CE, [all...] |
PthreadLockChecker.cpp | 64 void checkPostStmt(const CallExpr *CE, CheckerContext &C) const; 66 void AcquireLock(CheckerContext &C, const CallExpr *CE, SVal lock, 69 void ReleaseLock(CheckerContext &C, const CallExpr *CE, SVal lock) const; 70 void DestroyLock(CheckerContext &C, const CallExpr *CE, SVal Lock) const; 71 void InitLock(CheckerContext &C, const CallExpr *CE, SVal Lock) const; 72 void reportUseDestroyedBug(CheckerContext &C, const CallExpr *CE) const; 81 void PthreadLockChecker::checkPostStmt(const CallExpr *CE, 85 StringRef FName = C.getCalleeName(CE); 89 if (CE->getNumArgs() != 1 && CE->getNumArgs() != 2 [all...] |
GenericTaintChecker.cpp | 36 void checkPostStmt(const CallExpr *CE, CheckerContext &C) const; 38 void checkPreStmt(const CallExpr *CE, CheckerContext &C) const; 53 bool checkPre(const CallExpr *CE, CheckerContext &C) const; 56 void addSourcesPre(const CallExpr *CE, CheckerContext &C) const; 59 bool propagateFromPre(const CallExpr *CE, CheckerContext &C) const; 62 void addSourcesPost(const CallExpr *CE, CheckerContext &C) const; 75 ProgramStateRef postScanf(const CallExpr *CE, CheckerContext &C) const; 76 ProgramStateRef postSocket(const CallExpr *CE, CheckerContext &C) const; 77 ProgramStateRef postRetTaint(const CallExpr *CE, CheckerContext &C) const; 80 ProgramStateRef preFscanf(const CallExpr *CE, CheckerContext &C) const [all...] |
StreamChecker.cpp | 76 bool evalCall(const CallExpr *CE, CheckerContext &C) const; 80 void Fopen(CheckerContext &C, const CallExpr *CE) const; 81 void Tmpfile(CheckerContext &C, const CallExpr *CE) const; 82 void Fclose(CheckerContext &C, const CallExpr *CE) const; 83 void Fread(CheckerContext &C, const CallExpr *CE) const; 84 void Fwrite(CheckerContext &C, const CallExpr *CE) const; 85 void Fseek(CheckerContext &C, const CallExpr *CE) const; 86 void Ftell(CheckerContext &C, const CallExpr *CE) const; 87 void Rewind(CheckerContext &C, const CallExpr *CE) const; 88 void Fgetpos(CheckerContext &C, const CallExpr *CE) const [all...] |
CStringSyntaxChecker.cpp | 57 if (const CallExpr *CE = dyn_cast<CallExpr>(E)) { 58 const FunctionDecl *FD = CE->getDirectCallee(); 62 sameDecl(CE->getArg(0), WithArg)); 82 bool containsBadStrncatPattern(const CallExpr *CE); 93 void VisitCallExpr(CallExpr *CE); 103 bool WalkAST::containsBadStrncatPattern(const CallExpr *CE) { 104 if (CE->getNumArgs() != 3) 106 const Expr *DstArg = CE->getArg(0); 107 const Expr *SrcArg = CE->getArg(1); 108 const Expr *LenArg = CE->getArg(2) [all...] |
VirtualCallChecker.cpp | 113 void VisitCallExpr(CallExpr *CE); 114 void VisitCXXMemberCallExpr(CallExpr *CE); 118 void ReportVirtualCall(const CallExpr *CE, bool isPure); 133 void WalkAST::VisitCallExpr(CallExpr *CE) { 134 VisitChildren(CE); 135 Enqueue(CE); 138 void WalkAST::VisitCXXMemberCallExpr(CallExpr *CE) { 139 VisitChildren(CE); 143 if (MemberExpr *CME = dyn_cast<MemberExpr>(CE->getCallee())) { 162 const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(CE->getDirectCallee()) [all...] |
MacOSXAPIChecker.cpp | 37 void checkPreStmt(const CallExpr *CE, CheckerContext &C) const; 39 void CheckDispatchOnce(CheckerContext &C, const CallExpr *CE, 52 void MacOSXAPIChecker::CheckDispatchOnce(CheckerContext &C, const CallExpr *CE, 54 if (CE->getNumArgs() < 1) 61 state->getSVal(CE->getArg(0), C.getLocationContext()).getAsRegion(); 77 if (CE->getLocStart().isMacroID()) { 96 report->addRange(CE->getArg(0)->getSourceRange()); 104 void MacOSXAPIChecker::checkPreStmt(const CallExpr *CE, 106 StringRef Name = C.getCalleeName(CE); 119 (this->*SC)(C, CE, Name) [all...] |
ObjCContainersChecker.cpp | 54 void checkPostStmt(const CallExpr *CE, CheckerContext &C) const; 55 void checkPreStmt(const CallExpr *CE, CheckerContext &C) const; 85 void ObjCContainersChecker::checkPostStmt(const CallExpr *CE, 87 StringRef Name = C.getCalleeName(CE); 88 if (Name.empty() || CE->getNumArgs() < 1) 93 if (CE->getNumArgs() < 3) 98 addSizeInfo(CE, CE->getArg(2), C); 103 addSizeInfo(CE->getArg(0), CE, C) [all...] |
ChrootChecker.cpp | 54 bool evalCall(const CallExpr *CE, CheckerContext &C) const; 55 void checkPreStmt(const CallExpr *CE, CheckerContext &C) const; 58 void Chroot(CheckerContext &C, const CallExpr *CE) const; 59 void Chdir(CheckerContext &C, const CallExpr *CE) const; 64 bool ChrootChecker::evalCall(const CallExpr *CE, CheckerContext &C) const { 65 const FunctionDecl *FD = C.getCalleeDecl(CE); 76 Chroot(C, CE); 80 Chdir(C, CE); 87 void ChrootChecker::Chroot(CheckerContext &C, const CallExpr *CE) const { 97 void ChrootChecker::Chdir(CheckerContext &C, const CallExpr *CE) const [all...] |
CastToStructChecker.cpp | 30 void checkPreStmt(const CastExpr *CE, CheckerContext &C) const; 34 void CastToStructChecker::checkPreStmt(const CastExpr *CE, 36 const Expr *E = CE->getSubExpr(); 39 QualType ToTy = Ctx.getCanonicalType(CE->getType()); 67 R->addRange(CE->getSourceRange());
|
ObjCContainersASTChecker.cpp | 82 void VisitCallExpr(CallExpr *CE); 86 static StringRef getCalleeName(CallExpr *CE) { 87 const FunctionDecl *FD = CE->getDirectCallee(); 98 void WalkAST::VisitCallExpr(CallExpr *CE) { 99 StringRef Name = getCalleeName(CE); 107 if (CE->getNumArgs() != 4) 110 Arg = CE->getArg(ArgNum)->IgnoreParenCasts(); 114 if (CE->getNumArgs() != 6) 118 Arg = CE->getArg(ArgNum)->IgnoreParenCasts(); 122 Arg = CE->getArg(ArgNum)->IgnoreParenCasts() [all...] |
NoReturnFunctionChecker.cpp | 35 void checkPostCall(const CallEvent &CE, CheckerContext &C) const; 41 void NoReturnFunctionChecker::checkPostCall(const CallEvent &CE, 45 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(CE.getDecl())) 48 const Expr *Callee = CE.getOriginExpr(); 52 if (!BuildSinks && CE.isGlobalCFunction()) { 53 if (const IdentifierInfo *II = CE.getCalleeIdentifier()) {
|
CheckSecuritySyntaxOnly.cpp | 79 void VisitCallExpr(CallExpr *CE); 87 bool checkCall_strCommon(const CallExpr *CE, const FunctionDecl *FD); 93 void checkCall_gets(const CallExpr *CE, const FunctionDecl *FD); 94 void checkCall_getpw(const CallExpr *CE, const FunctionDecl *FD); 95 void checkCall_mktemp(const CallExpr *CE, const FunctionDecl *FD); 96 void checkCall_mkstemp(const CallExpr *CE, const FunctionDecl *FD); 97 void checkCall_strcpy(const CallExpr *CE, const FunctionDecl *FD); 98 void checkCall_strcat(const CallExpr *CE, const FunctionDecl *FD); 99 void checkCall_rand(const CallExpr *CE, const FunctionDecl *FD); 100 void checkCall_random(const CallExpr *CE, const FunctionDecl *FD) [all...] |
CStringChecker.cpp | 62 bool evalCall(const CallExpr *CE, CheckerContext &C) const; 78 void evalMemcpy(CheckerContext &C, const CallExpr *CE) const; 79 void evalMempcpy(CheckerContext &C, const CallExpr *CE) const; 80 void evalMemmove(CheckerContext &C, const CallExpr *CE) const; 81 void evalBcopy(CheckerContext &C, const CallExpr *CE) const; 82 void evalCopyCommon(CheckerContext &C, const CallExpr *CE, 90 void evalMemcmp(CheckerContext &C, const CallExpr *CE) const; 92 void evalstrLength(CheckerContext &C, const CallExpr *CE) const; 93 void evalstrnLength(CheckerContext &C, const CallExpr *CE) const; 95 const CallExpr *CE, [all...] |
/external/llvm/lib/Target/X86/MCTargetDesc/ |
X86WinCOFFStreamer.cpp | 20 X86WinCOFFStreamer(MCContext &C, MCAsmBackend &AB, MCCodeEmitter *CE, 22 : MCWinCOFFStreamer(C, AB, *CE, OS) {} 53 MCCodeEmitter *CE, bool RelaxAll, 55 X86WinCOFFStreamer *S = new X86WinCOFFStreamer(C, AB, CE, OS);
|
/external/llvm/lib/Target/XCore/ |
XCoreLowerThreadLocal.cpp | 78 createReplacementInstr(ConstantExpr *CE, Instruction *Instr) { 80 unsigned OpCode = CE->getOpcode(); 83 SmallVector<Value *,4> CEOpVec(CE->op_begin(), CE->op_end()); 86 cast<GEPOperator>(CE)->getSourceElementType(), CEOps[0], 106 CE->getOperand(0), CE->getOperand(1), 107 CE->getName())); 122 CE->getOperand(0), CE->getType() [all...] |
/frameworks/compile/slang/ |
slang_rs_foreach_lowering.h | 44 void VisitCallExpr(clang::CallExpr *CE); 56 const clang::FunctionDecl* matchKernelLaunchCall(clang::CallExpr* CE,
|
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) { 224 const clang::FunctionDecl* kernel = matchKernelLaunchCall(CE, &slot, &hasOptions); 231 const unsigned numArgsOrig = CE->getNumArgs(); 243 CE->getExprLoc(), 250 CE->setCallee(calleeNew) [all...] |
slang_rs_check_ast.h | 62 void VisitCallExpr(clang::CallExpr *CE); 64 void VisitCastExpr(clang::CastExpr *CE);
|
/external/clang/unittests/Tooling/ |
RecursiveASTVisitorTestCallVisitor.cpp | 104 bool TraverseCXXOperatorCallExpr(CXXOperatorCallExpr *CE) { 105 Match(getOperatorSpelling(CE->getOperator()), CE->getExprLoc()); 107 TraverseCXXOperatorCallExpr(CE);
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/arm/ |
local_label_coff.d | 3 # This test is only valid on COFF based targets, except Windows CE. 4 # There are ELF and Windows CE versions of this test.
|
/external/llvm/lib/IR/ |
ConstantsContext.h | 183 static bool classof(const ConstantExpr *CE) { 184 return CE->getOpcode() == Instruction::ExtractValue; 216 static bool classof(const ConstantExpr *CE) { 217 return CE->getOpcode() == Instruction::InsertValue; 253 static bool classof(const ConstantExpr *CE) { 254 return CE->getOpcode() == Instruction::GetElementPtr; 282 static bool classof(const ConstantExpr *CE) { 283 return CE->getOpcode() == Instruction::ICmp || 284 CE->getOpcode() == Instruction::FCmp; 464 ConstantExprKeyType(ArrayRef<Constant *> Operands, const ConstantExpr *CE) [all...] |
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
ARMWinCOFFStreamer.cpp | 18 ARMWinCOFFStreamer(MCContext &C, MCAsmBackend &AB, MCCodeEmitter &CE, 20 : MCWinCOFFStreamer(C, AB, CE, OS) {}
|