| /src/external/bsd/atf/dist/atf-c/detail/ |
| test_helpers.h | 43 #define CE(stm) ATF_CHECK(!atf_is_error(stm))
|
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
| CanonicalizeAliases.cpp | 52 auto *CE = dyn_cast<ConstantExpr>(C); 53 if (!CE) 57 for (Use &U : CE->operands()) 59 return CE->getWithOperands(Ops);
|
| Evaluator.cpp | 83 ConstantExpr *CE = cast<ConstantExpr>(C); 84 switch (CE->getOpcode()) { 87 return isSimpleEnoughValueToCommit(CE->getOperand(0), SimpleConstants, DL); 93 if (DL.getTypeSizeInBits(CE->getType()) != 94 DL.getTypeSizeInBits(CE->getOperand(0)->getType())) 96 return isSimpleEnoughValueToCommit(CE->getOperand(0), SimpleConstants, DL); 100 for (unsigned i = 1, e = CE->getNumOperands(); i != e; ++i) 101 if (!isa<ConstantInt>(CE->getOperand(i))) 103 return isSimpleEnoughValueToCommit(CE->getOperand(0), SimpleConstants, DL); 107 if (!isa<ConstantInt>(CE->getOperand(1)) [all...] |
| /src/tests/lib/libc/sys/ |
| t_posix_fadvise.c | 106 #define CE(x, exp) \ 114 CE(posix_fadvise(fd, 0, 0, -1), EINVAL); 115 CE(posix_fadvise(pipe_fds[0], 0, 0, POSIX_FADV_NORMAL), ESPIPE); 116 CE(posix_fadvise(badfd, 0, 0, POSIX_FADV_NORMAL), EBADF); 117 CE(posix_fadvise(fd, 0, 0, POSIX_FADV_NORMAL), 0); 118 CE(posix_fadvise(fd, 0, 0, POSIX_FADV_SEQUENTIAL), 0); 119 CE(posix_fadvise(fd, 0, 0, POSIX_FADV_RANDOM), 0); 120 CE(posix_fadvise(fd, 0, 0, POSIX_FADV_WILLNEED), 0); 121 CE(posix_fadvise(fd, 0, 0, POSIX_FADV_DONTNEED), 0); 122 CE(posix_fadvise(fd, 0, 0, POSIX_FADV_NOREUSE), 0) [all...] |
| /src/external/apache2/llvm/dist/clang/lib/Analysis/ |
| CFGStmtMap.cpp | 51 const CFGElement &CE = *I; 52 Optional<CFGStmt> CS = CE.getAs<CFGStmt>();
|
| LiveVariables.cpp | 233 CXXMemberCallExpr *CE = cast<CXXMemberCallExpr>(S); 234 if (Expr *ImplicitObj = CE->getImplicitObjectArgument()) { 241 ObjCMessageExpr *CE = cast<ObjCMessageExpr>(S); 242 if (CE->getReceiverKind() == ObjCMessageExpr::SuperInstance)
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/XCore/MCTargetDesc/ |
| XCoreInstPrinter.cpp | 57 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(BE->getRHS()); 58 assert(SRE && CE && "Binary expression must be sym+const."); 59 Offset = CE->getValue();
|
| /src/external/apache2/llvm/dist/llvm/tools/llvm-cov/ |
| CoverageSummaryInfo.cpp | 41 auto CE = CM.getCoverageForExpansion(Expansion); 42 sumBranches(NumBranches, CoveredBranches, CE.getBranches()); 43 sumBranchExpansions(NumBranches, CoveredBranches, CM, CE.getExpansions());
|
| /src/external/apache2/llvm/dist/llvm/tools/llvm-mca/Views/ |
| InstructionInfoView.h | 55 CodeEmitter &CE; 76 : InstructionView(ST, IP, S), MCII(II), CE(C),
|
| /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
| BuiltinFunctionChecker.cpp | 41 const Expr *CE = Call.getOriginExpr(); 77 C.addTransition(state->BindExpr(CE, LCtx, Arg)); 86 RM.getAllocaRegion(CE, C.blockCount(), C.getLocationContext()); 98 C.addTransition(state->BindExpr(CE, LCtx, loc::MemRegionVal(R))); 110 if (CE->EvaluateAsInt(EVResult, C.getASTContext(), Expr::SE_NoSideEffects)) { 114 BVF.getAPSIntType(CE->getType()).apply(Result); 123 V = SVB.makeIntVal(0, CE->getType()); 126 C.addTransition(state->BindExpr(CE, LCtx, V));
|
| DebugContainerModeling.cpp | 33 void analyzerContainerDataField(const CallExpr *CE, CheckerContext &C, 35 void analyzerContainerBegin(const CallExpr *CE, CheckerContext &C) const; 36 void analyzerContainerEnd(const CallExpr *CE, CheckerContext &C) const; 65 const auto *CE = dyn_cast_or_null<CallExpr>(Call.getOriginExpr()); 66 if (!CE) 73 (this->**Handler)(CE, C); 78 void DebugContainerModeling::analyzerContainerDataField(const CallExpr *CE, 81 if (CE->getNumArgs() == 0) { 87 const MemRegion *Cont = C.getSVal(CE->getArg(0)).getAsRegion(); 93 State = State->BindExpr(CE, C.getLocationContext() [all...] |
| DebugIteratorModeling.cpp | 33 void analyzerIteratorDataField(const CallExpr *CE, CheckerContext &C, 35 void analyzerIteratorPosition(const CallExpr *CE, CheckerContext &C) const; 36 void analyzerIteratorContainer(const CallExpr *CE, CheckerContext &C) const; 37 void analyzerIteratorValidity(const CallExpr *CE, CheckerContext &C) const; 68 const auto *CE = dyn_cast_or_null<CallExpr>(Call.getOriginExpr()); 69 if (!CE) 76 (this->**Handler)(CE, C); 81 void DebugIteratorModeling::analyzerIteratorDataField(const CallExpr *CE, 85 if (CE->getNumArgs() == 0) { 91 SVal V = C.getSVal(CE->getArg(0)) [all...] |
| AnalyzerStatsChecker.cpp | 119 const CoreEngine &CE = Eng.getCoreEngine(); 120 for (ExhaustedIterator I = CE.blocks_exhausted_begin(), 121 E = CE.blocks_exhausted_end(); I != E; ++I) { 126 const CFGElement &CE = Exit->front(); 127 if (Optional<CFGStmt> CS = CE.getAs<CFGStmt>()) {
|
| STLAlgorithmModeling.cpp | 27 bool evalFind(CheckerContext &C, const CallExpr *CE) const; 29 void Find(CheckerContext &C, const CallExpr *CE, unsigned paramNum) const; 70 const auto *CE = dyn_cast_or_null<CallExpr>(Call.getOriginExpr()); 71 if (!CE) 78 return (this->**Handler)(C, CE); 82 const CallExpr *CE) const { 87 if (!isIteratorType(CE->getArg(1)->getType())) 92 if (isIteratorType(CE->getArg(0)->getType())) { 93 Find(C, CE, 0); 99 if (isIteratorType(CE->getArg(2)->getType())) [all...] |
| VirtualCallChecker.cpp | 63 static bool isVirtualCall(const CallExpr *CE) { 66 if (const MemberExpr *CME = dyn_cast<MemberExpr>(CE->getCallee())) { 80 dyn_cast_or_null<CXXMethodDecl>(CE->getDirectCallee()); 110 const auto *CE = cast<CallExpr>(Call.getOriginExpr()); 111 if (!isVirtualCall(CE)) 158 CE->getBeginLoc(), MD->getParent()->getNameAsString() + "::");
|
| ExprInspectionChecker.cpp | 37 void analyzerEval(const CallExpr *CE, CheckerContext &C) const; 38 void analyzerCheckInlined(const CallExpr *CE, CheckerContext &C) const; 39 void analyzerWarnIfReached(const CallExpr *CE, CheckerContext &C) const; 40 void analyzerNumTimesReached(const CallExpr *CE, CheckerContext &C) const; 41 void analyzerCrash(const CallExpr *CE, CheckerContext &C) const; 42 void analyzerWarnOnDeadSymbol(const CallExpr *CE, CheckerContext &C) const; 43 void analyzerDump(const CallExpr *CE, CheckerContext &C) const; 44 void analyzerExplain(const CallExpr *CE, CheckerContext &C) const; 45 void analyzerPrintState(const CallExpr *CE, CheckerContext &C) const; 46 void analyzerGetExtent(const CallExpr *CE, CheckerContext &C) const [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/ARC/MCTargetDesc/ |
| ARCInstPrinter.cpp | 112 if (const auto *CE = dyn_cast<MCConstantExpr>(Expr)) { 114 OS.write_hex(CE->getValue()); 120 const auto *CE = dyn_cast<MCConstantExpr>(BE->getRHS()); 121 assert(SRE && CE && "Binary expression must be sym+const."); 122 Offset = CE->getValue();
|
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/ |
| GlobalOpt.cpp | 240 } else if (ConstantExpr *CE = dyn_cast<ConstantExpr>(U)) { 241 if (CE->use_empty()) { 242 CE->destroyConstant(); 310 } else if (ConstantExpr *CE = dyn_cast<ConstantExpr>(U)) { 311 if (CE->getOpcode() == Instruction::GetElementPtr) { 315 Init, CE, V->getType()->getPointerElementType(), DL); 316 Changed |= CleanupConstantGlobalUsers(CE, SubInit, DL, GetTLI); 317 } else if ((CE->getOpcode() == Instruction::BitCast && 318 CE->getType()->isPointerTy()) || 319 CE->getOpcode() == Instruction::AddrSpaceCast) [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/XCore/ |
| XCoreLowerThreadLocal.cpp | 79 static bool replaceConstantExprOp(ConstantExpr *CE, Pass *P) { 81 SmallVector<WeakTrackingVH, 8> WUsers(CE->users()); 88 if (PN->getIncomingValue(I) == CE) { 93 Instruction *NewInst = createReplacementInstr(CE, InsertPos); 97 Instruction *NewInst = createReplacementInstr(CE, Instr); 98 Instr->replaceUsesOfWith(CE, NewInst); 105 } while (CE->hasNUsesOrMore(1)); // We need to check because a recursive 106 // sibling may have used 'CE' when createReplacementInstr was called. 107 CE->destroyConstant(); 118 ConstantExpr *CE = dyn_cast<ConstantExpr>(WU) [all...] |
| /src/games/backgammon/common_source/ |
| fancy.c | 60 static char *CE; /* clear to end of line sequence */ 83 static char **tstr[] = {&BC, &CD, &CE, &CL, &CM, &HO, &MC, &ML, &ND, &UP}; 687 if (CE) { 688 tputs(CE, 1, addbuf);
|
| /src/usr.sbin/makefs/cd9660/ |
| iso9660_rrip.c | 83 * See if we need a CE record, and set all of the 134 * CE (continuation area) 141 /* Handle CE counters */ 156 t->attr.su_entry.CE.ca_sector); 161 t->attr.su_entry.CE.ca_sector); 163 t->attr.su_entry.CE.offset); 165 t->attr.su_entry.CE.length); 209 struct ISO_SUSP_ATTRIBUTES *temp, *pre_ce, *last, *CE, *ST; 235 * could insert a "CE" entry. 242 /* A CE entry is needed * [all...] |
| /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/ |
| SValBuilder.cpp | 347 const auto *CE = cast<CastExpr>(E); 348 switch (CE->getCastKind()) { 355 const Expr *SE = CE->getSubExpr(); 359 return evalCast(*Val, CE->getType(), SE->getType());
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/IPO/ |
| IROutliner.h | 101 CodeExtractor *CE = nullptr;
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
| AMDGPUMCInstLower.cpp | 232 auto *CE = dyn_cast<ConstantExpr>(CV); 237 if (CE && CE->getOpcode() == Instruction::AddrSpaceCast) { 238 auto Op = CE->getOperand(0); 241 auto DstAddr = CE->getType()->getPointerAddressSpace();
|
| /src/external/apache2/llvm/dist/llvm/tools/llvm-mc/ |
| llvm-mc.cpp | 503 std::unique_ptr<MCCodeEmitter> CE; 505 CE.reset(TheTarget->createMCCodeEmitter(*MCII, *MRI, Ctx)); 513 std::move(CE), std::move(MAB), ShowInst)); 525 MCCodeEmitter *CE = TheTarget->createMCCodeEmitter(*MCII, *MRI, Ctx); 531 std::unique_ptr<MCCodeEmitter>(CE), *STI, MCOptions.MCRelaxAll,
|