/freebsd-13-stable/contrib/llvm-project/clang/lib/Basic/ |
H A D | Targets.h | 34 void DefineStd(clang::MacroBuilder &Builder, llvm::StringRef MacroName, 38 void defineCPUMacros(clang::MacroBuilder &Builder, llvm::StringRef CPUName, 43 clang::MacroBuilder &Builder);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LowerAtomic.cpp | 25 IRBuilder<> Builder(CXI); 30 LoadInst *Orig = Builder.CreateLoad(Val->getType(), Ptr); 31 Value *Equal = Builder.CreateICmpEQ(Orig, Cmp); 32 Value *Res = Builder.CreateSelect(Equal, Val, Orig); 33 Builder.CreateStore(Res, Ptr); 35 Res = Builder.CreateInsertValue(UndefValue::get(CXI->getType()), Orig, 0); 36 Res = Builder.CreateInsertValue(Res, Equal, 1); 44 IRBuilder<> Builder(RMWI); 48 LoadInst *Orig = Builder.CreateLoad(Val->getType(), Ptr); 57 Res = Builder [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Transforms/ |
H A D | Coroutines.h | 20 void addCoroutinePassesToExtensionPoints(PassManagerBuilder &Builder);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | AtomicExpandPass.cpp | 82 insertRMWLLSCLoop(IRBuilder<> &Builder, Type *ResultTy, Value *Addr, 98 IRBuilder<> &Builder, Type *ResultType, Value *Addr, 316 IRBuilder<> Builder(I); 318 auto LeadingFence = TLI->emitLeadingFence(Builder, I, Order); 320 auto TrailingFence = TLI->emitTrailingFence(Builder, I, Order); 346 IRBuilder<> Builder(LI); 351 Value *NewAddr = Builder.CreateBitCast(Addr, PT); 353 auto *NewLI = Builder.CreateLoad(NewTy, NewAddr); 359 Value *NewVal = Builder.CreateBitCast(NewLI, LI->getType()); 372 [](IRBuilder<> &Builder, Valu 466 createCmpXchgInstFun(IRBuilder< &Builder, Value *Addr, Value *Loaded, Value *NewVal, AtomicOrdering MemOpOrder, Value *&Success, Value *&NewLoaded) argument 494 performAtomicOp(AtomicRMWInst::BinOp Op, IRBuilder<> &Builder, Value *Loaded, Value *Inc) argument 634 createMaskInstrs(IRBuilder< &Builder, Instruction *I, Type *ValueType, Value *Addr, unsigned MinWordSize) argument 680 extractMaskedValue(IRBuilder< &Builder, Value *WideWord, const PartwordMaskValues &PMV) argument 691 insertMaskedValue(IRBuilder< &Builder, Value *WideWord, Value *Updated, const PartwordMaskValues &PMV) argument 709 performMaskedAtomicOp(AtomicRMWInst::BinOp Op, IRBuilder<> &Builder, Value *Loaded, Value *Shifted_Inc, Value *Inc, const PartwordMaskValues &PMV) argument 1019 insertRMWLLSCLoop( IRBuilder< &Builder, Type *ResultTy, Value *Addr, AtomicOrdering MemOpOrder, function_ref<Value *(IRBuilder<> &, Value *)> PerformOp) argument 1381 insertRMWCmpXchgLoop( IRBuilder< &Builder, Type *ResultTy, Value *Addr, AtomicOrdering MemOpOrder, function_ref<Value *(IRBuilder<> &, Value *)> PerformOp, CreateCmpXchgInstFun CreateCmpXchg) argument [all...] |
H A D | IntrinsicLowering.cpp | 43 IRBuilder<> Builder(CI->getParent(), CI->getIterator()); 45 CallInst *NewCI = Builder.CreateCall(FCache, Args); 58 IRBuilder<> Builder(IP); 63 Value *Tmp1 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 8), 65 Value *Tmp2 = Builder.CreateLShr(V, ConstantInt::get(V->getType(), 8), 67 V = Builder.CreateOr(Tmp1, Tmp2, "bswap.i16"); 71 Value *Tmp4 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 24), 73 Value *Tmp3 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 8), 75 Value *Tmp2 = Builder.CreateLShr(V, ConstantInt::get(V->getType(), 8), 77 Value *Tmp1 = Builder [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | EscapeEnumerator.h | 32 IRBuilder<> Builder; member in class:llvm::EscapeEnumerator 40 Builder(F.getContext()), Done(false),
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Basic/Targets/ |
H A D | AVR.cpp | 299 MacroBuilder &Builder) const { 300 Builder.defineMacro("AVR"); 301 Builder.defineMacro("__AVR"); 302 Builder.defineMacro("__AVR__"); 303 Builder.defineMacro("__ELF__"); 310 Builder.defineMacro(It->DefineName);
|
H A D | WebAssembly.cpp | 72 MacroBuilder &Builder) const { 73 defineCPUMacros(Builder, "wasm", /*Tuning=*/false); 75 Builder.defineMacro("__wasm_simd128__"); 77 Builder.defineMacro("__wasm_unimplemented_simd128__"); 79 Builder.defineMacro("__wasm_nontrapping_fptoint__"); 81 Builder.defineMacro("__wasm_sign_ext__"); 83 Builder.defineMacro("__wasm_exception_handling__"); 85 Builder.defineMacro("__wasm_bulk_memory__"); 87 Builder.defineMacro("__wasm_atomics__"); 89 Builder [all...] |
H A D | BPF.cpp | 29 MacroBuilder &Builder) const { 30 Builder.defineMacro("__bpf__"); 31 Builder.defineMacro("__BPF__");
|
H A D | Lanai.cpp | 58 MacroBuilder &Builder) const { 60 Builder.defineMacro("__lanai__"); 65 Builder.defineMacro("__LANAI_V11__");
|
H A D | XCore.cpp | 30 MacroBuilder &Builder) const { 31 Builder.defineMacro("__XS1B__");
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaCodeComplete.cpp | 1683 CodeCompletionBuilder Builder(Results.getAllocator(), 1693 Builder.AddTypedTextChunk("typename"); 1694 Builder.AddChunk(CodeCompletionString::CK_HorizontalSpace); 1695 Builder.AddPlaceholderChunk("name"); 1696 Results.AddResult(Result(Builder.TakeString())); 1703 Builder.AddTypedTextChunk("decltype"); 1704 Builder.AddChunk(CodeCompletionString::CK_LeftParen); 1705 Builder.AddPlaceholderChunk("expression"); 1706 Builder.AddChunk(CodeCompletionString::CK_RightParen); 1707 Results.AddResult(Result(Builder 1822 AddUsingAliasResult(CodeCompletionBuilder &Builder, ResultBuilder &Results) argument 1931 AddStaticAssertResult(CodeCompletionBuilder &Builder, ResultBuilder &Results, const LangOptions &LangOpts) argument 1947 AddOverrideResults(ResultBuilder &Results, const CodeCompletionContext &CCContext, CodeCompletionBuilder &Builder) argument 4499 AddObjCBlockCall(ASTContext &Context, const PrintingPolicy &Policy, CodeCompletionBuilder &Builder, const NamedDecl *BD, const FunctionTypeLoc &BlockLoc, const FunctionProtoTypeLoc &BlockProtoLoc) argument 8083 AddObjCPassingTypeChunk(QualType Type, unsigned ObjCDeclQuals, ASTContext &Context, const PrintingPolicy &Policy, CodeCompletionBuilder &Builder) argument [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | AutoUpgrade.cpp | 901 static Value *UpgradeX86PSLLDQIntrinsics(IRBuilder<> &Builder, argument 907 Type *VecTy = FixedVectorType::get(Builder.getInt8Ty(), NumElts); 908 Op = Builder.CreateBitCast(Op, VecTy, "cast"); 926 Res = Builder.CreateShuffleVector(Res, Op, makeArrayRef(Idxs, NumElts)); 930 return Builder.CreateBitCast(Res, ResultTy, "cast"); 935 static Value *UpgradeX86PSRLDQIntrinsics(IRBuilder<> &Builder, Value *Op, argument 941 Type *VecTy = FixedVectorType::get(Builder.getInt8Ty(), NumElts); 942 Op = Builder.CreateBitCast(Op, VecTy, "cast"); 960 Res = Builder.CreateShuffleVector(Op, Res, makeArrayRef(Idxs, NumElts)); 964 return Builder 967 getX86MaskVec(IRBuilder< &Builder, Value *Mask, unsigned NumElts) argument 987 EmitX86Select(IRBuilder< &Builder, Value *Mask, Value *Op0, Value *Op1) argument 999 EmitX86ScalarSelect(IRBuilder< &Builder, Value *Mask, Value *Op0, Value *Op1) argument 1016 UpgradeX86ALIGNIntrinsics(IRBuilder< &Builder, Value *Op0, Value *Op1, Value *Shift, Value *Passthru, Value *Mask, bool IsVALIGN) argument 1062 UpgradeX86VPERMT2Intrinsics(IRBuilder< &Builder, CallInst &CI, bool ZeroMask, bool IndexForm) argument 1123 UpgradeX86AddSubSatIntrinsics(IRBuilder< &Builder, CallInst &CI, bool IsSigned, bool IsAddition) argument 1143 upgradeX86Rotate(IRBuilder< &Builder, CallInst &CI, bool IsRotateRight) argument 1170 upgradeX86vpcom(IRBuilder< &Builder, CallInst &CI, unsigned Imm, bool IsSigned) argument 1209 upgradeX86ConcatShift(IRBuilder< &Builder, CallInst &CI, bool IsShiftRight, bool ZeroMask) argument 1243 UpgradeMaskedStore(IRBuilder< &Builder, Value *Ptr, Value *Data, Value *Mask, bool Aligned) argument 1265 UpgradeMaskedLoad(IRBuilder< &Builder, Value *Ptr, Value *Passthru, Value *Mask, bool Aligned) argument 1288 upgradeAbs(IRBuilder< &Builder, CallInst &CI) argument 1302 upgradeIntMinMax(IRBuilder< &Builder, CallInst &CI, ICmpInst::Predicate Pred) argument 1315 upgradePMULDQ(IRBuilder< &Builder, CallInst &CI, bool IsSigned) argument 1345 ApplyX86MaskOn1BitsVec(IRBuilder< &Builder, Value *Vec, Value *Mask) argument 1367 upgradeMaskedCompare(IRBuilder< &Builder, CallInst &CI, unsigned CC, bool Signed) argument 1399 UpgradeX86MaskedShift(IRBuilder< &Builder, CallInst &CI, Intrinsic::ID IID) argument 1407 upgradeMaskedMove(IRBuilder< &Builder, CallInst &CI) argument 1422 UpgradeMaskToInt(IRBuilder< &Builder, CallInst &CI) argument 1431 upgradeAVX512MaskToSelect(StringRef Name, IRBuilder<> &Builder, CallInst &CI, Value *&Rep) argument [all...] |
H A D | DebugInfo.cpp | 751 void LLVMDisposeDIBuilder(LLVMDIBuilderRef Builder) { argument 752 delete unwrap(Builder); 755 void LLVMDIBuilderFinalize(LLVMDIBuilderRef Builder) { argument 756 unwrap(Builder)->finalize(); 760 LLVMDIBuilderRef Builder, LLVMDWARFSourceLanguage Lang, 769 return wrap(unwrap(Builder)->createCompileUnit( 780 LLVMDIBuilderCreateFile(LLVMDIBuilderRef Builder, const char *Filename, argument 783 return wrap(unwrap(Builder)->createFile(StringRef(Filename, FilenameLen), 788 LLVMDIBuilderCreateModule(LLVMDIBuilderRef Builder, LLVMMetadataRef ParentScope, argument 793 return wrap(unwrap(Builder) 759 LLVMDIBuilderCreateCompileUnit( LLVMDIBuilderRef Builder, LLVMDWARFSourceLanguage Lang, LLVMMetadataRef FileRef, const char *Producer, size_t ProducerLen, LLVMBool isOptimized, const char *Flags, size_t FlagsLen, unsigned RuntimeVer, const char *SplitName, size_t SplitNameLen, LLVMDWARFEmissionKind Kind, unsigned DWOId, LLVMBool SplitDebugInlining, LLVMBool DebugInfoForProfiling, const char *SysRoot, size_t SysRootLen, const char *SDK, size_t SDKLen) argument 800 LLVMDIBuilderCreateNameSpace(LLVMDIBuilderRef Builder, LLVMMetadataRef ParentScope, const char *Name, size_t NameLen, LLVMBool ExportSymbols) argument 808 LLVMDIBuilderCreateFunction( LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, const char *Name, size_t NameLen, const char *LinkageName, size_t LinkageNameLen, LLVMMetadataRef File, unsigned LineNo, LLVMMetadataRef Ty, LLVMBool IsLocalToUnit, LLVMBool IsDefinition, unsigned ScopeLine, LLVMDIFlags Flags, LLVMBool IsOptimized) argument 823 LLVMDIBuilderCreateLexicalBlock( LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, LLVMMetadataRef File, unsigned Line, unsigned Col) argument 832 LLVMDIBuilderCreateLexicalBlockFile(LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, LLVMMetadataRef File, unsigned Discriminator) argument 842 LLVMDIBuilderCreateImportedModuleFromNamespace(LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, LLVMMetadataRef NS, LLVMMetadataRef File, unsigned Line) argument 854 LLVMDIBuilderCreateImportedModuleFromAlias(LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, LLVMMetadataRef ImportedEntity, LLVMMetadataRef File, unsigned Line) argument 866 LLVMDIBuilderCreateImportedModuleFromModule(LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, LLVMMetadataRef M, LLVMMetadataRef File, unsigned Line) argument 878 LLVMDIBuilderCreateImportedDeclaration(LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, LLVMMetadataRef Decl, LLVMMetadataRef File, unsigned Line, const char *Name, size_t NameLen) argument 939 LLVMDIBuilderCreateMacro(LLVMDIBuilderRef Builder, LLVMMetadataRef ParentMacroFile, unsigned Line, LLVMDWARFMacinfoRecordType RecordType, const char *Name, size_t NameLen, const char *Value, size_t ValueLen) argument 952 LLVMDIBuilderCreateTempMacroFile(LLVMDIBuilderRef Builder, LLVMMetadataRef ParentMacroFile, unsigned Line, LLVMMetadataRef File) argument 959 LLVMDIBuilderCreateEnumerator(LLVMDIBuilderRef Builder, const char *Name, size_t NameLen, int64_t Value, LLVMBool IsUnsigned) argument 967 LLVMDIBuilderCreateEnumerationType( LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, const char *Name, size_t NameLen, LLVMMetadataRef File, unsigned LineNumber, uint64_t SizeInBits, uint32_t AlignInBits, LLVMMetadataRef *Elements, unsigned NumElements, LLVMMetadataRef ClassTy) argument 979 LLVMDIBuilderCreateUnionType( LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, const char *Name, size_t NameLen, LLVMMetadataRef File, unsigned LineNumber, uint64_t SizeInBits, uint32_t AlignInBits, LLVMDIFlags Flags, LLVMMetadataRef *Elements, unsigned NumElements, unsigned RunTimeLang, const char *UniqueId, size_t UniqueIdLen) argument 995 LLVMDIBuilderCreateArrayType(LLVMDIBuilderRef Builder, uint64_t Size, uint32_t AlignInBits, LLVMMetadataRef Ty, LLVMMetadataRef *Subscripts, unsigned NumSubscripts) argument 1006 LLVMDIBuilderCreateVectorType(LLVMDIBuilderRef Builder, uint64_t Size, uint32_t AlignInBits, LLVMMetadataRef Ty, LLVMMetadataRef *Subscripts, unsigned NumSubscripts) argument 1017 LLVMDIBuilderCreateBasicType(LLVMDIBuilderRef Builder, const char *Name, size_t NameLen, uint64_t SizeInBits, LLVMDWARFTypeEncoding Encoding, LLVMDIFlags Flags) argument 1026 LLVMDIBuilderCreatePointerType( LLVMDIBuilderRef Builder, LLVMMetadataRef PointeeTy, uint64_t SizeInBits, uint32_t AlignInBits, unsigned AddressSpace, const char *Name, size_t NameLen) argument 1035 LLVMDIBuilderCreateStructType( LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, const char *Name, size_t NameLen, LLVMMetadataRef File, unsigned LineNumber, uint64_t SizeInBits, uint32_t AlignInBits, LLVMDIFlags Flags, LLVMMetadataRef DerivedFrom, LLVMMetadataRef *Elements, unsigned NumElements, unsigned RunTimeLang, LLVMMetadataRef VTableHolder, const char *UniqueId, size_t UniqueIdLen) argument 1051 LLVMDIBuilderCreateMemberType( LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, const char *Name, size_t NameLen, LLVMMetadataRef File, unsigned LineNo, uint64_t SizeInBits, uint32_t AlignInBits, uint64_t OffsetInBits, LLVMDIFlags Flags, LLVMMetadataRef Ty) argument 1062 LLVMDIBuilderCreateUnspecifiedType(LLVMDIBuilderRef Builder, const char *Name, size_t NameLen) argument 1068 LLVMDIBuilderCreateStaticMemberType( LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, const char *Name, size_t NameLen, LLVMMetadataRef File, unsigned LineNumber, LLVMMetadataRef Type, LLVMDIFlags Flags, LLVMValueRef ConstantVal, uint32_t AlignInBits) argument 1081 LLVMDIBuilderCreateObjCIVar(LLVMDIBuilderRef Builder, const char *Name, size_t NameLen, LLVMMetadataRef File, unsigned LineNo, uint64_t SizeInBits, uint32_t AlignInBits, uint64_t OffsetInBits, LLVMDIFlags Flags, LLVMMetadataRef Ty, LLVMMetadataRef PropertyNode) argument 1095 LLVMDIBuilderCreateObjCProperty(LLVMDIBuilderRef Builder, const char *Name, size_t NameLen, LLVMMetadataRef File, unsigned LineNo, const char *GetterName, size_t GetterNameLen, const char *SetterName, size_t SetterNameLen, unsigned PropertyAttributes, LLVMMetadataRef Ty) argument 1109 LLVMDIBuilderCreateObjectPointerType(LLVMDIBuilderRef Builder, LLVMMetadataRef Type) argument 1115 LLVMDIBuilderCreateTypedef(LLVMDIBuilderRef Builder, LLVMMetadataRef Type, const char *Name, size_t NameLen, LLVMMetadataRef File, unsigned LineNo, LLVMMetadataRef Scope, uint32_t AlignInBits) argument 1125 LLVMDIBuilderCreateInheritance(LLVMDIBuilderRef Builder, LLVMMetadataRef Ty, LLVMMetadataRef BaseTy, uint64_t BaseOffset, uint32_t VBPtrOffset, LLVMDIFlags Flags) argument 1135 LLVMDIBuilderCreateForwardDecl( LLVMDIBuilderRef Builder, unsigned Tag, const char *Name, size_t NameLen, LLVMMetadataRef Scope, LLVMMetadataRef File, unsigned Line, unsigned RuntimeLang, uint64_t SizeInBits, uint32_t AlignInBits, const char *UniqueIdentifier, size_t UniqueIdentifierLen) argument 1147 LLVMDIBuilderCreateReplaceableCompositeType( LLVMDIBuilderRef Builder, unsigned Tag, const char *Name, size_t NameLen, LLVMMetadataRef Scope, LLVMMetadataRef File, unsigned Line, unsigned RuntimeLang, uint64_t SizeInBits, uint32_t AlignInBits, LLVMDIFlags Flags, const char *UniqueIdentifier, size_t UniqueIdentifierLen) argument 1161 LLVMDIBuilderCreateQualifiedType(LLVMDIBuilderRef Builder, unsigned Tag, LLVMMetadataRef Type) argument 1168 LLVMDIBuilderCreateReferenceType(LLVMDIBuilderRef Builder, unsigned Tag, LLVMMetadataRef Type) argument 1175 LLVMDIBuilderCreateNullPtrType(LLVMDIBuilderRef Builder) argument 1180 LLVMDIBuilderCreateMemberPointerType(LLVMDIBuilderRef Builder, LLVMMetadataRef PointeeType, LLVMMetadataRef ClassType, uint64_t SizeInBits, uint32_t AlignInBits, LLVMDIFlags Flags) argument 1193 LLVMDIBuilderCreateBitFieldMemberType(LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, const char *Name, size_t NameLen, LLVMMetadataRef File, unsigned LineNumber, uint64_t SizeInBits, uint64_t OffsetInBits, uint64_t StorageOffsetInBits, LLVMDIFlags Flags, LLVMMetadataRef Type) argument 1208 LLVMDIBuilderCreateClassType(LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, const char *Name, size_t NameLen, LLVMMetadataRef File, unsigned LineNumber, uint64_t SizeInBits, uint32_t AlignInBits, uint64_t OffsetInBits, LLVMDIFlags Flags, LLVMMetadataRef DerivedFrom, LLVMMetadataRef *Elements, unsigned NumElements, LLVMMetadataRef VTableHolder, LLVMMetadataRef TemplateParamsNode, const char *UniqueIdentifier, size_t UniqueIdentifierLen) argument 1229 LLVMDIBuilderCreateArtificialType(LLVMDIBuilderRef Builder, LLVMMetadataRef Type) argument 1260 LLVMDIBuilderGetOrCreateTypeArray(LLVMDIBuilderRef Builder, LLVMMetadataRef *Types, size_t Length) argument 1268 LLVMDIBuilderCreateSubroutineType(LLVMDIBuilderRef Builder, LLVMMetadataRef File, LLVMMetadataRef *ParameterTypes, unsigned NumParameterTypes, LLVMDIFlags Flags) argument 1279 LLVMDIBuilderCreateExpression(LLVMDIBuilderRef Builder, int64_t *Addr, size_t Length) argument 1286 LLVMDIBuilderCreateConstantValueExpression(LLVMDIBuilderRef Builder, int64_t Value) argument 1291 LLVMDIBuilderCreateGlobalVariableExpression( LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, const char *Name, size_t NameLen, const char *Linkage, size_t LinkLen, LLVMMetadataRef File, unsigned LineNo, LLVMMetadataRef Ty, LLVMBool LocalToUnit, LLVMMetadataRef Expr, LLVMMetadataRef Decl, uint32_t AlignInBits) argument 1341 LLVMDIBuilderCreateTempGlobalVariableFwdDecl( LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, const char *Name, size_t NameLen, const char *Linkage, size_t LnkLen, LLVMMetadataRef File, unsigned LineNo, LLVMMetadataRef Ty, LLVMBool LocalToUnit, LLVMMetadataRef Decl, uint32_t AlignInBits) argument 1353 LLVMDIBuilderInsertDeclareBefore(LLVMDIBuilderRef Builder, LLVMValueRef Storage, LLVMMetadataRef VarInfo, LLVMMetadataRef Expr, LLVMMetadataRef DL, LLVMValueRef Instr) argument 1362 LLVMDIBuilderInsertDeclareAtEnd( LLVMDIBuilderRef Builder, LLVMValueRef Storage, LLVMMetadataRef VarInfo, LLVMMetadataRef Expr, LLVMMetadataRef DL, LLVMBasicBlockRef Block) argument 1371 LLVMDIBuilderInsertDbgValueBefore(LLVMDIBuilderRef Builder, LLVMValueRef Val, LLVMMetadataRef VarInfo, LLVMMetadataRef Expr, LLVMMetadataRef DebugLoc, LLVMValueRef Instr) argument 1383 LLVMDIBuilderInsertDbgValueAtEnd(LLVMDIBuilderRef Builder, LLVMValueRef Val, LLVMMetadataRef VarInfo, LLVMMetadataRef Expr, LLVMMetadataRef DebugLoc, LLVMBasicBlockRef Block) argument 1395 LLVMDIBuilderCreateAutoVariable( LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, const char *Name, size_t NameLen, LLVMMetadataRef File, unsigned LineNo, LLVMMetadataRef Ty, LLVMBool AlwaysPreserve, LLVMDIFlags Flags, uint32_t AlignInBits) argument 1405 LLVMDIBuilderCreateParameterVariable( LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, const char *Name, size_t NameLen, unsigned ArgNo, LLVMMetadataRef File, unsigned LineNo, LLVMMetadataRef Ty, LLVMBool AlwaysPreserve, LLVMDIFlags Flags) argument 1415 LLVMDIBuilderGetOrCreateSubrange(LLVMDIBuilderRef Builder, int64_t Lo, int64_t Count) argument 1420 LLVMDIBuilderGetOrCreateArray(LLVMDIBuilderRef Builder, LLVMMetadataRef *Data, size_t Length) argument [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86WinEHState.cpp | 61 void linkExceptionRegistration(IRBuilder<> &Builder, Function *Handler); 62 void unlinkExceptionRegistration(IRBuilder<> &Builder); 66 Value *emitEHLSDA(IRBuilder<> &Builder, Function *F); 71 void rewriteSetJmpCall(IRBuilder<> &Builder, Function &F, CallBase &Call, 276 IRBuilder<> Builder(&F->getEntryBlock(), F->getEntryBlock().begin()); 277 Type *Int8PtrType = Builder.getInt8PtrTy(); 278 Type *Int32Ty = Builder.getInt32Ty(); 279 Type *VoidTy = Builder.getVoidTy(); 283 RegNode = Builder.CreateAlloca(RegNodeTy); 285 Value *SP = Builder 372 emitEHLSDA(IRBuilder< &Builder, Function *F) argument 420 linkExceptionRegistration(IRBuilder< &Builder, Function *Handler) argument 438 unlinkExceptionRegistration(IRBuilder< &Builder) argument 458 rewriteSetJmpCall(IRBuilder< &Builder, Function &F, CallBase &Call, Value *State) argument [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm-c/ |
H A D | DebugInfo.h | 219 void LLVMDisposeDIBuilder(LLVMDIBuilderRef Builder); 224 void LLVMDIBuilderFinalize(LLVMDIBuilderRef Builder); 259 LLVMDIBuilderRef Builder, LLVMDWARFSourceLanguage Lang, 269 * \param Builder The \c DIBuilder. 276 LLVMDIBuilderCreateFile(LLVMDIBuilderRef Builder, const char *Filename, 282 * \param Builder The \c DIBuilder. 295 LLVMDIBuilderCreateModule(LLVMDIBuilderRef Builder, LLVMMetadataRef ParentScope, 303 * \param Builder The \c DIBuilder. 311 LLVMDIBuilderCreateNameSpace(LLVMDIBuilderRef Builder, 318 * \param Builder Th [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | BypassSlowDivision.cpp | 265 IRBuilder<> Builder(DivRemPair.BB, DivRemPair.BB->begin()); 266 Builder.SetCurrentDebugLocation(SlowDivOrRem->getDebugLoc()); 272 DivRemPair.Quotient = Builder.CreateSDiv(Dividend, Divisor); 273 DivRemPair.Remainder = Builder.CreateSRem(Dividend, Divisor); 275 DivRemPair.Quotient = Builder.CreateUDiv(Dividend, Divisor); 276 DivRemPair.Remainder = Builder.CreateURem(Dividend, Divisor); 279 Builder.CreateBr(SuccessorBB); 289 IRBuilder<> Builder(DivRemPair.BB, DivRemPair.BB->begin()); 290 Builder.SetCurrentDebugLocation(SlowDivOrRem->getDebugLoc()); 295 Builder [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXGenericToNVVM.cpp | 48 IRBuilder<> &Builder); 51 IRBuilder<> &Builder); 53 IRBuilder<> &Builder); 106 IRBuilder<> Builder(I->getEntryBlock().getFirstNonPHIOrDbg()); 115 i, remapConstant(&M, &*I, cast<Constant>(Operand), Builder)); 157 IRBuilder<> &Builder) { 175 NewValue = Builder.CreateAddrSpaceCast( 183 NewValue = remapConstantVectorOrConstantAggregate(M, F, C, Builder); 188 NewValue = remapConstantExpr(M, F, cast<ConstantExpr>(C), Builder); 196 Module *M, Function *F, Constant *C, IRBuilder<> &Builder) { 156 remapConstant(Module *M, Function *F, Constant *C, IRBuilder<> &Builder) argument 195 remapConstantVectorOrConstantAggregate( Module *M, Function *F, Constant *C, IRBuilder<> &Builder) argument 234 remapConstantExpr(Module *M, Function *F, ConstantExpr *C, IRBuilder<> &Builder) argument [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | StatepointLowering.cpp | 71 SelectionDAGBuilder &Builder, uint64_t Value) { 72 SDLoc L = Builder.getCurSDLoc(); 73 Ops.push_back(Builder.DAG.getTargetConstant(StackMaps::ConstantOp, L, 75 Ops.push_back(Builder.DAG.getTargetConstant(Value, L, MVT::i64)); 78 void StatepointLoweringState::startNewStatepoint(SelectionDAGBuilder &Builder) { argument 88 AllocatedStackSlots.resize(Builder.FuncInfo.StatepointStackSlots.size()); 100 SelectionDAGBuilder &Builder) { 102 MachineFrameInfo &MFI = Builder.DAG.getMachineFunction().getFrameInfo(); 115 Builder.FuncInfo.StatepointStackSlots.size() && 120 const int FI = Builder 70 pushStackMapConstant(SmallVectorImpl<SDValue>& Ops, SelectionDAGBuilder &Builder, uint64_t Value) argument 99 allocateStackSlot(EVT ValueType, SelectionDAGBuilder &Builder) argument 150 findPreviousSpillSlot(const Value *Val, SelectionDAGBuilder &Builder, int LookUpDepth) argument 251 reservePreviousStackSlotForValue(const Value *IncomingValue, SelectionDAGBuilder &Builder) argument 301 lowerCallFromStatepointLoweringInfo( SelectionDAGBuilder::StatepointLoweringInfo &SI, SelectionDAGBuilder &Builder, SmallVectorImpl<SDValue> &PendingExports) argument 356 spillIncomingStatepointValue(SDValue Incoming, SDValue Chain, SelectionDAGBuilder &Builder) argument 403 lowerIncomingStatepointValue(SDValue Incoming, bool RequireSpillSlot, SmallVectorImpl<SDValue> &Ops, SmallVectorImpl<MachineMemOperand *> &MemRefs, SelectionDAGBuilder &Builder) argument 487 lowerStatepointMetaArgs(SmallVectorImpl<SDValue> &Ops, SmallVectorImpl<MachineMemOperand*> &MemRefs, SelectionDAGBuilder::StatepointLoweringInfo &SI, SelectionDAGBuilder &Builder) argument [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | ModuleBuilder.cpp | 63 std::unique_ptr<CodeGen::CodeGenModule> Builder; member in class:__anon1827::CodeGeneratorImpl 95 return *Builder; 103 return Builder->getModuleDebugInfo(); 112 if (!Builder->lookupRepresentativeDecl(MangledName, Result)) 126 return Builder->GetAddrOfGlobal(global, ForDefinition_t(isForDefinition)); 145 Builder.reset(new CodeGen::CodeGenModule(Context, HeaderSearchOpts, 150 Builder->AddDependentLib(Lib); 152 Builder->AppendLinkerOptions(Opt); 159 Builder->HandleCXXStaticMemberVarInstantiation(VD); 170 Builder [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Frontend/OpenMP/ |
H A D | OMPIRBuilder.cpp | 1 //===- OpenMPIRBuilder.cpp - Builder for LLVM-IR for OpenMP directives ----===// 233 SrcLocStr = Builder.CreateGlobalStringPtr(LocStr, /* Name */ "", 276 return Builder.CreateCall( 325 Builder.CreateCall(getOrCreateRuntimeFunctionPtr( 333 return Builder.saveIP(); 344 auto *UI = Builder.CreateUnreachable(); 349 Builder.SetInsertPoint(ThenTI); 355 CancelKind = Builder.getInt32(Value); \ 365 Value *Result = Builder.CreateCall( 372 Builder [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
H A D | CoroCleanup.cpp | 24 IRBuilder<> Builder; member in struct:__anon4485::Lowerer 25 Lowerer(Module &M) : LowererBase(M), Builder(Context) {} 39 static void lowerSubFn(IRBuilder<> &Builder, CoroSubFnInst *SubFn) { argument 40 Builder.SetInsertPoint(SubFn); 45 SubFn->getContext(), {Builder.getInt8PtrTy(), Builder.getInt8PtrTy()}); 48 Builder.SetInsertPoint(SubFn); 49 auto *FramePtr = Builder.CreateBitCast(FrameRaw, FramePtrTy); 50 auto *Gep = Builder.CreateConstInBoundsGEP2_32(FrameTy, FramePtr, 0, Index); 51 auto *Load = Builder [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | MVEGatherScatterLowering.cpp | 88 IRBuilder<> &Builder); 102 Instruction *&Root, IRBuilder<> &Builder); 105 IRBuilder<> &Builder, int64_t Increment = 0); 108 IRBuilder<> &Builder, 114 IRBuilder<> &Builder); 117 IRBuilder<> &Builder, 121 IRBuilder<> &Builder, 128 IRBuilder<> &Builder); 134 IRBuilder<> &Builder); 142 IRBuilder<> &Builder); 170 checkGEP(Value *&Offsets, Type *Ty, GetElementPtrInst *GEP, IRBuilder<> &Builder) argument 347 tryCreateMaskedGatherBase(IntrinsicInst *I, Value *Ptr, IRBuilder<> &Builder, int64_t Increment) argument 369 tryCreateMaskedGatherBaseWB( IntrinsicInst *I, Value *Ptr, IRBuilder<> &Builder, int64_t Increment) argument 391 tryCreateMaskedGatherOffset( IntrinsicInst *I, Value *Ptr, Instruction *&Root, IRBuilder<> &Builder) argument 494 tryCreateMaskedScatterBase( IntrinsicInst *I, Value *Ptr, IRBuilder<> &Builder, int64_t Increment) argument 518 tryCreateMaskedScatterBaseWB( IntrinsicInst *I, Value *Ptr, IRBuilder<> &Builder, int64_t Increment) argument 541 tryCreateMaskedScatterOffset( IntrinsicInst *I, Value *Ptr, IRBuilder<> &Builder) argument 601 tryCreateIncrementingGatScat( IntrinsicInst *I, Value *BasePtr, Value *Offsets, GetElementPtrInst *GEP, IRBuilder<> &Builder) argument 671 tryCreateIncrementingWBGatScat( IntrinsicInst *I, Value *BasePtr, Value *Offsets, unsigned TypeScale, IRBuilder<> &Builder) argument 773 pushOutMul(PHINode *&Phi, Value *IncrementPerRound, Value *OffsSecondOperand, unsigned LoopIncrement, IRBuilder<> &Builder) argument [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPULowerKernelArguments.cpp | 88 IRBuilder<> Builder(&*getInsertPt(EntryBlock)); 100 Builder.CreateIntrinsic(Intrinsic::amdgcn_kernarg_segment_ptr, {}, {}, 158 ArgPtr = Builder.CreateConstInBoundsGEP1_64( 159 Builder.getInt8Ty(), KernArgSegment, AlignDownOffset, 161 AdjustedArgTy = Builder.getInt32Ty(); 163 ArgPtr = Builder.CreateConstInBoundsGEP1_64( 164 Builder.getInt8Ty(), KernArgSegment, EltOffset, 175 ArgPtr = Builder.CreateBitCast(ArgPtr, AdjustedArgTy->getPointerTo(AS), 178 Builder.CreateAlignedLoad(AdjustedArgTy, ArgPtr, AdjustedAlign); 193 ConstantInt::get(Builder [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/Utils/ |
H A D | Local.h | 29 Value *EmitGEPOffset(IRBuilderTy *Builder, const DataLayout &DL, User *GEP, argument 59 Result = Builder->CreateAdd(Result, ConstantInt::get(IntIdxTy, Size), 74 Result = Builder->CreateAdd(Result, Scale, GEP->getName().str()+".offs"); 80 Op = Builder->CreateVectorSplat( 85 Op = Builder->CreateIntCast(Op, IntIdxTy, true, Op->getName().str()+".c"); 88 Op = Builder->CreateMul(Op, ConstantInt::get(IntIdxTy, Size), 94 Result = Builder->CreateAdd(Op, Result, GEP->getName().str()+".offs");
|