Home
last modified time | relevance | path

Searched refs:Init (Results 1 – 25 of 382) sorted by relevance

12345678910>>...16

/freebsd/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DRecord.h281 class Init {
342 explicit Init(InitKind K, uint8_t Opc = 0) : Kind(K), Opc(Opc) {} in Kind()
345 Init(const Init &) = delete;
346 Init &operator=(const Init &) = delete;
347 virtual ~Init() = default;
373 virtual Init *getCastTo(RecTy *Ty) const = 0;
378 virtual Init *convertInitializerTo(RecTy *Ty) const = 0;
384 virtual Init *convertInitializerBitRange(ArrayRef<unsigned> Bits) const { in convertInitializerBitRange()
399 virtual Init *resolveReferences(Resolver &R) const { in resolveReferences()
400 return const_cast<Init *>(this); in resolveReferences()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DRecord.cpp85 DenseMap<std::pair<RecTy *, Init *>, VarInit *> TheVarInitPool;
88 DenseMap<std::pair<Init *, StringInit *>, FieldInit *> TheFieldInitPool;
344 void Init::anchor() {} in anchor()
347 LLVM_DUMP_METHOD void Init::dump() const { return print(errs()); } in dump()
350 RecordKeeper &Init::getRecordKeeper() const { in getRecordKeeper()
362 Init *UnsetInit::getCastTo(RecTy *Ty) const { in getCastTo()
366 Init *UnsetInit::convertInitializerTo(RecTy *Ty) const { in convertInitializerTo()
370 static void ProfileArgumentInit(FoldingSetNodeID &ID, Init *Value, in ProfileArgumentInit()
385 ArgumentInit *ArgumentInit::get(Init *Value, ArgAuxType Aux) { in get()
400 Init *ArgumentInit::resolveReferences(Resolver &R) const { in resolveReferences()
[all …]
H A DTGParser.h32 Init *Value;
34 LetRecord(StringInit *N, ArrayRef<unsigned> B, Init *V, SMLoc L) in LetRecord()
66 Init *ListValue;
71 ForeachLoop(SMLoc Loc, VarInit *IVar, Init *LValue) in ForeachLoop()
78 SmallVector<Init *, 16> Elements;
99 std::map<std::string, Init *, std::less<>> Vars;
121 Init *getVar(RecordKeeper &Records, MultiClass *ParsingMultiClass,
133 void addVar(StringRef Name, Init *I) { in addVar()
231 bool SetValue(Record *TheRec, SMLoc Loc, Init *ValName,
232 ArrayRef<unsigned> BitList, Init *V,
[all …]
H A DTGParser.cpp63 for (Init *TA : TemplateArgs) in dump()
73 Init *Bit = BV->getBit(i); in checkBitsConcrete()
98 if (Init *V = RV.getValue()) { in checkConcrete()
113 static Init *QualifyName(Record &CurRec, Init *Name) { in QualifyName()
115 Init *NewName = BinOpInit::getStrConcat( in QualifyName()
125 static Init *QualifyName(MultiClass *MC, Init *Name) { in QualifyName()
130 static Init *QualifiedNameOfImplicitName(Record &Rec) { in QualifiedNameOfImplicitName()
134 static Init *QualifiedNameOfImplicitName(MultiClass *MC) { in QualifiedNameOfImplicitName()
138 Init *TGVarScope::getVar(RecordKeeper &Records, MultiClass *ParsingMultiClass, in getVar()
146 auto FindValueInArgs = [&](Record *Rec, StringInit *Name) -> Init * { in getVar()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DCheckExprLifetime.cpp239 Expr *Init, LocalVisitor Visit,
244 Expr *Init, ReferenceKind RK,
494 Expr *Init, ReferenceKind RK, in visitLocalsRetainedByReferenceBinding() argument
502 Old = Init; in visitLocalsRetainedByReferenceBinding()
504 if (auto *FE = dyn_cast<FullExpr>(Init)) in visitLocalsRetainedByReferenceBinding()
505 Init = FE->getSubExpr(); in visitLocalsRetainedByReferenceBinding()
507 if (InitListExpr *ILE = dyn_cast<InitListExpr>(Init)) { in visitLocalsRetainedByReferenceBinding()
510 Init = ILE->getInit(0); in visitLocalsRetainedByReferenceBinding()
515 Init = const_cast<Expr *>(Init->skipRValueSubobjectAdjustments()); in visitLocalsRetainedByReferenceBinding()
519 if (CastExpr *CE = dyn_cast<CastExpr>(Init)) in visitLocalsRetainedByReferenceBinding()
[all …]
H A DSemaLambda.cpp786 bool IsDirectInit, Expr *&Init) { in buildLambdaInitCaptureInitialization() argument
799 if (Init->containsUnexpandedParameterPack()) { in buildLambdaInitCaptureInitialization()
816 SourceRange(Loc, Loc), IsDirectInit, Init); in buildLambdaInitCaptureInitialization()
821 ParenListExpr *CXXDirectInit = dyn_cast<ParenListExpr>(Init); in buildLambdaInitCaptureInitialization()
830 Loc, Init->getBeginLoc(), Init->getEndLoc()) in buildLambdaInitCaptureInitialization()
832 : InitializationKind::CreateCopy(Loc, Init->getBeginLoc()); in buildLambdaInitCaptureInitialization()
834 MultiExprArg Args = Init; in buildLambdaInitCaptureInitialization()
845 Init = Result.getAs<Expr>(); in buildLambdaInitCaptureInitialization()
851 IdentifierInfo *Id, unsigned InitStyle, Expr *Init, DeclContext *DeclCtx) { in createLambdaInitCaptureVarDecl() argument
869 NewVD->setInit(Init); in createLambdaInitCaptureVarDecl()
[all …]
H A DSemaInit.cpp75 static StringInitFailureKind IsStringInit(Expr *Init, const ArrayType *AT, in IsStringInit() argument
81 Init = Init->IgnoreParens(); in IsStringInit()
84 if (isa<ObjCEncodeExpr>(Init) && AT->getElementType()->isCharType()) in IsStringInit()
88 StringLiteral *SL = dyn_cast<StringLiteral>(Init); in IsStringInit()
169 bool Sema::IsStringInit(Expr *Init, const ArrayType *AT) { in IsStringInit() argument
170 return ::IsStringInit(Init, AT, Context) == SIF_None; in IsStringInit()
489 void FillInEmptyInitForBase(unsigned Init, const CXXBaseSpecifier &Base,
493 void FillInEmptyInitForField(unsigned Init, FieldDecl *Field,
690 unsigned Init, const CXXBaseSpecifier &Base, in FillInEmptyInitForBase() argument
696 if (Init >= ILE->getNumInits() || !ILE->getInit(Init)) { in FillInEmptyInitForBase()
[all …]
/freebsd/sys/opencrypto/
H A Dxform_sha2.c69 .Init = (void (*)(void *)) SHA224_Init,
81 .Init = (void (*)(void *)) SHA256_Init,
93 .Init = (void (*)(void *)) SHA384_Init,
105 .Init = (void (*)(void *)) SHA512_Init,
118 .Init = (void (*)(void *)) SHA224_Init,
130 .Init = (void (*)(void *)) SHA256_Init,
142 .Init = (void (*)(void *)) SHA384_Init,
154 .Init = (void (*)(void *)) SHA512_Init,
H A Dxform_cbc_mac.c13 .Init = AES_CBC_MAC_Init,
26 .Init = AES_CBC_MAC_Init,
39 .Init = AES_CBC_MAC_Init,
H A Dxform_gmac.c73 .Init = AES_GMAC_Init,
87 .Init = AES_GMAC_Init,
101 .Init = AES_GMAC_Init,
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeGenMapTable.cpp85 typedef std::map<std::vector<Init *>, std::vector<Record *>> RowInstrMapTy;
136 for (Init *I : ColValList->getValues()) { in InstrMap()
230 std::vector<Init *> KeyValue; in buildRowInstrMap()
232 for (Init *RowField : RowFields->getValues()) { in buildRowInstrMap()
239 Init *CurInstrVal = RecVal->getValue(); in buildRowInstrMap()
303 std::vector<Init *> KeyValue; in getInstrForColumn()
306 for (Init *RowField : RowFields->getValues()) { in getInstrForColumn()
307 Init *KeyInstrVal = KeyInstr->getValue(RowField)->getValue(); in getInstrForColumn()
324 Init *ColFieldJ = ColFields->getElement(j); in getInstrForColumn()
325 Init *CurInstrInit = CurInstr->getValue(ColFieldJ)->getValue(); in getInstrForColumn()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DGlobalDecl.h60 void Init(const Decl *D) { in Init() function
70 GlobalDecl(const VarDecl *D) { Init(D);} in GlobalDecl()
74 Init(D); in MultiVersionIndex()
83 GlobalDecl(const NamedDecl *D) { Init(D); } in GlobalDecl()
84 GlobalDecl(const BlockDecl *D) { Init(D); } in GlobalDecl()
85 GlobalDecl(const CapturedDecl *D) { Init(D); } in GlobalDecl()
86 GlobalDecl(const ObjCMethodDecl *D) { Init(D); } in GlobalDecl()
87 GlobalDecl(const OMPDeclareReductionDecl *D) { Init(D); } in GlobalDecl()
88 GlobalDecl(const OMPDeclareMapperDecl *D) { Init(D); } in GlobalDecl()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalSplit.cpp46 auto *Init = dyn_cast_or_null<ConstantStruct>(GV.getInitializer()); in splitGlobal() local
47 if (!Init) in splitGlobal()
51 const StructLayout *SL = DL.getStructLayout(Init->getType()); in splitGlobal()
112 std::vector<GlobalVariable *> SplitGlobals(Init->getNumOperands()); in splitGlobal()
113 for (unsigned I = 0; I != Init->getNumOperands(); ++I) { in splitGlobal()
116 new GlobalVariable(*GV.getParent(), Init->getOperand(I)->getType(), in splitGlobal()
118 Init->getOperand(I), GV.getName() + "." + utostr(I)); in splitGlobal()
122 unsigned SplitEnd = (I == Init->getNumOperands() - 1) in splitGlobal()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DParallel.h167 ResultTy parallel_transform_reduce(IterTy Begin, IterTy End, ResultTy Init, in parallel_transform_reduce() argument
174 return std::move(Init); in parallel_transform_reduce()
176 std::vector<ResultTy> Results(NumTasks, Init); in parallel_transform_reduce()
189 ResultTy R = Init; in parallel_transform_reduce()
237 ResultTy parallelTransformReduce(IterTy Begin, IterTy End, ResultTy Init, in parallelTransformReduce() argument
242 return parallel::detail::parallel_transform_reduce(Begin, End, Init, Reduce, in parallelTransformReduce()
247 Init = Reduce(std::move(Init), Transform(*I)); in parallelTransformReduce()
248 return std::move(Init); in parallelTransformReduce()
265 ResultTy parallelTransformReduce(RangeTy &&R, ResultTy Init, in parallelTransformReduce() argument
268 return parallelTransformReduce(std::begin(R), std::end(R), Init, Reduce, in parallelTransformReduce()
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DASTOps.cpp154 Expr *Init = Inits[InitIdx++]; in RecordInitListHelper() local
155 BaseInits.emplace_back(&Base, Init); in RecordInitListHelper()
161 Expr *Init = Inits[InitIdx++]; in RecordInitListHelper() local
162 FieldInits.emplace_back(Field, Init); in RecordInitListHelper()
201 for (const CXXCtorInitializer *Init : Ctor->inits()) { in TraverseConstructorInits() local
202 if (Init->isMemberInitializer()) { in TraverseConstructorInits()
203 Referenced.Fields.insert(Init->getMember()); in TraverseConstructorInits()
204 } else if (Init->isIndirectMemberInitializer()) { in TraverseConstructorInits()
205 for (const auto *I : Init->getIndirectMember()->chain()) in TraverseConstructorInits()
209 Expr *InitExpr = Init->getInit(); in TraverseConstructorInits()
/freebsd/contrib/opencsd/decoder/source/
H A Dtrc_component.cpp56 void Init(TraceComponent *pComp) in Init() function in errLogAttachMonitor
68 Init(name); in TraceComponent()
77 Init(name_combined); in TraceComponent()
86 void TraceComponent::Init(const std::string &name) in Init() function in TraceComponent
98 m_pErrAttachMon->Init(this); in Init()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/
H A DCombinerUtils.h24 inline bool isSpecificDef(const Init &N, StringRef Def) { in isSpecificDef()
35 inline Record *getDefOfSubClass(const Init &N, StringRef Cls) { in getDefOfSubClass()
46 inline const DagInit *getDagWithSpecificOperator(const Init &N, in getDagWithSpecificOperator()
60 inline const DagInit *getDagWithOperatorOfSubClass(const Init &N, in getDagWithOperatorOfSubClass()
H A DPatternParser.h25 class Init; variable
68 std::unique_ptr<Pattern> parseInstructionPattern(const Init &Arg,
75 std::unique_ptr<Pattern> parseWipMatchOpcodeMatcher(const Init &Arg,
84 const Init *OpInit,
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DCompiler.cpp1313 for (const Expr *Init : Inits) { in visitInitList() local
1314 if (!this->discard(Init)) in visitInitList()
1336 const Expr *Init, PrimType T) -> bool { in visitInitList() argument
1337 InitStackScope<Emitter> ISS(this, isa<CXXDefaultInitExpr>(Init)); in visitInitList()
1338 if (!this->visit(Init)) in visitInitList()
1347 const Expr *Init) -> bool { in visitInitList() argument
1348 InitStackScope<Emitter> ISS(this, isa<CXXDefaultInitExpr>(Init)); in visitInitList()
1352 if (!this->emitGetPtrField(FieldToInit->Offset, Init)) in visitInitList()
1354 if (!this->visitInitializer(Init)) in visitInitList()
1374 const Expr *Init = Inits[0]; in visitInitList() local
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_descriptions.cpp23 Init(t->tid, t->name); in MemprofThreadIdAndName()
28 Init(tid, ""); in MemprofThreadIdAndName()
32 Init(tid, t->name); in MemprofThreadIdAndName()
36 void MemprofThreadIdAndName::Init(u32 tid, const char *tname) { in Init() function in __memprof::MemprofThreadIdAndName
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDecl.cpp271 llvm::Constant *Init = nullptr; in getOrCreateStaticVarDecl() local
274 Init = llvm::UndefValue::get(LTy); in getOrCreateStaticVarDecl()
276 Init = EmitNullConstant(Ty); in getOrCreateStaticVarDecl()
279 getModule(), LTy, Ty.isConstant(getContext()), Linkage, Init, Name, in getOrCreateStaticVarDecl()
346 llvm::Constant *Init = emitter.tryEmitForInitializer(D); in AddInitializerToStaticVarDecl() local
350 if (!Init) { in AddInitializerToStaticVarDecl()
369 CGM.getDataLayout().getTypeAllocSize(Init->getType())); in AddInitializerToStaticVarDecl()
377 if (GV->getValueType() != Init->getType()) { in AddInitializerToStaticVarDecl()
381 CGM.getModule(), Init->getType(), OldGV->isConstant(), in AddInitializerToStaticVarDecl()
382 OldGV->getLinkage(), Init, "", in AddInitializerToStaticVarDecl()
[all …]
H A DVarBypassDetector.cpp20 void VarBypassDetector::Init(const Stmt *Body) { in Init() function in VarBypassDetector
43 if (const Expr *Init = VD->getInit()) in BuildScopeInformation() local
44 return BuildScopeInformation(Init, ParentScope); in BuildScopeInformation()
70 if (const Stmt *Init = cast<SwitchStmt>(S)->getInit()) { in BuildScopeInformation() local
71 if (!BuildScopeInformation(Init, ParentScope)) in BuildScopeInformation()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DModuleUtils.cpp40 if (Constant *Init = GVCtor->getInitializer()) { in appendToGlobalArray() local
41 unsigned n = Init->getNumOperands(); in appendToGlobalArray()
44 CurrentCtors.push_back(cast<Constant>(Init->getOperand(i))); in appendToGlobalArray()
83 SmallSetVector<Constant *, 16> &Init) { in collectUsedGlobals() argument
89 Init.insert(cast<Constant>(Op)); in collectUsedGlobals()
95 SmallSetVector<Constant *, 16> Init; in appendToUsedList() local
96 collectUsedGlobals(GV, Init); in appendToUsedList()
102 Init.insert(ConstantExpr::getPointerBitCastOrAddrSpaceCast(V, ArrayEltTy)); in appendToUsedList()
104 if (Init.empty()) in appendToUsedList()
107 ArrayType *ATy = ArrayType::get(ArrayEltTy, Init.size()); in appendToUsedList()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator_combined.h34 primary_.Init(release_to_os_interval_ms, heap_start);
38 void Init(s32 release_to_os_interval_ms, uptr heap_start = 0) {
39 stats_.Init();
40 primary_.Init(release_to_os_interval_ms, heap_start);
41 secondary_.Init();
156 cache->Init(&stats_); in InitCache()
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DTokenLexer.h111 Init(Tok, ILEnd, MI, ActualArgs); in TokenLexer()
120 Init(TokArray, NumToks, DisableExpansion, ownsTokens, isReinject); in TokenLexer()
131 void Init(Token &Tok, SourceLocation ELEnd, MacroInfo *MI,
139 void Init(const Token *TokArray, unsigned NumToks, bool DisableMacroExpansion,

12345678910>>...16