Searched refs:Builder (Results 276 - 300 of 306) sorted by relevance

<<111213

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp1096 Builder.SetInsertPoint(Pred->getTerminator());
1099 Res = Builder.CreateLShr(Res, ConstantInt::get(InVal->getType(),
1101 Res = Builder.CreateTrunc(Res, Ty, "extract.t");
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp825 InstrProfSummaryBuilder Builder(std::move(Cutoffs));
875 Builder.addRecord(Func);
953 std::unique_ptr<ProfileSummary> PS(Builder.getSummary());
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaCoroutine.cpp985 CoroutineStmtBuilder Builder(*this, *FD, *Fn, Body);
986 if (Builder.isInvalid() || !Builder.buildStatements())
990 Body = CoroutineBodyStmt::Create(Context, Builder);
H A DSemaDeclCXX.cpp11763 NestedNameSpecifierLocBuilder Builder;
11764 Builder.MakeTrivial(Context, Corrected.getCorrectionSpecifier(),
11766 QualifierLoc = Builder.getWithLocInContext(Context);
13119 const ExprBuilder &Builder;
13126 return assertNotNull(S.ImpCastExprToType(Builder.build(S, Loc), Type,
13131 CastBuilder(const ExprBuilder &Builder, QualType Type, ExprValueKind Kind,
13133 : Builder(Builder), Type(Type), Kind(Kind), Path(Path) {}
13137 const ExprBuilder &Builder;
13142 S.CreateBuiltinUnaryOp(Loc, UO_Deref, Builder
[all...]
H A DSemaDecl.cpp266 TypeLocBuilder Builder; local
267 DependentNameTypeLoc DepTL = Builder.push<DependentNameTypeLoc>(T);
271 return S.CreateParsedType(T, Builder.getTypeSourceInfo(Context, T));
508 TypeLocBuilder Builder; local
509 Builder.pushTypeSpec(T).setNameLoc(NameLoc);
512 ElaboratedTypeLoc ElabTL = Builder.push<ElaboratedTypeLoc>(T);
515 return CreateParsedType(T, Builder.getTypeSourceInfo(Context, T));
596 TypeLocBuilder Builder; local
597 DependentNameTypeLoc DepTL = Builder.push<DependentNameTypeLoc>(T);
601 return CreateParsedType(T, Builder
839 TypeLocBuilder Builder; local
[all...]
H A DSemaExprObjC.cpp2333 DiagnosticBuilder Builder = S.Diag(MsgLoc, DiagID) local
2343 Builder.AddFixItHint(FixItHint::CreateInsertion(Edit.OrigLoc,
2348 Builder.AddFixItHint(
2354 Builder.AddFixItHint(FixItHint::CreateRemoval(Edit.getFileRange(SM)));
H A DTreeTransform.h7340 CoroutineStmtBuilder Builder(SemaRef, *FD, *ScopeInfo, BodyRes.get());
7341 if (Builder.isInvalid())
7350 Builder.ReturnValue = Res.get();
7362 if (!Builder.buildDependentStatements())
7370 Builder.OnFallthrough = Res.get();
7377 Builder.OnException = Res.get();
7384 Builder.ReturnStmtOnAllocFailure = Res.get();
7393 Builder.Allocate = AllocRes.get();
7398 Builder.Deallocate = DeallocRes.get();
7404 Builder
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp445 CounterExpressionBuilder Builder; member in struct:__anon436::CounterCoverageMappingBuilder
458 return Builder.subtract(LHS, RHS);
463 return Builder.add(LHS, RHS);
856 CoverageMappingWriter Writer(VirtualFileMapping, Builder.getExpressions(),
H A DCGCXXABI.h616 CGF.Builder.CreateCatchRet(CPI, BB);
H A DCodeGenModule.cpp223 // The OpenMP-IR-Builder should eventually replace the above runtime codegens
225 // OpenMP-IR-Builder is opt-in only.
1319 llvm::ConstantAsMetadata::get(CGF->Builder.getInt32(
1361 llvm::ConstantAsMetadata::get(CGF->Builder.getInt32(AddrSpc)));
4761 ConstantInitBuilder Builder(*this);
4762 auto Fields = Builder.beginStruct(STy);
5924 return CGF.Builder.CreateCall(CreateRuntimeFunction(FTy,
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DIRBuilder.h1 //===- llvm/IRBuilder.h - Builder for LLVM Instructions ---------*- C++ -*-===//
116 // Builder configuration methods
277 IRBuilderBase &Builder; member in class:llvm::IRBuilderBase::InsertPointGuard
284 : Builder(B), Block(B.GetInsertBlock()), Point(B.GetInsertPoint()),
291 Builder.restoreIP(InsertPoint(Block, Point));
292 Builder.SetCurrentDebugLocation(DbgLoc);
299 IRBuilderBase &Builder; member in class:llvm::IRBuilderBase::FastMathFlagGuard
305 : Builder(B), FMF(B.FMF), FPMathTag(B.DefaultFPMathTag) {}
311 Builder.FMF = FMF;
312 Builder
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Lex/
H A DLiteralSupport.cpp1783 const DiagnosticBuilder &Builder =
1800 Builder << MakeCharSourceRange(Features, SourceLoc, TokBegin,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfReader.cpp795 InstrProfSummaryBuilder Builder(ProfileSummaryBuilder::DefaultCutoffs);
796 Summary = Builder.getSummary();
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ProfileData/Coverage/
H A DCoverageMapping.cpp569 SegmentBuilder Builder(Segments);
582 Builder.buildSegmentsImpl(CombinedRegions);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineOutliner.cpp1131 IRBuilder<> Builder(EntryBB);
1132 Builder.CreateRetVoid();
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.h770 Instruction *emitLeadingFence(IRBuilder<> &Builder, Instruction *Inst,
772 Instruction *emitTrailingFence(IRBuilder<> &Builder, Instruction *Inst,
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Basic/
H A DTargetInfo.h769 MacroBuilder &Builder) const = 0;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp815 IRBuilder<> Builder(Inst);
818 Res = Builder.CreateInsertValue(Res, L, i);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp2114 CodeCompletionBuilder Builder(getAllocator(), getCodeCompletionTUInfo(),
2116 Builder.AddTypedTextChunk(C->Completion->getTypedText());
2118 Completion = Builder.TakeString();
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DFastISel.cpp853 auto Builder = local
855 const MCInstrDesc &MCID = Builder.getInstr()->getDesc();
857 Builder.addImm(0);
H A DSelectionDAGBuilder.cpp7260 SelectionDAGBuilder &Builder) {
7274 const_cast<Constant *>(LoadInput), LoadTy, *Builder.DL))
7275 return Builder.getValue(LoadCst);
7284 if (Builder.AA && Builder.AA->pointsToConstantMemory(PtrVal)) {
7285 Root = Builder.DAG.getEntryNode();
7289 Root = Builder.DAG.getRoot();
7292 SDValue Ptr = Builder.getValue(PtrVal);
7293 SDValue LoadVal = Builder.DAG.getLoad(LoadVT, Builder
7259 getMemCmpLoad(const Value *PtrVal, MVT LoadVT, SelectionDAGBuilder &Builder) argument
8718 addStackMapLiveVars(ImmutableCallSite CS, unsigned StartIdx, const SDLoc &DL, SmallVectorImpl<SDValue> &Ops, SelectionDAGBuilder &Builder) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp3211 IRBuilder<> Builder(InsertPt);
3212 IVOper = Builder.CreateTruncOrBitCast(IVOper, OperTy, "lsr.chain");
3231 IRBuilder<> Builder(L->getLoopLatch()->getTerminator());
3232 Builder.SetCurrentDebugLocation(PostIncV->getDebugLoc());
3233 IVOper = Builder.CreatePointerCast(IVSrc, PostIncTy, "lsr.chain");
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DASTImporter.cpp8462 NestedNameSpecifierLocBuilder Builder; local
8484 Builder.Extend(getToContext(), Spec->getAsIdentifier(), ToLocalBeginLoc,
8489 Builder.Extend(getToContext(), Spec->getAsNamespace(), ToLocalBeginLoc,
8494 Builder.Extend(getToContext(), Spec->getAsNamespaceAlias(),
8507 Builder.Extend(getToContext(), ToLocalBeginLoc, TSI->getTypeLoc(),
8511 Builder.Extend(getToContext(), SourceLocation{}, TSI->getTypeLoc(),
8517 Builder.MakeGlobal(getToContext(), ToLocalBeginLoc);
8525 Builder.MakeSuper(getToContext(), Spec->getAsRecordDecl(),
8532 return Builder.getWithLocInContext(getToContext());
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIInstrInfo.cpp727 MachineInstrBuilder Builder = BuildMI(MBB, MI, DL, local
730 Builder.addReg(RI.getSubReg(SrcReg, SubIdx));
733 Builder.addReg(DestReg, RegState::Define | RegState::Implicit);
736 Builder.addReg(SrcReg, getKillRegState(UseKill) | RegState::Implicit);
808 MachineInstrBuilder Builder = BuildMI(MBB, MI, DL, local
810 Builder.addImm(IdxValue);
H A DAMDGPULegalizerInfo.cpp1051 auto &Builder = getActionDefinitionsBuilder(Op)
1073 Builder.widenScalarIf(
1082 Builder.widenScalarIf(

Completed in 402 milliseconds

<<111213