Home
last modified time | relevance | path

Searched refs:CB (Results 1 - 25 of 60) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/CFGuard/
H A DCFGuard.cpp100 /// \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) { in insertCFGuardCheck() argument
160 assert(Triple(CB->getModule()->getTargetTriple()).isOSWindows() && in insertCFGuardCheck()
162 assert(CB->isIndirectCall() && in insertCFGuardCheck()
165 IRBuilder<> B(CB); in insertCFGuardCheck()
166 Value *CalledOperand = CB->getCalledOperand(); in insertCFGuardCheck()
182 void CFGuard::insertCFGuardDispatch(CallBase *CB) { in insertCFGuardDispatch() argument
269 auto *CB = dyn_cast<CallBase>(&I); runOnFunction() local
[all...]
/third_party/ffmpeg/libavfilter/
H A Dvf_colormatrix.c41 #define CB(n) av_clip_uint8(n) macro
231 dstp[x + 0] = CB((c4 * u + c5 * v + 8421376) >> 16); in process_slice_uyvy422()
232 dstp[x + 1] = CB((65536 * (srcp[x + 1] - 16) + uvval) >> 16); in process_slice_uyvy422()
233 dstp[x + 2] = CB((c6 * u + c7 * v + 8421376) >> 16); in process_slice_uyvy422()
234 dstp[x + 3] = CB((65536 * (srcp[x + 3] - 16) + uvval) >> 16); in process_slice_uyvy422()
275 dstpY[x] = CB((65536 * (srcpY[x] - 16) + uvval) >> 16); in process_slice_yuv444p()
276 dstpU[x] = CB((c4 * u + c5 * v + 8421376) >> 16); in process_slice_yuv444p()
277 dstpV[x] = CB((c6 * u + c7 * v + 8421376) >> 16); in process_slice_yuv444p()
322 dstpY[x + 0] = CB((65536 * (srcpY[x + 0] - 16) + uvval) >> 16); in process_slice_yuv422p()
323 dstpY[x + 1] = CB((6553 in process_slice_yuv422p()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/
H A DCoroElide.cpp135 for (auto *CB : CoroBegins) { in elideHeapAllocations()
136 CB->replaceAllUsesWith(FrameVoidPtr); in elideHeapAllocations()
137 CB->eraseFromParent(); in elideHeapAllocations()
179 if (auto *CB = dyn_cast<CoroBeginInst>(DA->getFrame())) in shouldElide()
180 ReferencedCoroBegins.insert(CB); in shouldElide()
201 if (auto *CB = dyn_cast<CoroBeginInst>(U)) in processCoroId()
202 CoroBegins.push_back(CB); in processCoroId()
213 for (CoroBeginInst *CB : CoroBegins) { in processCoroId()
214 for (User *U : CB->users()) in processCoroId()
H A DCoroFrame.cpp496 const CoroBeginInst &CB) in AllocaUseVisitor()
497 : PtrUseVisitor(DL), DT(DT), CoroBegin(CB) {} in AllocaUseVisitor()
525 const CoroBeginInst &CB) { in mightWriteIntoAllocaPtr()
527 AllocaUseVisitor Visitor(DL, DT, CB); in mightWriteIntoAllocaPtr()
587 auto *CB = Shape.CoroBegin; in insertSpills() local
588 LLVMContext &C = CB->getContext(); in insertSpills()
589 IRBuilder<> Builder(CB->getNextNode()); in insertSpills()
593 cast<Instruction>(Builder.CreateBitCast(CB, FramePtrTy, "FramePtr")); in insertSpills()
594 DominatorTree DT(*CB->getFunction()); in insertSpills()
705 if (DT.dominates(CB, in insertSpills()
524 mightWriteIntoAllocaPtr(AllocaInst &A, const DominatorTree &DT, const CoroBeginInst &CB) mightWriteIntoAllocaPtr() argument
[all...]
H A DCoroutines.cpp291 auto CB = cast<CoroBeginInst>(II); in buildFrom() local
294 auto Id = dyn_cast<CoroIdInst>(CB->getId()); in buildFrom()
301 CB->addAttribute(AttributeList::ReturnIndex, Attribute::NonNull); in buildFrom()
302 CB->addAttribute(AttributeList::ReturnIndex, Attribute::NoAlias); in buildFrom()
303 CB->removeAttribute(AttributeList::FunctionIndex, in buildFrom()
305 CoroBegin = CB; in buildFrom()
H A DCoroEarly.cpp149 if (auto *CB = dyn_cast<CoroBeginInst>(U)) in setCannotDuplicate()
150 CB->setCannotDuplicate(); in setCannotDuplicate()
H A DCoroInternal.h48 void replaceAllCoroAllocs(CoroBeginInst *CB, bool Replacement);
49 void replaceAllCoroFrees(CoroBeginInst *CB, Value *Replacement);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp567 void IRTranslator::emitSwitchCase(SwitchCG::CaseBlock &CB, in emitSwitchCase() argument
570 Register CondLHS = getOrCreateVReg(*CB.CmpLHS); in emitSwitchCase()
573 MIB.setDebugLoc(CB.DbgLoc); in emitSwitchCase()
574 MIB.setMBB(*CB.ThisBB); in emitSwitchCase()
576 if (CB.PredInfo.NoCmp) { in emitSwitchCase()
578 addSuccessorWithProb(CB.ThisBB, CB.TrueBB, CB.TrueProb); in emitSwitchCase()
579 addMachineCFGPred({SwitchBB->getBasicBlock(), CB.TrueBB->getBasicBlock()}, in emitSwitchCase()
580 CB in emitSwitchCase()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
H A DFlattenCFG.cpp280 BasicBlock *CB; in FlattenParallelAndOr()
287 CB = PBI->getSuccessor(1 - Idx); in FlattenParallelAndOr()
291 .splice(FirstCondBlock->end(), CB->getInstList()); in FlattenParallelAndOr()
306 if (CB == LastCondBlock) in FlattenParallelAndOr()
309 CB->dropAllReferences(); in FlattenParallelAndOr()
310 // make CB unreachable and let downstream to delete the block. in FlattenParallelAndOr()
311 new UnreachableInst(CB->getContext(), CB); in FlattenParallelAndOr()
H A DCodeMoverUtils.cpp148 const CallBase *CB = dyn_cast<CallBase>(I); in isSafeToMoveBefore()
149 if (!CB) in isSafeToMoveBefore()
151 if (!CB->hasFnAttr(Attribute::WillReturn)) in isSafeToMoveBefore()
153 if (!CB->hasFnAttr(Attribute::NoSync)) in isSafeToMoveBefore()
/third_party/json/tests/thirdparty/Fuzzer/
H A DFuzzerTracePC.h58 template <class Callback> size_t CollectFeatures(Callback CB);
119 size_t TracePC::CollectFeatures(Callback CB) {
142 if (CB(Feature))
148 if (CB(NumGuards * 8 + Idx))
H A DFuzzerValueBitMap.h72 void ForEach(Callback CB) {
77 CB(i * sizeof(M) * 8 + j);
H A DFuzzerInternal.h55 Fuzzer(UserCallback CB, InputCorpus &Corpus, MutationDispatcher &MD,
158 UserCallback CB; member in fuzzer::Fuzzer
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
H A DSwitchLoweringUtils.cpp424 CaseBits *CB = &CBV[j]; in buildBitTests() local
430 CB->Mask |= (-1ULL >> (63 - (Hi - Lo))) << Lo; in buildBitTests()
431 CB->Bits += Hi - Lo + 1; in buildBitTests()
432 CB->ExtraProb += Clusters[i].Prob; in buildBitTests()
446 for (auto &CB : CBV) { in buildBitTests()
449 BTI.push_back(BitTestCase(CB.Mask, BitTestBB, CB.BB, CB.ExtraProb)); in buildBitTests()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
H A DPassInstrumentation.h137 PassInstrumentation(PassInstrumentationCallbacks *CB = nullptr) in PassInstrumentation()
138 : Callbacks(CB) {} in PassInstrumentation()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
H A DAliasAnalysis.cpp742 ExternalAAWrapperPass::ExternalAAWrapperPass(CallbackT CB) in ExternalAAWrapperPass() argument
743 : ImmutablePass(ID), CB(std::move(CB)) { in ExternalAAWrapperPass()
826 if (WrapperPass->CB) in runOnFunction()
827 WrapperPass->CB(*this, F, *AAR); in runOnFunction()
876 if (WrapperPass->CB) in createLegacyPMAAResults()
877 WrapperPass->CB(P, F, AAR); in createLegacyPMAAResults()
H A DCaptureTracking.cpp219 CapturesBefore CB(ReturnCaptures, I, DT, IncludeI, OBB); in PointerMayBeCapturedBefore()
220 PointerMayBeCaptured(V, &CB, MaxUsesToExplore); in PointerMayBeCapturedBefore()
224 return CB.Captured; in PointerMayBeCapturedBefore()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfCompileUnit.cpp135 auto *CB = GVContext ? dyn_cast<DICommonBlock>(GVContext) : nullptr; in getOrCreateGlobalVariableDIE() local
136 DIE *ContextDIE = CB ? getOrCreateCommonBlock(CB, GlobalExprs) in getOrCreateGlobalVariableDIE()
312 const DICommonBlock *CB, ArrayRef<GlobalExpr> GlobalExprs) { in getOrCreateCommonBlock()
315 DIE *ContextDIE = getOrCreateContextDIE(CB->getScope()); in getOrCreateCommonBlock()
317 if (DIE *NDie = getDIE(CB)) in getOrCreateCommonBlock()
319 DIE &NDie = createAndAddDIE(dwarf::DW_TAG_common_block, *ContextDIE, CB); in getOrCreateCommonBlock()
320 StringRef Name = CB->getName().empty() ? "_BLNK_" : CB->getName(); in getOrCreateCommonBlock()
322 addGlobalName(Name, NDie, CB in getOrCreateCommonBlock()
311 getOrCreateCommonBlock( const DICommonBlock *CB, ArrayRef<GlobalExpr> GlobalExprs) getOrCreateCommonBlock() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
H A DImmutableMap.h186 CBWrapperRef<Callback> CB(C); in foreach()
187 Root->foreach(CB); in foreach()
194 CBWrapper<Callback> CB; in foreach() local
195 Root->foreach(CB); in foreach()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
H A DCommandLine.h477 std::function<R(Ty)> CB; member
479 cb(std::function<R(Ty)> CB) : CB(CB) {} in cb()
481 template <typename Opt> void apply(Opt &O) const { O.setCallback(CB); } in apply()
505 callback(F CB) { in callback() argument
508 return cb<result_type, arg_type>(CB); in callback()
1499 std::function<void(const typename ParserClass::parser_data_type &)> CB) { in setCallback()
1500 Callback = CB; in setCallback()
1693 std::function<void(const typename ParserClass::parser_data_type &)> CB) { in setCallback()
1498 setCallback( std::function<void(const typename ParserClass::parser_data_type &)> CB) setCallback() argument
1692 setCallback( std::function<void(const typename ParserClass::parser_data_type &)> CB) setCallback() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
H A DAttributor.cpp1073 // Callback to replace the uses of CB with the constant C. in manifest()
1074 auto ReplaceCallSiteUsersWith = [](CallBase &CB, Constant &C) { in manifest()
1075 if (CB.getNumUses() == 0 || CB.isMustTailCall()) in manifest()
1077 replaceAllInstructionUsesWith(CB, C); in manifest()
1092 if (CallBase *CB = dyn_cast<CallBase>(U.getUser())) in manifest()
1093 if (CB->isCallee(&U)) { in manifest()
1095 CB->getType() == RVC->getType() in manifest()
1097 : ConstantExpr::getTruncOrBitCast(RVC, CB->getType()); in manifest()
1098 Changed = ReplaceCallSiteUsersWith(*CB, *RVCCas in manifest()
1166 CallBase *CB = dyn_cast<CallBase>(RV); checkForAllReturnedValuesAndReturnInsts() local
1231 CallBase *CB = dyn_cast<CallBase>(It.first); updateImpl() local
2719 CallBase &CB = cast<CallBase>(getAnchorValue()); global() variable
2823 auto *CB = dyn_cast<CallBase>(DeadEndI); global() variable
2934 identifyAliveSuccessors(Attributor &A, const CallBase &CB, AbstractAttribute &AA, SmallVectorImpl<const Instruction *> &AliveSuccessors) identifyAliveSuccessors() argument
[all...]
/third_party/node/lib/internal/fs/
H A Drimraf.js47 _rimraf(path, options, function CB(err) {
52 return setTimeout(_rimraf, delay, path, options, CB);
/third_party/typescript/tests/baselines/reference/
H A DintersectionReduction.js137 declare class CB { kind: 'b'; b: string; y: number };
139 function bar<T extends CA | CB>(x: T & CA) {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/IPO/
H A DAttributor.h174 if (auto *CB = dyn_cast<CallBase>(&V)) in value()
175 return IRPosition::callsite_returned(*CB); in value()
194 /// Create a position describing the function scope of \p CB.
195 static const IRPosition callsite_function(const CallBase &CB) { in callsite_function() argument
196 return IRPosition(const_cast<CallBase &>(CB), IRP_CALL_SITE); in callsite_function()
199 /// Create a position describing the returned value of \p CB.
200 static const IRPosition callsite_returned(const CallBase &CB) { in callsite_returned() argument
201 return IRPosition(const_cast<CallBase &>(CB), IRP_CALL_SITE_RETURNED); in callsite_returned()
204 /// Create a position describing the argument of \p CB at position \p ArgNo.
205 static const IRPosition callsite_argument(const CallBase &CB, in callsite_argument() argument
[all...]
/third_party/node/deps/npm/node_modules/graceful-fs/
H A Dpolyfills.js102 fs$rename(from, to, function CB (er) {
109 fs$rename(from, to, CB);

Completed in 26 milliseconds

123