Searched refs:Unit (Results 1 - 25 of 32) sorted by relevance

12

/freebsd-11.0-release/contrib/gcclibs/libdecnumber/
H A DdecUtility.c84 const Unit *inu = dn->lsu; /* -> current input unit */
85 Unit uar[DECMAXUNITS]; /* working copy of units, iff shifted */
87 Unit in; /* current input unit */
95 Unit *target, *first; /* work */
96 const Unit *source; /* work */
106 /* split the source Unit and accumulate remainder for next */
110 *target = (Unit) next; /* write to target iff valid */
111 next = rem * powers[DECDPUN - cut]; /* save remainder for next Unit */
116 *target = (Unit) next;
141 Unit di
[all...]
H A DdecNumber.c153 /* lsu -- least significant Unit (of coefficient) */
155 /* msu -- most significant Unit (of coefficient) */
192 static Unit one[] = { 1 }; /* Unit array of 1, used for incrementing */
230 static Int decGetDigits (const Unit *, Int);
241 static void decSetCoeff (decNumber *, decContext *, const Unit *,
245 static Int decShiftToLeast (Unit *, Int, Int);
246 static Int decShiftToMost (Unit *, Int, Int);
251 static Int decUnitAddSub (const Unit *, Int, const Unit *, In
[all...]
H A DdecNumberLocal.h51 #define Unit decNumberUnit macro
/freebsd-11.0-release/contrib/llvm/lib/CodeGen/
H A DLiveRegMatrix.cpp78 unsigned Unit = (*Units).first; local
82 if (Func(Unit, S))
103 foreachUnit(TRI, VirtReg, PhysReg, [&](unsigned Unit,
105 DEBUG(dbgs() << ' ' << PrintRegUnit(Unit, TRI) << ' ' << Range);
106 Matrix[Unit].unify(VirtReg, Range);
120 foreachUnit(TRI, VirtReg, PhysReg, [&](unsigned Unit,
122 DEBUG(dbgs() << ' ' << PrintRegUnit(Unit, TRI));
123 Matrix[Unit].extract(VirtReg, Range);
132 for (MCRegUnitIterator Unit(PhysReg, TRI); Unit
[all...]
H A DTargetRegisterInfo.cpp67 Printable PrintRegUnit(unsigned Unit, const TargetRegisterInfo *TRI) { argument
68 return Printable([Unit, TRI](raw_ostream &OS) {
71 OS << "Unit~" << Unit;
76 if (Unit >= TRI->getNumRegUnits()) {
77 OS << "BadUnit~" << Unit; variable
82 MCRegUnitRootIterator Roots(Unit, TRI);
83 assert(Roots.isValid() && "Unit has no roots.");
90 Printable PrintVRegOrUnit(unsigned Unit, const TargetRegisterInfo *TRI) {
91 return Printable([Unit, TR
[all...]
H A DLiveIntervalAnalysis.cpp256 // Register Unit Liveness
269 void LiveIntervals::computeRegUnitRange(LiveRange &LR, unsigned Unit) { argument
273 // The physregs aliasing Unit are the roots and their super-registers.
278 for (MCRegUnitRootIterator Roots(Unit, TRI); Roots.isValid(); ++Roots) {
288 for (MCRegUnitRootIterator Roots(Unit, TRI); Roots.isValid(); ++Roots) {
328 unsigned Unit = *Units; local
329 LiveRange *LR = RegUnitRanges[Unit];
332 LR = RegUnitRanges[Unit] = new LiveRange(UseSegmentSetForPhysRegs);
333 NewRanges.push_back(Unit);
337 DEBUG(dbgs() << ' ' << PrintRegUnit(Unit, TR
346 unsigned Unit = NewRanges[i]; local
949 getRegUnitLI(unsigned Unit) argument
[all...]
H A DLiveDebugVariables.cpp693 unsigned Unit = *MCRegUnitIterator(Loc.getReg(), &TRI); local
694 LiveRange *LR = &LIS.getRegUnit(Unit);
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Frontend/
H A DASTMerge.cpp48 std::unique_ptr<ASTUnit> Unit = local
52 if (!Unit)
57 Unit->getASTContext(),
58 Unit->getFileManager(),
61 TranslationUnitDecl *TU = Unit->getASTContext().getTranslationUnitDecl();
H A DASTUnit.cpp820 ASTUnit &Unit; member in class:__anon3873::TopLevelDeclTrackerConsumer
825 : Unit(_Unit), Hash(Hash) {
841 Unit.addTopLevelDecl(D);
847 Unit.addFileLevelDecl(D);
869 return Unit.getASTMutationListener();
873 return Unit.getDeserializationListener();
879 ASTUnit &Unit; member in class:__anon3873::TopLevelDeclTrackerAction
885 Unit.getCurrentTopLevelHashValue()));
887 Unit, Unit
900 ASTUnit &Unit; member in class:__anon3873::PrecompilePreambleAction
904 PrecompilePreambleAction(ASTUnit &Unit) argument
919 ASTUnit &Unit; member in class:__anon3873::PrecompilePreambleConsumer
926 PrecompilePreambleConsumer(ASTUnit &Unit, PrecompilePreambleAction *Action, const Preprocessor &PP, StringRef isysroot, raw_ostream *Out) argument
1723 LoadFromCompilerInvocationAction( CompilerInvocation *CI, std::shared_ptr<PCHContainerOperations> PCHContainerOps, IntrusiveRefCntPtr<DiagnosticsEngine> Diags, ASTFrontendAction *Action, ASTUnit *Unit, bool Persistent, StringRef ResourceFilesPath, bool OnlyLocalDecls, bool CaptureDiagnostics, unsigned PrecompilePreambleAfterNParses, bool CacheCodeCompletionResults, bool IncludeBriefCommentsInCodeCompletion, bool UserFilesAreVolatile, std::unique_ptr<ASTUnit> *ErrAST) argument
[all...]
/freebsd-11.0-release/contrib/llvm/include/llvm/CodeGen/
H A DLiveIntervalAnalysis.h373 /// getRegUnit - Return the live range for Unit.
375 LiveRange &getRegUnit(unsigned Unit) { argument
376 LiveRange *LR = RegUnitRanges[Unit];
380 RegUnitRanges[Unit] = LR = new LiveRange(UseSegmentSetForPhysRegs);
381 computeRegUnitRange(*LR, Unit);
386 /// getCachedRegUnit - Return the live range for Unit if it has already
388 LiveRange *getCachedRegUnit(unsigned Unit) { argument
389 return RegUnitRanges[Unit];
392 const LiveRange *getCachedRegUnit(unsigned Unit) const {
393 return RegUnitRanges[Unit];
[all...]
H A DDIE.h291 const DwarfTypeUnit *Unit; member in class:llvm::DIETypeSignature
296 explicit DIETypeSignature(const DwarfTypeUnit &Unit) : Unit(&Unit) {} argument
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGDebugInfo.cpp588 llvm::DIFile *Unit) {
611 return getOrCreateType(QualType(T, 0), Unit);
614 auto *FromTy = getOrCreateType(Qc.apply(CGM.getContext(), T), Unit);
622 llvm::DIFile *Unit) {
628 return getOrCreateType(CGM.getContext().getObjCIdType(), Unit);
631 Ty->getPointeeType(), Unit);
635 llvm::DIFile *Unit) {
637 Ty->getPointeeType(), Unit);
723 llvm::DIFile *Unit) {
733 return DBuilder.createReferenceType(Tag, getOrCreateType(PointeeTy, Unit),
587 CreateQualifiedType(QualType Ty, llvm::DIFile *Unit) argument
621 CreateType(const ObjCObjectPointerType *Ty, llvm::DIFile *Unit) argument
634 CreateType(const PointerType *Ty, llvm::DIFile *Unit) argument
720 CreatePointerLikeType(llvm::dwarf::Tag Tag, const Type *Ty, QualType PointeeTy, llvm::DIFile *Unit) argument
751 CreateType(const BlockPointerType *Ty, llvm::DIFile *Unit) argument
809 CreateType(const TemplateSpecializationType *Ty, llvm::DIFile *Unit) argument
832 CreateType(const TypedefType *Ty, llvm::DIFile *Unit) argument
845 CreateType(const FunctionType *Ty, llvm::DIFile *Unit) argument
1055 getOrCreateMethodType(const CXXMethodDecl *Method, llvm::DIFile *Unit) argument
1065 getOrCreateInstanceMethodType( QualType ThisPtr, const FunctionProtoType *Func, llvm::DIFile *Unit) argument
1128 CreateCXXMemberFunction( const CXXMethodDecl *Method, llvm::DIFile *Unit, llvm::DIType *RecordTy) argument
1203 CollectCXXMemberFunctions( const CXXRecordDecl *RD, llvm::DIFile *Unit, SmallVectorImpl<llvm::Metadata *> &EltTys, llvm::DIType *RecordTy) argument
1241 CollectCXXBases(const CXXRecordDecl *RD, llvm::DIFile *Unit, SmallVectorImpl<llvm::Metadata *> &EltTys, llvm::DIType *RecordTy) argument
1279 CollectTemplateParams(const TemplateParameterList *TPList, ArrayRef<TemplateArgument> TAList, llvm::DIFile *Unit) argument
1383 CollectFunctionTemplateParams(const FunctionDecl *FD, llvm::DIFile *Unit) argument
1396 CollectCXXTemplateParams( const ClassTemplateSpecializationDecl *TSpecial, llvm::DIFile *Unit) argument
1406 getOrCreateVTablePtrType(llvm::DIFile *Unit) argument
1428 CollectVTableInfo(const CXXRecordDecl *RD, llvm::DIFile *Unit, SmallVectorImpl<llvm::Metadata *> &EltTys) argument
1643 CreateType(const ObjCObjectType *Ty, llvm::DIFile *Unit) argument
1673 CreateType(const ObjCInterfaceType *Ty, llvm::DIFile *Unit) argument
1761 CreateTypeDefinition(const ObjCInterfaceType *Ty, llvm::DIFile *Unit) argument
1922 CreateType(const VectorType *Ty, llvm::DIFile *Unit) argument
1940 CreateType(const ArrayType *Ty, llvm::DIFile *Unit) argument
1992 CreateType(const LValueReferenceType *Ty, llvm::DIFile *Unit) argument
1998 CreateType(const RValueReferenceType *Ty, llvm::DIFile *Unit) argument
2180 getOrCreateType(QualType Ty, llvm::DIFile *Unit) argument
2231 CreateTypeNode(QualType Ty, llvm::DIFile *Unit) argument
2314 getOrCreateLimitedType(const RecordType *Ty, llvm::DIFile *Unit) argument
2406 CreateMemberType(llvm::DIFile *Unit, QualType FType, StringRef Name, uint64_t *Offset) argument
2417 collectFunctionDeclProps(GlobalDecl GD, llvm::DIFile *Unit, StringRef &Name, StringRef &LinkageName, llvm::DIScope *&FDContext, llvm::DINodeArray &TParamsArray, unsigned &Flags) argument
2453 collectVarDeclProps(const VarDecl *VD, llvm::DIFile *&Unit, unsigned &LineNo, QualType &T, StringRef &Name, StringRef &LinkageName, llvm::DIScope *&VDContext) argument
2506 llvm::DIFile *Unit = getOrCreateFile(Loc); local
2536 llvm::DIFile *Unit = getOrCreateFile(Loc); local
2688 llvm::DIFile *Unit = getOrCreateFile(Loc); local
2761 llvm::DIFile *Unit = getOrCreateFile(Loc); local
2865 llvm::DIFile *Unit = getOrCreateFile(VD->getLocation()); local
2939 llvm::DIFile *Unit = nullptr; local
3083 llvm::DIFile *Unit = getOrCreateFile(VD->getLocation()); local
3320 CollectAnonRecordDecls( const RecordDecl *RD, llvm::DIFile *Unit, unsigned LineNo, StringRef LinkageName, llvm::GlobalVariable *Var, llvm::DIScope *DContext) argument
3349 llvm::DIFile *Unit = nullptr; local
3381 llvm::DIFile *Unit = getOrCreateFile(VD->getLocation()); local
[all...]
H A DCGDebugInfo.h91 llvm::DIFile *Unit; member in struct:clang::CodeGen::CGDebugInfo::ObjCInterfaceCacheEntry
93 llvm::DIFile *Unit)
94 : Type(Type), Decl(Decl), Unit(Unit) {}
168 llvm::DIType *CreateType(const RValueReferenceType *Ty, llvm::DIFile *Unit);
195 llvm::DIFile *Unit);
229 llvm::DIFile *Unit);
233 llvm::DIFile *Unit);
436 llvm::DIType *CreateMemberType(llvm::DIFile *Unit, QualType FType,
471 CollectAnonRecordDecls(const RecordDecl *RD, llvm::DIFile *Unit,
92 ObjCInterfaceCacheEntry(const ObjCInterfaceType *Type, llvm::DIType *Decl, llvm::DIFile *Unit) argument
[all...]
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DARCMT.cpp271 std::unique_ptr<ASTUnit> Unit(ASTUnit::LoadFromCompilerInvocationAction(
273 if (!Unit) {
281 ASTContext &Ctx = Unit->getASTContext();
285 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor());
294 Unit->getPreprocessor());
309 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor());
315 TransformActions testAct(*Diags, capturedDiags, Ctx, Unit->getPreprocessor());
316 MigrationPass pass(Ctx, OrigGCMode, Unit->getSema(), testAct, capturedDiags,
547 std::unique_ptr<ASTUnit> Unit(ASTUnit::LoadFromCompilerInvocationAction(
549 if (!Unit) {
[all...]
/freebsd-11.0-release/contrib/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugInfoEntry.cpp26 // attribute. It looks up the Unit containing the DIE and calls
30 const DWARFUnit *Unit,
32 Unit = Unit->getUnitSection().getUnitForOffset(*Offset);
33 return (Unit && DIE.extractFast(Unit, Offset)) ? Unit : nullptr;
29 findUnitAndExtractFast(DWARFDebugInfoEntryMinimal &DIE, const DWARFUnit *Unit, uint32_t *Offset) argument
/freebsd-11.0-release/contrib/llvm/lib/Target/PowerPC/
H A DPPCVSXFMAMutate.cpp301 unsigned Unit = *Units; local
303 LiveRange &AddendSrcRange = LIS->getRegUnit(Unit);
/freebsd-11.0-release/contrib/llvm/lib/CodeGen/AsmPrinter/
H A DDIE.cpp520 Asm->OutStreamer->EmitIntValue(Unit->getTypeSignature(), 8);
525 O << format("Type Unit: 0x%lx", Unit->getTypeSignature());
H A DDwarfDebug.cpp514 DwarfCompileUnit *Unit = lookupUnit(VariableDie->getUnit()); local
515 assert(Unit);
519 Unit->addDIEEntry(*VariableDie, dwarf::DW_AT_abstract_origin,
522 Unit->applyVariableAttributes(*Var, *VariableDie);
544 assert(SPCU && "Unable to find Compile Unit!");
621 // Compile Unit has macros, emit "DW_AT_macro_info" attribute.
1179 // Set DwarfDwarfCompileUnitID in MCContext to the Compile Unit this function
1497 Asm->OutStreamer->AddComment("Offset of Compilation Unit Info");
1500 Asm->OutStreamer->AddComment("Compilation Unit Length");
/freebsd-11.0-release/contrib/llvm/utils/TableGen/
H A DCodeGenRegisters.cpp196 static bool hasRegUnit(CodeGenRegister::RegUnitList &RegUnits, unsigned Unit) { argument
197 return RegUnits.test(Unit);
379 unsigned Unit = RegBank.newRegUnit(this, AR); local
380 RegUnits.set(Unit);
381 AR->RegUnits.set(Unit);
1400 for (auto &Unit : I->Regs)
1401 dbgs() << " " << Unit->getName();
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang-c/
H A DIndex.h770 CINDEX_LINKAGE unsigned clang_getNumDiagnostics(CXTranslationUnit Unit);
775 * \param Unit the translation unit to query.
781 CINDEX_LINKAGE CXDiagnostic clang_getDiagnostic(CXTranslationUnit Unit,
788 * \param Unit the translation unit to query.
791 clang_getDiagnosticSetFromTU(CXTranslationUnit Unit);
/freebsd-11.0-release/contrib/llvm/include/llvm/Target/
H A DTargetRegisterInfo.h970 /// Usage: OS << PrintRegUnit(Unit, TRI) << '\n';
971 Printable PrintRegUnit(unsigned Unit, const TargetRegisterInfo *TRI);
/freebsd-11.0-release/sys/dev/mpt/mpilib/
H A Dmpi.h360 U8 Unit; /* 01h */ member in struct:_MPI_VERSION_STRUCT
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/Frontend/
H A DASTUnit.h767 /// \param Unit - optionally an already created ASTUnit. Its ownership is not
778 /// created ASTUnit was passed in \p Unit then the caller can check that.
784 ASTFrontendAction *Action = nullptr, ASTUnit *Unit = nullptr,
/freebsd-11.0-release/sys/dev/mpr/
H A Dmpr_table.c222 facts->FWVersion.Struct.Unit,
/freebsd-11.0-release/sys/dev/mps/mpi/
H A Dmpi2.h541 #define MPI2_FUNCTION_SAS_IO_UNIT_CONTROL (0x1B) /* SAS IO Unit Control */
726 U8 Unit; /* 0x01 */ member in struct:_MPI2_VERSION_STRUCT

Completed in 493 milliseconds

12