Searched refs:Create (Results 276 - 300 of 468) sorted by relevance

<<111213141516171819

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DMergedLoadStoreMotion.cpp208 /// Create a PHI node in BB for the operands of S0 and S1
212 // Create a phi if the values mismatch.
218 auto *NewPN = PHINode::Create(Opd1->getType(), 2, Opd2->getName() + ".sink",
257 // Create the new store to be inserted at the join point.
H A DLoopUnswitch.cpp1329 PHINode *PN = PHINode::Create(LPad->getType(), 0, "",
1551 // Create an "unreachable" destination.
1552 BasicBlock *Abort = BasicBlock::Create(Context, "us-unreachable",
1559 BranchInst::Create(Abort, OldSISucc,
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaDecl.cpp58 return DeclGroupPtrTy::make(DeclGroupRef::Create(Context, Group, 2));
259 auto *NNS = NestedNameSpecifier::Create(Context, nullptr, false,
531 return NestedNameSpecifier::Create(Context, nullptr, ND);
533 return NestedNameSpecifier::Create(Context, nullptr, RD->isTemplateDecl(),
576 NNS = NestedNameSpecifier::Create(Context, nullptr, RD->isTemplateDecl(),
2096 LinkageSpecDecl::Create(Context, Parent, Loc, Loc,
2103 FunctionDecl *New = FunctionDecl::Create(Context,
2111 // Create Decl objects for each parameter, adding them to the
2117 ParmVarDecl::Create(Context, New, SourceLocation(), SourceLocation(),
3653 ParmVarDecl *Param = ParmVarDecl::Create(Contex
[all...]
H A DSemaCast.cpp106 castExpr = ImplicitCastExpr::Create(Self.Context,
282 return Op.complete(CXXConstCastExpr::Create(Context, Op.ResultType,
299 return Op.complete(CXXDynamicCastExpr::Create(Context, Op.ResultType,
312 return Op.complete(CXXReinterpretCastExpr::Create(Context, Op.ResultType,
326 return Op.complete(CXXStaticCastExpr::Create(Context, Op.ResultType,
2920 return Op.complete(CStyleCastExpr::Create(Context, Op.ResultType,
2945 return Op.complete(CXXFunctionalCastExpr::Create(Context, Op.ResultType,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp1367 return Function::Create(FT, GlobalValue::ExternalWeakLinkage,
2905 FwdVal = BasicBlock::Create(F.getContext(), Name, &F);
2939 FwdVal = BasicBlock::Create(F.getContext(), "", &F);
4575 // Create a new node, and save it in the context if it belongs in the type
5484 Fn = Function::Create(FT, GlobalValue::ExternalLinkage, AddrSpace,
5912 Inst = ReturnInst::Create(Context);
5923 Inst = ReturnInst::Create(Context, RV);
5937 Inst = BranchInst::Create(BB);
5950 Inst = BranchInst::Create(Op1, Op2, Op0);
5994 SwitchInst *SI = SwitchInst::Create(Con
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCoroutine.cpp217 // Create a switch capturing three possible continuations.
242 CompoundStmt::Create(CGF.getContext(), S.getResumeExpr(), Loc, Loc);
243 TryStmt = CXXTryStmt::Create(CGF.getContext(), Loc, TryBody, Catch);
607 // Create parameter copies. We do it before creating a promise, since an
659 CXXTryStmt::Create(getContext(), Loc, S.getBody(), &Catch);
H A DCGBlocks.cpp1446 auto *Init = llvm::Function::Create(llvm::FunctionType::get(CGM.VoidTy,
1449 llvm::IRBuilder<> b(llvm::BasicBlock::Create(CGM.getLLVMContext(), "entry",
1564 // Create the function declaration.
1574 llvm::Function *fn = llvm::Function::Create(
2019 llvm::Function::Create(LTy, llvm::GlobalValue::LinkOnceODRLinkage,
2031 FunctionDecl *FD = FunctionDecl::Create(
2212 llvm::Function::Create(LTy, llvm::GlobalValue::LinkOnceODRLinkage,
2223 FunctionDecl *FD = FunctionDecl::Create(
2464 llvm::Function::Create(LTy, llvm::GlobalValue::InternalLinkage,
2475 FunctionDecl *FD = FunctionDecl::Create(
[all...]
H A DCGOpenMPRuntimeNVPTX.cpp272 Field = FieldDecl::Create(
288 Field = FieldDecl::Create(
299 IntegerLiteral::Create(C, Align,
705 // Create an worker function with no arguments.
707 WorkerFn = llvm::Function::Create(
1205 // Create the worker function
1386 // Create a unique global variable to indicate the execution mode of this target
2554 // Create a private scope that will globalize the arguments
2884 // Create the loop over the big sized data.
3012 // Step 1.2: Create
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Parse/
H A DParseStmtAsm.cpp62 bool Create) override;
130 bool Create) {
133 TheParser.getActions().GetOrCreateMSAsmLabel(Identifier, Loc, Create);
127 LookupInlineAsmLabel(StringRef Identifier, llvm::SourceMgr &LSM, llvm::SMLoc Location, bool Create) argument
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DMergeFunctions.cpp155 // - Create debug-info for the call (to the shared implementation) made by
699 NewG = Function::Create(G->getFunctionType(), G->getLinkage(),
702 BB = BasicBlock::Create(F->getContext(), "", NewG);
814 Function *NewF = Function::Create(F->getFunctionType(), F->getLinkage(),
H A DGlobalOpt.cpp607 NewPtr = GetElementPtrInst::Create(
867 // Create the new global variable. The contents of the malloc'd memory is
1202 PHINode::Create(PointerType::get(ST->getElementType(FieldNo), AS),
1243 // Create the new GEP idx vector.
1248 Value *NGEPI = GetElementPtrInst::Create(GEPI->getResultElementType(), NewPtr, GEPIdx,
1367 // Create the block to check the first condition. Put all these blocks at the
1369 BasicBlock *NullPtrBlock = BasicBlock::Create(OrigBB->getContext(),
1376 BranchInst::Create(NullPtrBlock, ContBB, RunningOr, OrigBB);
1386 BasicBlock *FreeBlock = BasicBlock::Create(Cmp->getContext(), "free_it",
1388 BasicBlock *NextBlock = BasicBlock::Create(Cm
[all...]
H A DWholeProgramDevirt.cpp341 BranchInst::Create(II->getNormalDest(), CS.getInstruction());
1069 JT = Function::Create(FT, Function::ExternalLinkage,
1074 JT = Function::Create(FT, Function::InternalLinkage,
1087 BasicBlock *BB = BasicBlock::Create(M.getContext(), "", JT, nullptr);
1091 auto *CI = CallInst::Create(Intr, JTArgs, "", BB);
1093 ReturnInst::Create(M.getContext(), nullptr, BB);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp658 CallInst *C = CallInst::Create(TsanAtomicStore[Idx], Args);
675 CallInst *C = CallInst::Create(F, Args);
715 CallInst *C = CallInst::Create(F, Args);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopSimplify.cpp268 // Create the new outer loop.
377 // Create and insert the new backedge block...
378 BasicBlock *BEBlock = BasicBlock::Create(Header->getContext(),
380 BranchInst *BETerminator = BranchInst::Create(Header, BEBlock);
394 PHINode *NewPN = PHINode::Create(PN->getType(), BackedgeBlocks.size(),
H A DLoopUnrollAndJam.cpp487 BranchInst::Create(SubLoopBlocksFirst[It], SubTerm);
500 BranchInst::Create(LoopExit, Term);
513 BranchInst::Create(AftBlocksFirst[It], AftTerm);
H A DSimplifyCFG.cpp1203 InfLoopBlock = BasicBlock::Create(BB->getContext(), "infloop",
1205 BranchInst::Create(InfLoopBlock, InfLoopBlock);
1596 // Create a new PHI in the successor block and populate it.
1599 auto *PN = PHINode::Create(Op->getType(), Insts.size(),
2132 // Create a select whose true value is the speculatively executed value and
2229 BasicBlock::Create(BB->getContext(), RealDest->getName() + ".critedge",
2231 BranchInst *CritEdgeBranch = BranchInst::Create(RealDest, EdgeBB);
2831 // Create (PBI_Cond and PBI_C) or (!PBI_Cond and BI_Value)
2843 // Create (PBI_Cond and BI_Value) or (!PBI_Cond and PBI_C)
2865 BranchInst *New_PBI = BranchInst::Create(TrueDes
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp1200 return CallInst::Create(F, {X, II.getArgOperand(1)});
1222 // Create a mask for bits above (ctlz) or below (cttz) the first known one.
1726 return CallInst::Create(
1732 return BinaryOperator::Create(*Action.BinaryOp, II->getArgOperand(0),
1737 return CastInst::Create(*Action.CastOp, II->getArgOperand(0), II->getType(),
1747 return BinaryOperator::Create(
1977 return CallInst::Create(Fshl, { Op0, Op1, LeftShiftC });
1997 return CallInst::Create(Bswap, { Op0 });
2324 return SelectInst::Create(Cond, Call0, Call1);
3152 return SelectInst::Create(NewSelecto
[all...]
H A DInstCombineCompares.cpp648 // 1. Create the PHI nodes without any incoming values.
649 // 2. Create all the other values.
659 // Create the new PHI nodes, without adding any incoming values.
663 // Create empty phi nodes. This avoids cyclic dependencies when creating
666 NewInsts[PHI] = PHINode::Create(IndexType, PHI->getNumIncomingValues(),
671 // Create all the other instructions.
1335 return ExtractValueInst::Create(Call, 1, "sadd.overflow");
1356 return ICmpInst::Create(Instruction::ICmp, Pred, Masked, Zero);
1385 return ICmpInst::Create(Instruction::ICmp,
1920 return BinaryOperator::Create(BOp
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp758 Expr *NewIDC = ConceptSpecializationExpr::Create(
790 TemplateTypeParmDecl *NewTTP = TemplateTypeParmDecl::Create(*this,
829 Param = NonTypeTemplateParmDecl::Create(*this, getTranslationUnitDecl(),
839 Param = NonTypeTemplateParmDecl::Create(*this, getTranslationUnitDecl(),
867 = TemplateTemplateParmDecl::Create(*this, getTranslationUnitDecl(),
872 TemplateParameterList::Create(*this, SourceLocation(),
883 // Create the canonical template template parameter entry.
970 TUDecl = TranslationUnitDecl::Create(*this);
1242 ExternCContext = ExternCContextDecl::Create(*this, getTranslationUnitDecl());
1250 auto *BuiltinTemplate = BuiltinTemplateDecl::Create(*thi
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Disassembler/llvm/
H A DDisassemblerLLVMC.cpp49 Create(const char *triple, const char *cpu, const char *features_str,
926 DisassemblerLLVMC::MCDisasmInstance::Create(const char *triple, const char *cpu, function in class:DisassemblerLLVMC::MCDisasmInstance
1207 m_disasm_up = MCDisasmInstance::Create(triple_str, cpu, features_str.c_str(),
1217 MCDisasmInstance::Create(thumb_triple.c_str(), "", features_str.c_str(),
1223 /* Create alternate disassembler for MIPS16 and microMIPS */
1230 m_alternate_disasm_up = MCDisasmInstance::Create(
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DIRForTarget.cpp530 return CallInst::Create(
880 CallInst *srN_call = CallInst::Create(m_sel_registerName, srN_arguments,
1031 CallInst *ogC_call = CallInst::Create(m_objc_getClass, ogC_arguments,
1611 return GetElementPtrInst::Create(
1794 GetElementPtrInst *get_element_ptr = GetElementPtrInst::Create(
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DObjCARCOpts.cpp693 CallInst *Release = CallInst::Create(
777 return CallInst::Create(&CI, OpBundles);
980 // Create the declaration lazily.
985 CallInst::Create(Decl, Call->getArgOperand(0), "", Call);
1703 CallInst *Call = CallInst::Create(Decl, MyArg, "", InsertPt);
1716 CallInst *Call = CallInst::Create(Decl, MyArg, "", InsertPt);
2052 CallInst *CI = CallInst::Create(Decl, EarlierCall, "", Call);
2081 CallInst *CI = CallInst::Create(Decl, EarlierCall, "", Call);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp345 S->setDeclGroup(DeclGroupRef(DeclGroup::Create(Record.getContext(),
764 ASTConstraintSatisfaction::Create(Record.getContext(),
2758 S = IntegerLiteral::Create(Context, Empty);
2762 S = FloatingLiteral::Create(Context, Empty);
3054 S = CXXTryStmt::Create(Context, Empty,
3541 S = ExprWithCleanups::Create(Context, Empty,
3652 S = PseudoObjectExpr::Create(Context, Empty, numSemanticExprs);
3668 S = CoroutineBodyStmt::Create(Context, Empty, NumParams);
3690 S = ConceptSpecializationExpr::Create(Context, Empty, numTemplateArgs);
3697 S = RequiresExpr::Create(Contex
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp358 // Create the base integer constant.
1130 // Create a ConstantAggregateZero value if all elements are zeros.
2577 // Okay, we didn't get a hit. Create a node of the right class, link it in,
3071 return CastInst::Create((Instruction::CastOps)getOpcode(),
3074 return SelectInst::Create(Ops[0], Ops[1], Ops[2]);
3076 return InsertElementInst::Create(Ops[0], Ops[1], Ops[2]);
3078 return ExtractElementInst::Create(Ops[0], Ops[1]);
3080 return InsertValueInst::Create(Ops[0], Ops[1], getIndices());
3082 return ExtractValueInst::Create(Ops[0], getIndices());
3091 return GetElementPtrInst::Create(G
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
H A DStmtObjC.h196 static ObjCAtTryStmt *Create(const ASTContext &Context,

Completed in 607 milliseconds

<<111213141516171819