/freebsd/sys/opencrypto/ |
H A D | cryptodev.c | 278 struct csession *cse; member 335 struct csession *cse; in cse_create() local 496 cse = malloc(sizeof(struct csession), M_CRYPTODEV, M_WAITOK | M_ZERO); in cse_create() 497 mtx_init(&cse->lock, "cryptodev", "crypto session lock", MTX_DEF); in cse_create() 498 refcount_init(&cse->refs, 1); in cse_create() 499 cse->key = key; in cse_create() 500 cse->mackey = mackey; in cse_create() 501 cse->cses = cses; in cse_create() 503 cse->hashsize = sop->maclen; in cse_create() 505 cse->hashsize = thash->hashsize; in cse_create() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
H A D | CSEMIRBuilder.h | 20 /// Defines a builder that does CSE of MachineInstructions using GISelCSEInfo. 46 /// For given ID, find a machineinstr in the CSE Map. If found, check if it 52 /// Simple check if we can CSE (we have the CSEInfo) or if this Opcode is 53 /// safe to CSE. 80 // If we have can CSE an instruction, but still need to materialize to a VReg, 81 // we emit a copy from the CSE'd inst to the VReg. 85 // If we have can CSE an instruction, but still need to materialize to a VReg,
|
H A D | CSEInfo.h | 38 // A CSE config for fully optimized builds. 59 /// The CSE Analysis object. 68 /// CSE'd and for now, only Generic instructions are CSEable. 85 /// Also because CSE insertion happens lazily, we can remove insts from this 132 /// Use this callback to inform CSE about a newly fully created instruction. 140 /// Remove this inst from the CSE map. If this inst has not been inserted yet, 211 /// If CSEConfig is already set, and the CSE Analysis has been preserved,
|
H A D | Combiner.h | 53 /// and also create a CSEMIRBuilder. Pass nullptr if CSE is not needed.
|
H A D | GISelChangeObserver.h | 63 /// each one for each event. If there are multiple observers (say CSE,
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | MachineCSE.cpp | 50 #define DEBUG_TYPE "machine-cse" 68 "aggressive-machine-cse", cl::Hidden, cl::init(false), 69 cl::desc("Override the profitability heuristics for Machine CSE")); 194 // FIXME: We should trivially coalesce subregister copies to expose CSE in INITIALIZE_PASS_DEPENDENCY() 196 // cse-add-with-overflow.ll). This can be done here as follows: in INITIALIZE_PASS_DEPENDENCY() 388 // Don't attempt to CSE across such an instruction. in PhysRegDefsReach() 450 // If CSReg is used at all uses of Reg, CSE should not increase register in isProfitableToCSE() 476 // Heuristics #1: Don't CSE "cheap" computation if the def is not local or in in isProfitableToCSE() 486 // of the redundant computation are copies, do not cse. in isProfitableToCSE() 545 // Using trivial copy propagation to find more CSE opportunities. in ProcessBlockCSE() [all …]
|
H A D | MachineLICM.cpp | 168 // For each opcode per preheader, keep a list of potential CSE instructions. 1440 /// Initialize the CSE map with instructions that are in the current loop 1507 // Do not CSE implicit_def so ProcessImplicitDefs can properly propagate in EliminateCSE() 1512 // Do not CSE normal loads because between them could be store instructions in EliminateCSE() 1567 /// Return true if the given instruction will be CSE'd if it's hoisted out of 1579 // Do not CSE implicit_def so ProcessImplicitDefs can properly propagate in MayCSE() 1633 // initialize the CSE map with potential common expressions. in Hoist() 1639 // Look for opportunity to CSE the hoisted instruction. in Hoist()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/ |
H A D | EarlyCSE.h | 1 //===- EarlyCSE.h - Simple and fast CSE pass --------------------*- C++ -*-===// 10 /// This file provides the interface for a simple, fast CSE pass. 23 /// A simple and fast domtree-based CSE pass.
|
H A D | NaryReassociate.h | 116 // Reassociates I for better CSE. 119 // Reassociate GEP for better CSE. 123 // CSE'ed. This is a helper function for tryReassociateGEP. 133 // &Base[..][RHS][..] can be CSE'ed and rewrite GEP accordingly. 138 // Reassociate binary operators for better CSE.
|
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
H A D | DebugSubsectionVisitor.h | 45 visitCrossModuleExports(DebugCrossModuleExportsSubsectionRef &CSE, 48 visitCrossModuleImports(DebugCrossModuleImportsSubsectionRef &CSE, 54 virtual Error visitSymbols(DebugSymbolsSubsectionRef &CSE,
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | EarlyCSE.cpp | 1 //===- EarlyCSE.cpp - Simple and fast CSE pass ----------------------------===// 63 #define DEBUG_TYPE "early-cse" 66 STATISTIC(NumCSE, "Number of instructions CSE'd"); 68 STATISTIC(NumCSELoad, "Number of load instructions CSE'd"); 69 STATISTIC(NumCSECall, "Number of call instructions CSE'd"); 70 STATISTIC(NumCSEGEP, "Number of GEP instructions CSE'd"); 73 DEBUG_COUNTER(CSECounter, "early-cse", 127 // Since we CSE across function calls we must not allow in canHandle() 192 // mechanism that may remove flags to increase the likelihood of CSE. in matchSelectWithOptionalNotCond() 223 // Don't CSE convergent calls in different basic blocks, because they in hashCallInst() [all …]
|
H A D | SeparateConstOffsetFromGEP.cpp | 87 // CSE, LICM and CGP. 99 // We can not do CSE to the common part related to index "i64 %i". Lowering 104 // %1 = ptrtoint [10 x %struct]* %ptr to i64 ; CSE opportunity 105 // %2 = mul i64 %i, length_of_10xstruct ; CSE opportunity 106 // %3 = add i64 %1, %2 ; CSE opportunity 114 // %7 = ptrtoint [10 x %struct]* %ptr to i64 ; CSE opportunity 115 // %8 = mul i64 %i, length_of_10xstruct ; CSE opportunity 116 // %9 = add i64 %7, %8 ; CSE opportunity 127 // %1 = bitcast [10 x %struct]* %ptr to i8* ; CSE opportunity 128 // %2 = mul i64 %i, length_of_10xstruct ; CSE opportunity [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | CSEInfo.cpp | 25 "Analysis containing CSE Info", false, true) 27 "Analysis containing CSE Info", false, true) 148 assert(shouldCSE(MI->getOpcode()) && "Trying to CSE an unsupported Node"); in getUniqueInstrForMI() 190 assert(shouldCSE(MI->getOpcode()) && "Invalid instruction for CSE"); in handleRecordedInst() 302 "Node in CSE without InstrMapping:\n%s", in verify() 307 "Mismatch in CSE mapping:\n%s\n%s", in verify() 318 dbgs() << "CSEInfo::CSE Hit for Opc " << It.first << " : " << It.second in print()
|
H A D | CSEMIRBuilder.cpp | 107 // First add the MBB (Local CSE). in profileMBBOpcode() 131 "Attempting to CSE illegal op"); in memoizeMI() 160 // into the instruction we're CSE'ing with. Debug locations arent part of the in generateCopiesIfRequired() 304 // If we can CSE this instruction, but involves generating copies to multiple in buildInstr() 322 // This instruction does not exist in the CSEInfo. Build it and CSE it. in buildInstr() 334 // For vectors, CSE the element only for now. in buildConstant() 361 // For vectors, CSE the element only for now. in buildFConstant()
|
H A D | Legalizer.cpp | 39 EnableCSEInLegalizer("enable-cse-in-legalizer", 40 cl::desc("Should enable CSE in Legalizer"), 378 // If for some reason CSE was not enabled, make sure that we invalidate the in runOnMachineFunction()
|
/freebsd/lib/libpmc/pmu-events/arch/arm64/fujitsu/a64fx/ |
H A D | other.json | 81 …tion": "This event counts every cycle that no instruction was committed because the CSE is empty.", 84 …ption": "This event counts every cycle that no instruction was committed because the CSE is empty." 87 …his event counts every cycle that no instruction was committed because the CSE is empty and the st… 90 …his event counts every cycle that no instruction was committed because the CSE is empty and the st…
|
/freebsd/contrib/llvm-project/compiler-rt/lib/orc/tests/unit/ |
H A D | error_test.cpp | 91 if (auto CSE = error_cast<CustomSubError>(E)) { in TEST() local 111 if (auto CSE = error_cast<CustomSubError>(E)) { in TEST() local 112 EXPECT_EQ(CSE->getV1(), 42) << "Unexpected wrapped value"; in TEST() 113 EXPECT_EQ(CSE->getV2(), "foo") << "Unexpected wrapped value"; in TEST()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaConcept.cpp | 1315 } else if (auto *CSE = dyn_cast<ConceptSpecializationExpr>(SubstExpr)) { in diagnoseWellFormedUnsatisfiedConstraintExpr() local 1316 if (CSE->getTemplateArgsAsWritten()->NumTemplateArgs == 1) { in diagnoseWellFormedUnsatisfiedConstraintExpr() 1318 CSE->getSourceRange().getBegin(), in diagnoseWellFormedUnsatisfiedConstraintExpr() 1322 << CSE->getTemplateArgsAsWritten()->arguments()[0].getArgument() in diagnoseWellFormedUnsatisfiedConstraintExpr() 1323 << CSE->getNamedConcept(); in diagnoseWellFormedUnsatisfiedConstraintExpr() 1327 << (int)First << CSE; in diagnoseWellFormedUnsatisfiedConstraintExpr() 1329 S.DiagnoseUnsatisfiedConstraint(CSE->getSatisfaction()); in diagnoseWellFormedUnsatisfiedConstraintExpr() 1502 const ConceptSpecializationExpr *CSE) { in substituteParameterMappings() argument 1504 CSE->getNamedConcept(), CSE->getNamedConcept()->getLexicalDeclContext(), in substituteParameterMappings() 1505 /*Final=*/false, CSE->getTemplateArguments(), in substituteParameterMappings() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64ConditionOptimizer.cpp | 10 // allow CSE pass to remove duplicated instructions. For this it analyzes 30 // code, assembly ends up in the form that is not CSE friendly: 48 // cmp w8, #5 // <-- CSE pass removes this instruction 315 // CSE. Returns true if compare instruction was changed, otherwise false is
|
/freebsd/sys/contrib/zstd/lib/common/ |
H A D | threading.c | 27 * http://www.cse.wustl.edu/~schmidt/win32-cv-1.html
|
H A D | threading.h | 27 * http://www.cse.wustl.edu/~schmidt/win32-cv-1.html
|
/freebsd/lib/msun/src/ |
H A D | s_fmaf.c | 69 volatile double vxy = xy; /* XXX work around gcc CSE bug */ in fmaf()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | ASTNodeTraverser.h | 731 void VisitConceptSpecializationExpr(const ConceptSpecializationExpr *CSE) { in VisitConceptSpecializationExpr() argument 732 Visit(CSE->getSpecializationDecl()); in VisitConceptSpecializationExpr() 733 if (CSE->hasExplicitTemplateArgs()) in VisitConceptSpecializationExpr() 734 for (const auto &ArgLoc : CSE->getTemplateArgsAsWritten()->arguments()) in VisitConceptSpecializationExpr()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/ |
H A D | Scalar.h | 107 // EarlyCSE - This pass performs a simple and fast CSE pass over the dominator 168 // SeparateConstOffsetFromGEP - Split GEPs for better CSE
|
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXTargetMachine.cpp | 459 // loop info, just like LICM and CSE below. in addMachineSSAOptimization() 467 printAndVerify("After Machine LICM, CSE and Sinking passes"); in addMachineSSAOptimization()
|