| /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/ |
| CallPromotionUtils.h | 30 bool isLegalToPromote(const CallBase &CB, Function *Callee, 40 CallBase &promoteCall(CallBase &CB, Function *Callee, 50 CallBase &promoteCallWithIfThenElse(CallBase &CB, Function *Callee, 74 bool tryPromoteCall(CallBase &CB);
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
| AMDGPUFixFunctionBitcasts.cpp | 35 void visitCallBase(CallBase &CB) { 36 if (CB.getCalledFunction()) 39 dyn_cast<Function>(CB.getCalledOperand()->stripPointerCasts()); 40 if (Callee && isLegalToPromote(CB, Callee)) { 41 promoteCall(CB, Callee);
|
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/CFGuard/ |
| CFGuard.cpp | 100 /// \param CB indirect call to instrument. 101 void insertCFGuardCheck(CallBase *CB); 141 /// \param CB indirect call to instrument. 142 void insertCFGuardDispatch(CallBase *CB); 158 void CFGuard::insertCFGuardCheck(CallBase *CB) { 160 assert(Triple(CB->getModule()->getTargetTriple()).isOSWindows() && 162 assert(CB->isIndirectCall() && 165 IRBuilder<> B(CB); 166 Value *CalledOperand = CB->getCalledOperand(); 182 void CFGuard::insertCFGuardDispatch(CallBase *CB) { [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
| AbstractCallSite.h | 59 /// site CB is the callback callee. The remaining elements map parameters 76 CallBase *CB; 100 /// Add operand uses of \p CB that represent callback uses into 105 static void getCallbackUses(const CallBase &CB, 109 explicit operator bool() const { return CB != nullptr; } 112 CallBase *getInstruction() const { return CB; } 116 return !isCallbackCall() && !CB->isIndirectCall(); 121 return !isCallbackCall() && CB->isIndirectCall(); 139 return CB->isCallee(U); 150 return (int)CB->getArgOperandNo(U) == CI.ParameterEncoding[0] [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
| ObjCARCUtil.h | 34 inline bool hasAttachedCallOpBundle(const CallBase *CB, bool IsRetain) { 35 auto B = CB->getOperandBundle(LLVMContext::OB_clang_arc_attachedcall); 42 inline bool hasAttachedCallOpBundle(const CallBase *CB) { 43 return CB->getOperandBundle(LLVMContext::OB_clang_arc_attachedcall)
|
| MLInlineAdvisor.h | 43 std::unique_ptr<InlineAdvice> getAdviceImpl(CallBase &CB) override; 45 std::unique_ptr<InlineAdvice> getMandatoryAdvice(CallBase &CB, 48 virtual std::unique_ptr<MLInlineAdvice> getMandatoryAdviceImpl(CallBase &CB); 51 getAdviceFromModel(CallBase &CB, OptimizationRemarkEmitter &ORE); 73 MLInlineAdvice(MLInlineAdvisor *Advisor, CallBase &CB, 75 : InlineAdvice(Advisor, CB, ORE, Recommendation),
|
| InlineAdvisor.h | 55 InlineAdvice(InlineAdvisor *Advisor, CallBase &CB, 102 // Capture the context of CB before inlining, as a successful inlining may 122 DefaultInlineAdvice(InlineAdvisor *Advisor, CallBase &CB, 125 : InlineAdvice(Advisor, CB, ORE, OIC.hasValue()), OriginalCB(&CB), 146 /// inline or not. \p CB is assumed to be a direct call. \p FAM is assumed to 151 std::unique_ptr<InlineAdvice> getAdvice(CallBase &CB, 166 virtual std::unique_ptr<InlineAdvice> getAdviceImpl(CallBase &CB) = 0; 167 virtual std::unique_ptr<InlineAdvice> getMandatoryAdvice(CallBase &CB, 189 static MandatoryInliningKind getMandatoryKind(CallBase &CB, [all...] |
| /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
| UnreachableCodeChecker.cpp | 39 static inline const Stmt *getUnreachableStmt(const CFGBlock *CB); 40 static void FindUnreachableEntryPoints(const CFGBlock *CB, 43 static bool isInvalidPath(const CFGBlock *CB, const ParentMap &PM); 44 static inline bool isEmptyCFGBlock(const CFGBlock *CB); 78 const CFGBlock *CB = BE->getBlock(); 79 reachable.insert(CB->getBlockID()); 96 const CFGBlock *CB = *I; 98 if (reachable.count(CB->getBlockID())) 102 if (isEmptyCFGBlock(CB)) 106 if (!visited.count(CB->getBlockID()) [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
| CallSiteSplitting.cpp | 88 static void addNonNullAttribute(CallBase &CB, Value *Op) { 90 for (auto &I : CB.args()) { 92 CB.addParamAttr(ArgNo, Attribute::NonNull); 97 static void setConstantInArgument(CallBase &CB, Value *Op, 100 for (auto &I : CB.args()) { 104 CB.removeParamAttr(ArgNo, Attribute::NonNull); 105 CB.setArgOperand(ArgNo, ConstValue); 111 static bool isCondRelevantToAnyCallArgument(ICmpInst *Cmp, CallBase &CB) { 115 for (auto I = CB.arg_begin(), E = CB.arg_end(); I != E; ++I, ++ArgNo) [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/IR/ |
| AbstractCallSite.cpp | 36 const CallBase &CB, SmallVectorImpl<const Use *> &CallbackUses) { 37 const Function *Callee = CB.getCalledFunction(); 50 if (CBCalleeIdx < CB.arg_size()) 51 CallbackUses.push_back(CB.arg_begin() + CBCalleeIdx); 57 : CB(dyn_cast<CallBase>(U->getUser())) { 60 if (!CB) { 65 // cast expression and afterwards re-initializing CB accordingly. 69 CB = dyn_cast<CallBase>(U->getUser()); 72 if (!CB) { 79 // call site CB it is not a callback and we are done [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/ |
| WebAssemblyOptimizeReturned.cpp | 45 void visitCallBase(CallBase &CB); 58 void OptimizeReturned::visitCallBase(CallBase &CB) { 59 for (unsigned I = 0, E = CB.getNumArgOperands(); I < E; ++I) 60 if (CB.paramHasAttr(I, Attribute::Returned)) { 61 Value *Arg = CB.getArgOperand(I); 66 Arg->replaceUsesWithIf(&CB, 67 [&](Use &U) { return DT->dominates(&CB, U); });
|
| /src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| InlineAdvisor.cpp | 76 CallBase &CB, FunctionAnalysisManager &FAM, const InlineParams &Params) { 77 Function &Caller = *CB.getCaller(); 81 *CB.getParent()->getParent()->getParent()); 94 auto GetInlineCost = [&](CallBase &CB) { 95 Function &Callee = *CB.getCalledFunction(); 100 return getInlineCost(CB, Params, CalleeTTI, GetAssumptionCache, GetTLI, 103 return llvm::shouldInline(CB, GetInlineCost, ORE, 108 DefaultInlineAdvisor::getAdviceImpl(CallBase &CB) { 109 auto OIC = getDefaultInlineAdvice(CB, FAM, Params); 111 this, CB, OIC [all...] |
| ReplayInlineAdvisor.cpp | 60 std::unique_ptr<InlineAdvice> ReplayInlineAdvisor::getAdviceImpl(CallBase &CB) { 63 Function &Caller = *CB.getCaller(); 67 return std::make_unique<DefaultInlineAdvice>(this, CB, None, ORE, 70 std::string CallSiteLoc = getCallSiteLocation(CB.getDebugLoc()); 71 StringRef Callee = CB.getCalledFunction()->getName(); 80 return std::make_unique<DefaultInlineAdvice>(this, CB, InlineRecommended, ORE,
|
| MLInlineAdvisor.cpp | 175 std::unique_ptr<InlineAdvice> MLInlineAdvisor::getAdviceImpl(CallBase &CB) { 176 auto &Caller = *CB.getCaller(); 177 auto &Callee = *CB.getCalledFunction(); 185 auto MandatoryKind = InlineAdvisor::getMandatoryKind(CB, FAM, ORE); 192 return getMandatoryAdvice(CB, false); 201 return OptimizationRemarkMissed(DEBUG_TYPE, "ForceStop", &CB) 204 return std::make_unique<InlineAdvice>(this, CB, ORE, Mandatory); 210 llvm::getInliningCostEstimate(CB, TIR, GetAssumptionCache); 215 return std::make_unique<InlineAdvice>(this, CB, ORE, false); 221 return getMandatoryAdvice(CB, true) [all...] |
| /src/external/apache2/llvm/dist/llvm/tools/opt/ |
| AnalysisWrappers.cpp | 42 CallBase *CB = dyn_cast<CallBase>(UI); 43 if (!CB) 46 for (auto AI = CB->arg_begin(), E = CB->arg_end(); AI != E; ++AI) {
|
| /src/external/gpl2/groff/font/devhtml/ |
| Makefile | 6 FONTS= R I B BI CR CI CB CBI S
|
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
| CallPromotionUtils.cpp | 162 static void createRetBitCast(CallBase &CB, Type *RetTy, CastInst **RetBitCast) { 166 SmallVector<User *, 16> UsersToUpdate(CB.users()); 171 if (auto *Invoke = dyn_cast<InvokeInst>(&CB)) 175 InsertBefore = &*std::next(CB.getIterator()); 178 auto *Cast = CastInst::CreateBitOrPointerCast(&CB, RetTy, "", InsertBefore); 184 U->replaceUsesOfWith(&CB, Cast); 282 static CallBase &versionCallSite(CallBase &CB, Value *Callee, 285 IRBuilder<> Builder(&CB); 286 CallBase *OrigInst = &CB; 291 if (CB.getCalledOperand()->getType() != Callee->getType() [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/ |
| AlwaysInliner.cpp | 62 if (auto *CB = dyn_cast<CallBase>(U)) 63 if (CB->getCalledFunction() == &F) 64 Calls.insert(CB); 66 for (CallBase *CB : Calls) { 67 Function *Caller = CB->getCaller(); 70 *CB, 71 [&](CallBase &CB) { 76 emitInlinedInto(ORE, CB->getDebugLoc(), CB->getParent(), F, *Caller, 81 &FAM.getResult<BlockFrequencyAnalysis>(*(CB->getCaller())) [all...] |
| InlineSimple.cpp | 54 InlineCost getInlineCost(CallBase &CB) override { 55 Function *Callee = CB.getCalledFunction(); 59 const auto &BBs = CB.getCaller()->getBasicBlockList(); 65 OptimizationRemarkEmitter ORE(CB.getCaller()); 71 return llvm::getInlineCost(CB, Params, TTI, GetAssumptionCache, GetTLI,
|
| DeadArgumentElimination.cpp | 179 CallBase *CB = dyn_cast<CallBase>(*I++); 180 if (!CB) 184 Args.assign(CB->arg_begin(), CB->arg_begin() + NumArgs); 187 AttributeList PAL = CB->getAttributes(); 197 CB->getOperandBundlesAsDefs(OpBundles); 200 if (InvokeInst *II = dyn_cast<InvokeInst>(CB)) { 202 Args, OpBundles, "", CB); 204 NewCB = CallInst::Create(NF, Args, OpBundles, "", CB); 206 cast<CallInst>(CB)->getTailCallKind()) [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/ |
| IndirectCallPromotion.cpp | 196 const CallBase &CB, const ArrayRef<InstrProfValueData> &ValueDataRef, 201 uint32_t tryToPromote(CallBase &CB, 221 const CallBase &CB, const ArrayRef<InstrProfValueData> &ValueDataRef, 225 LLVM_DEBUG(dbgs() << " \nWork on callsite #" << NumOfPGOICallsites << CB 241 if (ICPInvokeOnly && isa<CallInst>(CB)) { 244 return OptimizationRemarkMissed(DEBUG_TYPE, "UserOptions", &CB) 249 if (ICPCallOnly && isa<InvokeInst>(CB)) { 252 return OptimizationRemarkMissed(DEBUG_TYPE, "UserOptions", &CB) 260 return OptimizationRemarkMissed(DEBUG_TYPE, "CutOffReached", &CB) 277 return OptimizationRemarkMissed(DEBUG_TYPE, "UnableToFindTarget", &CB) [all...] |
| /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/ |
| MPIBugReporter.h | 27 MPIBugReporter(const CheckerBase &CB) { 28 UnmatchedWaitBugType.reset(new BugType(&CB, "Unmatched wait", MPIError)); 30 new BugType(&CB, "Double nonblocking", MPIError)); 31 MissingWaitBugType.reset(new BugType(&CB, "Missing wait", MPIError));
|
| /src/external/apache2/llvm/dist/clang/tools/libclang/ |
| CIndexInclusionStack.cpp | 23 CXInclusionVisitor CB, CXClientData clientData) { 62 CB(static_cast<CXFile>( 69 void clang_getInclusions(CXTranslationUnit TU, CXInclusionVisitor CB, 85 getInclusions(/*IsLocal=*/false, SM.loaded_sloc_entry_size(), TU, CB, 93 getInclusions(/*IsLocal=*/true, n, TU, CB, clientData);
|
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/Coroutines/ |
| CoroEarly.cpp | 27 void lowerResumeOrDestroy(CallBase &CB, CoroSubFnInst::ResumeKind); 46 void Lowerer::lowerResumeOrDestroy(CallBase &CB, 48 Value *ResumeAddr = makeSubFnCall(CB.getArgOperand(0), Index, &CB); 49 CB.setCalledOperand(ResumeAddr); 50 CB.setCallingConv(CallingConv::Fast); 144 if (auto *CB = dyn_cast<CoroBeginInst>(U)) 145 CB->setCannotDuplicate(); 154 if (auto *CB = dyn_cast<CallBase>(&I)) { 155 switch (CB->getIntrinsicID()) [all...] |
| /src/external/gpl2/groff/font/devlbp/ |
| Makefile | 10 TB TBI TI TR CR CB CI ER EB EI
|