Home
last modified time | relevance | path

Searched refs:Create (Results 1 – 25 of 1088) sorted by relevance

12345678910>>...44

/openbsd-src/gnu/llvm/llvm/examples/Fibonacci/
H A Dfibonacci.cpp57 Function::Create(FibFTy, Function::ExternalLinkage, "fib", M); in CreateFibFunction()
60 BasicBlock *BB = BasicBlock::Create(Context, "EntryBlock", FibF); in CreateFibFunction()
71 BasicBlock *RetBB = BasicBlock::Create(Context, "return", FibF); in CreateFibFunction()
73 BasicBlock* RecurseBB = BasicBlock::Create(Context, "recurse", FibF); in CreateFibFunction()
77 BranchInst::Create(RetBB, RecurseBB, CondInst, BB); in CreateFibFunction()
80 ReturnInst::Create(Context, One, RetBB); in CreateFibFunction()
84 CallInst *CallFibX1 = CallInst::Create(FibF, Sub, "fibx1", RecurseBB); in CreateFibFunction()
89 CallInst *CallFibX2 = CallInst::Create(FibF, Sub, "fibx2", RecurseBB); in CreateFibFunction()
97 ReturnInst::Create(Context, Sum, RecurseBB); in CreateFibFunction()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DHLSLExternalSemaSource.cpp65 Record = CXXRecordDecl::Create(AST, TagDecl::TagKind::TTK_Class, in BuiltinTypeDeclBuilder()
95 auto *Field = FieldDecl::Create( in addMemberVariable()
141 return DeclRefExpr::Create(AST, NestedNameSpecifierLoc(), SourceLocation(), in lookupBuiltinFunction()
146 return IntegerLiteral::Create( in emitResourceClassExpr()
164 CXXConstructorDecl *Constructor = CXXConstructorDecl::Create( in addDefaultHandleConstructor()
175 Expr *Call = CallExpr::Create(AST, Fn, {RCExpr}, AST.VoidPtrTy, VK_PRValue, in addDefaultHandleConstructor()
189 Call = CXXStaticCastExpr::Create( in addDefaultHandleConstructor()
196 BinaryOperator *Assign = BinaryOperator::Create( in addDefaultHandleConstructor()
201 CompoundStmt::Create(AST, {Assign}, FPOptionsOverride(), in addDefaultHandleConstructor()
245 auto *MethodDecl = CXXMethodDecl::Create( in addArraySubscriptOperator()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DLowerGlobalDtors.cpp164 Function *CallDtors = Function::Create( in runImpl()
174 BasicBlock *BB = BasicBlock::Create(C, "body", CallDtors); in runImpl()
179 CallInst::Create(VoidVoid, Dtor, "", BB); in runImpl()
180 ReturnInst::Create(C, BB); in runImpl()
182 Function *RegisterCallDtors = Function::Create( in runImpl()
192 BasicBlock *EntryBB = BasicBlock::Create(C, "entry", RegisterCallDtors); in runImpl()
193 BasicBlock *FailBB = BasicBlock::Create(C, "fail", RegisterCallDtors); in runImpl()
194 BasicBlock *RetBB = BasicBlock::Create(C, "return", RegisterCallDtors); in runImpl()
198 Value *Res = CallInst::Create(AtExit, Args, "call", EntryBB); in runImpl()
201 BranchInst::Create(FailBB, RetBB, Cmp, EntryBB); in runImpl()
[all …]
H A DUnifyFunctionExitNodes.cpp59 BasicBlock::Create(F.getContext(), "UnifiedUnreachableBlock", &F); in unifyUnreachableBlocks()
64 BranchInst::Create(UnreachableBlock, BB); in unifyUnreachableBlocks()
83 BasicBlock *NewRetBlock = BasicBlock::Create(F.getContext(), in unifyReturnBlocks()
88 ReturnInst::Create(F.getContext(), nullptr, NewRetBlock); in unifyReturnBlocks()
91 PN = PHINode::Create(F.getReturnType(), ReturningBlocks.size(), in unifyReturnBlocks()
94 ReturnInst::Create(F.getContext(), PN, NewRetBlock); in unifyReturnBlocks()
106 BranchInst::Create(NewRetBlock, BB); in unifyReturnBlocks()
H A DMatrixUtils.cpp28 BasicBlock *Header = BasicBlock::Create( in CreateLoop()
30 BasicBlock *Body = BasicBlock::Create(Header->getContext(), Name + ".body", in CreateLoop()
32 BasicBlock *Latch = BasicBlock::Create(Header->getContext(), Name + ".latch", in CreateLoop()
36 BranchInst::Create(Body, Header); in CreateLoop()
37 BranchInst::Create(Latch, Body); in CreateLoop()
39 PHINode::Create(I32Ty, 2, Name + ".iv", Header->getTerminator()); in CreateLoop()
45 BranchInst::Create(Header, Exit, Cond, Latch); in CreateLoop()
/openbsd-src/gnu/llvm/llvm/examples/ParallelJIT/
H A DParallelJIT.cpp55 Function::Create(FunctionType::get(Type::getInt32Ty(Context), in createAdd1()
61 BasicBlock *BB = BasicBlock::Create(Context, "EntryBlock", Add1F); in createAdd1()
75 ReturnInst::Create(Context, Add, BB); in createAdd1()
88 Function::Create(FibFTy, Function::ExternalLinkage, "fib", M); in CreateFibFunction()
91 BasicBlock *BB = BasicBlock::Create(Context, "EntryBlock", FibF); in CreateFibFunction()
102 BasicBlock *RetBB = BasicBlock::Create(Context, "return", FibF); in CreateFibFunction()
104 BasicBlock *RecurseBB = BasicBlock::Create(Context, "recurse", FibF); in CreateFibFunction()
108 BranchInst::Create(RetBB, RecurseBB, CondInst, BB); in CreateFibFunction()
111 ReturnInst::Create(Context, One, RetBB); in CreateFibFunction()
115 Value *CallFibX1 = CallInst::Create(FibF, Sub, "fibx1", RecurseBB); in CreateFibFunction()
[all …]
/openbsd-src/gnu/llvm/llvm/bindings/ocaml/debuginfo/
H A Dllvm_debuginfo.mli160 (** [dibuilder m] Create a debug info builder for [m]. *)
187 (** [dibuild_create_file] Create a file descriptor to hold debugging information
198 (** [dibuild_create_module] Create a new descriptor for a module with the
207 (** [dibuild_create_namespace] Create a new descriptor for a namespace with
224 (** [dibuild_create_function] Create a new descriptor for the specified
234 (** [dibuild_create_lexical_block] Create a descriptor for a lexical block with
249 (** [dibuild_create] Create a new DebugLocation that describes a source
282 (** [dibuild_get_or_create_type_array] Create a type array.
287 (** [dibuild_get_or_create_array] Create an array of DI Nodes.
292 (** [dibuild_create_constant_value_expression] Create a new descriptor for
[all …]
/openbsd-src/gnu/llvm/llvm/examples/BrainF/
H A DBrainF.cpp85 brainf_func = Function::Create(FunctionType::get(Type::getVoidTy(C), false), in header()
88 builder = new IRBuilder<>(BasicBlock::Create(C, label, brainf_func)); in header()
128 endbb = BasicBlock::Create(C, label, brainf_func); in header()
134 ReturnInst::Create(C, endbb); in header()
158 aberrorbb = BasicBlock::Create(C, label, brainf_func); in header()
177 CallInst::Create(puts_func, in header()
184 BranchInst::Create(endbb, aberrorbb); in header()
266 BasicBlock *nextbb = BasicBlock::Create(C, label, brainf_func); in readloop()
292 BasicBlock *testbb = BasicBlock::Create(C, label, brainf_func); in readloop()
297 BasicBlock *bb_1 = BasicBlock::Create(C, label, brainf_func); in readloop()
[all …]
/openbsd-src/gnu/llvm/lldb/source/Core/
H A DValueObjectConstResult.cpp29 ValueObjectSP ValueObjectConstResult::Create(ExecutionContextScope *exe_scope, in Create() function in ValueObjectConstResult
33 auto manager_sp = ValueObjectManager::Create(); in Create()
52 ValueObjectSP ValueObjectConstResult::Create(ExecutionContextScope *exe_scope, in Create() function in ValueObjectConstResult
57 auto manager_sp = ValueObjectManager::Create(); in Create()
85 ValueObjectSP ValueObjectConstResult::Create(ExecutionContextScope *exe_scope, in Create() function in ValueObjectConstResult
92 auto manager_sp = ValueObjectManager::Create(); in Create()
99 ValueObjectSP ValueObjectConstResult::Create(ExecutionContextScope *exe_scope, in Create() function in ValueObjectConstResult
103 auto manager_sp = ValueObjectManager::Create(); in Create()
127 ValueObjectSP ValueObjectConstResult::Create(ExecutionContextScope *exe_scope, in Create() function in ValueObjectConstResult
133 auto manager_sp = ValueObjectManager::Create(); in Create()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUUnifyDivergentExitNodes.cpp142 BasicBlock *NewRetBlock = BasicBlock::Create(F.getContext(), Name, &F); in unifyReturnBlockSet()
167 BranchInst::Create(NewRetBlock, BB); in unifyReturnBlockSet()
229 DummyReturnBB = BasicBlock::Create(F.getContext(), in runOnFunction()
233 ReturnInst::Create(F.getContext(), RetVal, DummyReturnBB); in runOnFunction()
241 BranchInst::Create(LoopHeaderBB, DummyReturnBB, BoolTrue, BB); in runOnFunction()
262 BranchInst::Create(TransitionBB, DummyReturnBB, BoolTrue, BB); in runOnFunction()
275 UnreachableBlock = BasicBlock::Create(F.getContext(), in runOnFunction()
283 BranchInst::Create(UnreachableBlock, BB); in runOnFunction()
303 CallInst::Create(UnreachableIntrin, {}, "", UnreachableBlock); in runOnFunction()
308 ReturnInst::Create(F.getContext(), RetVal, UnreachableBlock); in runOnFunction()
H A DSIAnnotateControlFlow.cpp209 Value *Ret = CallInst::Create(If, Term->getCondition(), "", Term); in openIf()
210 Term->setCondition(ExtractValueInst::Create(Ret, 0, "", Term)); in openIf()
211 push(Term->getSuccessor(1), ExtractValueInst::Create(Ret, 1, "", Term)); in openIf()
220 Value *Ret = CallInst::Create(Else, popSaved(), "", Term); in insertElse()
221 Term->setCondition(ExtractValueInst::Create(Ret, 0, "", Term)); in insertElse()
222 push(Term->getSuccessor(1), ExtractValueInst::Create(Ret, 1, "", Term)); in insertElse()
239 return CallInst::Create(IfBreak, Args, "", Insert); in handleLoopCondition()
248 return CallInst::Create(IfBreak, Args, "", Insert); in handleLoopCondition()
254 return CallInst::Create(IfBreak, Args, "", Insert); in handleLoopCondition()
271 PHINode *Broken = PHINode::Create(IntMask, 0, "phi.broken", &Target->front()); in handleLoop()
[all …]
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DExprConcepts.cpp45 ? ASTConstraintSatisfaction::Create(C, *Satisfaction) in ConceptSpecializationExpr()
61 ConceptSpecializationExpr *ConceptSpecializationExpr::Create( in Create() function in ConceptSpecializationExpr
66 return Create(C, NamedConcept, /*ArgsAsWritten*/ nullptr, SpecDecl, Satisfaction, in Create()
70 ConceptSpecializationExpr *ConceptSpecializationExpr::Create( in Create() function in ConceptSpecializationExpr
94 ? ASTConstraintSatisfaction::Create(C, *Satisfaction) in ConceptSpecializationExpr()
106 ConceptSpecializationExpr *ConceptSpecializationExpr::Create( in Create() function in ConceptSpecializationExpr
176 RequiresExpr::Create(ASTContext &C, SourceLocation RequiresKWLoc, in Create() function in RequiresExpr
190 RequiresExpr::Create(ASTContext &C, EmptyShell Empty, in Create() function in RequiresExpr
H A DStmtOpenMP.cpp37 OMPChildren *OMPChildren::Create(void *Mem, ArrayRef<OMPClause *> Clauses) { in Create() function in OMPChildren
43 OMPChildren *OMPChildren::Create(void *Mem, ArrayRef<OMPClause *> Clauses, in Create() function in OMPChildren
262 OMPMetaDirective *OMPMetaDirective::Create(const ASTContext &C, in Create() function in OMPMetaDirective
281 OMPParallelDirective *OMPParallelDirective::Create( in Create() function in OMPParallelDirective
301 OMPSimdDirective::Create(const ASTContext &C, SourceLocation StartLoc, in Create() function in OMPSimdDirective
336 OMPForDirective *OMPForDirective::Create( in Create() function in OMPForDirective
408 OMPTileDirective::Create(const ASTContext &C, SourceLocation StartLoc, in Create() function in OMPTileDirective
429 OMPUnrollDirective::Create(const ASTContext &C, SourceLocation StartLoc, in Create() function in OMPUnrollDirective
451 OMPForSimdDirective::Create(const ASTContext &C, SourceLocation StartLoc, in Create() function in OMPForSimdDirective
494 OMPSectionsDirective *OMPSectionsDirective::Create( in Create() function in OMPSectionsDirective
[all …]
H A DDeclOpenMP.cpp28 OMPThreadPrivateDecl *OMPThreadPrivateDecl::Create(ASTContext &C, in Create() function in OMPThreadPrivateDecl
57 OMPAllocateDecl *OMPAllocateDecl::Create(ASTContext &C, DeclContext *DC, in Create() function in OMPAllocateDecl
85 OMPRequiresDecl *OMPRequiresDecl::Create(ASTContext &C, DeclContext *DC, in Create() function in OMPRequiresDecl
112 OMPDeclareReductionDecl *OMPDeclareReductionDecl::Create( in Create() function in OMPDeclareReductionDecl
142 OMPDeclareMapperDecl *OMPDeclareMapperDecl::Create( in Create() function in OMPDeclareMapperDecl
174 OMPCapturedExprDecl *OMPCapturedExprDecl::Create(ASTContext &C, DeclContext *DC, in Create() function in OMPCapturedExprDecl
H A DDeclTemplate.cpp119 TemplateParameterList::Create(const ASTContext &C, SourceLocation TemplateLoc, in Create() function in TemplateParameterList
377 FunctionTemplateDecl::Create(ASTContext &C, DeclContext *DC, SourceLocation L, in Create() function in FunctionTemplateDecl
460 ClassTemplateDecl *ClassTemplateDecl::Create(ASTContext &C, DeclContext *DC, in Create() function in ClassTemplateDecl
640 TemplateTypeParmDecl *TemplateTypeParmDecl::Create( in Create() function in TemplateTypeParmDecl
737 NonTypeTemplateParmDecl::Create(const ASTContext &C, DeclContext *DC, in Create() function in NonTypeTemplateParmDecl
752 NonTypeTemplateParmDecl *NonTypeTemplateParmDecl::Create( in Create() function in NonTypeTemplateParmDecl
824 TemplateTemplateParmDecl::Create(const ASTContext &C, DeclContext *DC, in Create() function in TemplateTemplateParmDecl
833 TemplateTemplateParmDecl::Create(const ASTContext &C, DeclContext *DC, in Create() function in TemplateTemplateParmDecl
890 FunctionTemplateSpecializationInfo *FunctionTemplateSpecializationInfo::Create( in Create() function in FunctionTemplateSpecializationInfo
897 ArgsAsWritten = ASTTemplateArgumentListInfo::Create(C, in Create()
[all …]
/openbsd-src/gnu/llvm/llvm/examples/ModuleMaker/
H A DModuleMaker.cpp43 Function *F = Function::Create(FT, Function::ExternalLinkage, "main", M); in main()
47 BasicBlock *BB = BasicBlock::Create(Context, "EntryBlock", F); in main()
54 Instruction *Add = BinaryOperator::Create(Instruction::Add, Two, Three, in main()
61 ReturnInst::Create(Context, Add)->insertInto(BB, BB->end()); in main()
/openbsd-src/gnu/llvm/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFixFunctionBitcasts.cpp112 Function *Wrapper = Function::Create(Ty, Function::PrivateLinkage, in createWrapper()
114 BasicBlock *BB = BasicBlock::Create(M->getContext(), "body", Wrapper); in createWrapper()
168 CallInst *Call = CallInst::Create(F, Args, "", BB); in createWrapper()
174 ReturnInst::Create(M->getContext(), BB); in createWrapper()
177 ReturnInst::Create(M->getContext(), UndefValue::get(RtnType), BB); in createWrapper()
179 ReturnInst::Create(M->getContext(), Call, BB); in createWrapper()
185 ReturnInst::Create(M->getContext(), Cast, BB); in createWrapper()
202 Wrapper = Function::Create(Ty, Function::PrivateLinkage, in createWrapper()
204 BasicBlock *BB = BasicBlock::Create(M->getContext(), "body", Wrapper); in createWrapper()
261 CallMain = CallInst::Create(MainTy, Casted, Args, "call_main"); in runOnModule()
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/Orc/
H A DLazyReexports.cpp116 return LocalLazyCallThroughManager::Create<OrcAArch64>(ES, in createLocalLazyCallThroughManager()
120 return LocalLazyCallThroughManager::Create<OrcI386>(ES, ErrorHandlerAddr); in createLocalLazyCallThroughManager()
123 return LocalLazyCallThroughManager::Create<OrcLoongArch64>( in createLocalLazyCallThroughManager()
127 return LocalLazyCallThroughManager::Create<OrcMips32Be>(ES, in createLocalLazyCallThroughManager()
131 return LocalLazyCallThroughManager::Create<OrcMips32Le>(ES, in createLocalLazyCallThroughManager()
136 return LocalLazyCallThroughManager::Create<OrcMips64>(ES, ErrorHandlerAddr); in createLocalLazyCallThroughManager()
139 return LocalLazyCallThroughManager::Create<OrcRiscv64>(ES, in createLocalLazyCallThroughManager()
144 return LocalLazyCallThroughManager::Create<OrcX86_64_Win32>( in createLocalLazyCallThroughManager()
147 return LocalLazyCallThroughManager::Create<OrcX86_64_SysV>( in createLocalLazyCallThroughManager()
/openbsd-src/gnu/llvm/clang/tools/clang-linker-wrapper/
H A DOffloadWrapper.cpp230 auto *Func = Function::Create(FuncTy, GlobalValue::InternalLinkage, in createRegisterFunction()
241 IRBuilder<> Builder(BasicBlock::Create(C, "entry", Func)); in createRegisterFunction()
257 auto *Func = Function::Create(FuncTy, GlobalValue::InternalLinkage, in createUnregisterFunction()
268 IRBuilder<> Builder(BasicBlock::Create(C, "entry", Func)); in createUnregisterFunction()
411 Function::Create(RegGlobalsTy, GlobalValue::InternalLinkage, in createRegisterGlobalsFunction()
416 IRBuilder<> Builder(BasicBlock::Create(C, "entry", RegGlobalsFn)); in createRegisterGlobalsFunction()
417 auto *EntryBB = BasicBlock::Create(C, "while.entry", RegGlobalsFn); in createRegisterGlobalsFunction()
418 auto *IfThenBB = BasicBlock::Create(C, "if.then", RegGlobalsFn); in createRegisterGlobalsFunction()
419 auto *IfElseBB = BasicBlock::Create(C, "if.else", RegGlobalsFn); in createRegisterGlobalsFunction()
420 auto *SwGlobalBB = BasicBlock::Create(C, "sw.global", RegGlobalsFn); in createRegisterGlobalsFunction()
[all …]
/openbsd-src/gnu/llvm/clang/lib/Analysis/
H A DBodyFarm.cpp122 return BinaryOperator::Create( in makeAssignment()
131 return BinaryOperator::Create( in makeComparison()
138 return CompoundStmt::Create(C, Stmts, FPOptionsOverride(), SourceLocation(), in makeCompound()
147 DeclRefExpr *DR = DeclRefExpr::Create( in makeDeclRefExpr()
154 return UnaryOperator::Create(C, const_cast<Expr *>(Arg), UO_Deref, Ty, in makeDereference()
174 return ImplicitCastExpr::Create(C, Ty, in makeImplicitCast()
184 return CXXStaticCastExpr::Create( in makeReferenceCast()
216 return ReturnStmt::Create(C, SourceLocation(), const_cast<Expr *>(RetVal), in makeReturn()
222 return IntegerLiteral::Create(C, APValue, Ty, SourceLocation()); in makeIntegerLiteral()
230 return MemberExpr::Create( in makeMemberExpression()
[all …]
/openbsd-src/gnu/llvm/llvm/utils/lit/tests/Inputs/shtest-shell/
H A Ddiff-r.txt3 # Create two directories for further comparison.
7 # Create same files in both of the dirs.
11 # Create same subdirectories with same contents.
18 # Create empty subdirectories with same names.
/openbsd-src/gnu/llvm/lldb/include/lldb/Core/
H A DValueObjectConstResult.h39 Create(ExecutionContextScope *exe_scope, lldb::ByteOrder byte_order,
43 Create(ExecutionContextScope *exe_scope, const CompilerType &compiler_type,
48 Create(ExecutionContextScope *exe_scope, const CompilerType &compiler_type,
54 Create(ExecutionContextScope *exe_scope, const CompilerType &compiler_type,
58 static lldb::ValueObjectSP Create(ExecutionContextScope *exe_scope,
63 static lldb::ValueObjectSP Create(ExecutionContextScope *exe_scope,
/openbsd-src/gnu/llvm/llvm/examples/HowToUseJIT/
H A DHowToUseJIT.cpp78 Function::Create(FunctionType::get(Type::getInt32Ty(Context), in main()
84 BasicBlock *BB = BasicBlock::Create(Context, "EntryBlock", Add1F); in main()
109 Function::Create(FunctionType::get(Type::getInt32Ty(Context), {}, false), in main()
113 BB = BasicBlock::Create(Context, "EntryBlock", FooF); in main()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DInstrTypes.h121 static UnaryOperator *Create(UnaryOps Op, Value *S,
129 static UnaryOperator *Create(UnaryOps Op, Value *S,
137 static UnaryOperator *Create##OPC(Value *V, const Twine &Name = "") {\
138 return Create(Instruction::OPC, V, Name);\
142 static UnaryOperator *Create##OPC(Value *V, const Twine &Name, \
144 return Create(Instruction::OPC, V, Name, BB);\
148 static UnaryOperator *Create##OPC(Value *V, const Twine &Name, \
150 return Create(Instruction::OPC, V, Name, I);\
158 UnaryOperator *UO = Create(Opc, V, Name, InsertBefore);
214 static BinaryOperator *Create(BinaryOps Op, Value *S1, Value *S2,
[all …]
/openbsd-src/gnu/llvm/lldb/source/Plugins/Architecture/AArch64/
H A DArchitectureAArch64.cpp21 &ArchitectureAArch64::Create); in LLDB_PLUGIN_DEFINE()
25 PluginManager::UnregisterPlugin(&ArchitectureAArch64::Create); in Terminate()
29 ArchitectureAArch64::Create(const ArchSpec &arch) { in Create() function in ArchitectureAArch64

12345678910>>...44