/freebsd/contrib/llvm-project/clang/lib/Frontend/ |
H A D | InitPreprocessor.cpp | 41 static void DefineBuiltinMacro(MacroBuilder &Builder, StringRef Macro, in DefineBuiltinMacro() argument 57 Builder.defineMacro(MacroName, Twine(MacroBody) + "\\\n"); in DefineBuiltinMacro() 59 Builder.defineMacro(MacroName, MacroBody); in DefineBuiltinMacro() 62 Builder.defineMacro(Macro); in DefineBuiltinMacro() 70 static void AddImplicitInclude(MacroBuilder &Builder, StringRef File) { in AddImplicitInclude() argument 71 Builder.append(Twine("#include \"") + File + "\""); in AddImplicitInclude() 74 static void AddImplicitIncludeMacros(MacroBuilder &Builder, StringRef File) { in AddImplicitIncludeMacros() argument 75 Builder.append(Twine("#__include_macros \"") + File + "\""); in AddImplicitIncludeMacros() 77 Builder.append("##"); // ##? in AddImplicitIncludeMacros() 82 static void AddImplicitIncludePCH(MacroBuilder &Builder, Preprocessor &PP, in AddImplicitIncludePCH() argument [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Basic/Targets/ |
H A D | PPC.cpp | 106 static void defineXLCompatMacros(MacroBuilder &Builder) { in defineXLCompatMacros() argument 107 Builder.defineMacro("__popcntb", "__builtin_ppc_popcntb"); in defineXLCompatMacros() 108 Builder.defineMacro("__poppar4", "__builtin_ppc_poppar4"); in defineXLCompatMacros() 109 Builder.defineMacro("__poppar8", "__builtin_ppc_poppar8"); in defineXLCompatMacros() 110 Builder.defineMacro("__eieio", "__builtin_ppc_eieio"); in defineXLCompatMacros() 111 Builder.defineMacro("__iospace_eieio", "__builtin_ppc_iospace_eieio"); in defineXLCompatMacros() 112 Builder.defineMacro("__isync", "__builtin_ppc_isync"); in defineXLCompatMacros() 113 Builder.defineMacro("__lwsync", "__builtin_ppc_lwsync"); in defineXLCompatMacros() 114 Builder.defineMacro("__iospace_lwsync", "__builtin_ppc_iospace_lwsync"); in defineXLCompatMacros() 115 Builder.defineMacro("__sync", "__builtin_ppc_sync"); in defineXLCompatMacros() [all …]
|
H A D | Mips.cpp | 72 MacroBuilder &Builder) const { in getTargetDefines() 74 DefineStd(Builder, "MIPSEB", Opts); in getTargetDefines() 75 Builder.defineMacro("_MIPSEB"); in getTargetDefines() 77 DefineStd(Builder, "MIPSEL", Opts); in getTargetDefines() 78 Builder.defineMacro("_MIPSEL"); in getTargetDefines() 81 Builder.defineMacro("__mips__"); in getTargetDefines() 82 Builder.defineMacro("_mips"); in getTargetDefines() 84 Builder.defineMacro("mips"); in getTargetDefines() 87 Builder.defineMacro("__mips", "32"); in getTargetDefines() 88 Builder.defineMacro("_MIPS_ISA", "_MIPS_ISA_MIPS32"); in getTargetDefines() [all …]
|
H A D | OSTargets.h | 24 MacroBuilder &Builder) const = 0; 31 MacroBuilder &Builder) const override { in getTargetDefines() argument 32 TgtInfo::getTargetDefines(Opts, Builder); in getTargetDefines() 33 getOSDefines(Opts, TgtInfo::getTriple(), Builder); in getTargetDefines() 37 void getDarwinDefines(MacroBuilder &Builder, const LangOptions &Opts, 45 MacroBuilder &Builder) const override { in getOSDefines() argument 46 getDarwinDefines(Builder, Opts, Triple, this->PlatformName, in getOSDefines() 146 MacroBuilder &Builder) const override { in getOSDefines() argument 148 Builder.defineMacro("__DragonFly__"); in getOSDefines() 149 Builder.defineMacro("__DragonFly_cc_version", "100001"); in getOSDefines() [all …]
|
H A D | Hexagon.cpp | 23 MacroBuilder &Builder) const { in getTargetDefines() 24 Builder.defineMacro("__qdsp6__", "1"); in getTargetDefines() 25 Builder.defineMacro("__hexagon__", "1"); in getTargetDefines() 31 Builder.defineMacro("__HEXAGON_V5__"); in getTargetDefines() 32 Builder.defineMacro("__HEXAGON_ARCH__", "5"); in getTargetDefines() 34 Builder.defineMacro("__QDSP6_V5__"); in getTargetDefines() 35 Builder.defineMacro("__QDSP6_ARCH__", "5"); in getTargetDefines() 38 Builder.defineMacro("__HEXAGON_V55__"); in getTargetDefines() 39 Builder.defineMacro("__HEXAGON_ARCH__", "55"); in getTargetDefines() 40 Builder.defineMacro("__QDSP6_V55__"); in getTargetDefines() [all …]
|
H A D | X86.cpp | 520 MacroBuilder &Builder) const { in getTargetDefines() 522 Builder.defineMacro("__GCC_ASM_FLAG_OUTPUTS__"); in getTargetDefines() 527 Builder.defineMacro("__code_model_" + CodeModel + "__"); in getTargetDefines() 531 Builder.defineMacro("__amd64__"); in getTargetDefines() 532 Builder.defineMacro("__amd64"); in getTargetDefines() 533 Builder.defineMacro("__x86_64"); in getTargetDefines() 534 Builder.defineMacro("__x86_64__"); in getTargetDefines() 536 Builder.defineMacro("__x86_64h"); in getTargetDefines() 537 Builder.defineMacro("__x86_64h__"); in getTargetDefines() 540 DefineStd(Builder, "i386", Opts); in getTargetDefines() [all …]
|
H A D | AArch64.cpp | 281 MacroBuilder &Builder) const { in getTargetDefinesARMV81A() 282 Builder.defineMacro("__ARM_FEATURE_QRDMX", "1"); in getTargetDefinesARMV81A() 286 MacroBuilder &Builder) const { in getTargetDefinesARMV82A() 288 getTargetDefinesARMV81A(Opts, Builder); in getTargetDefinesARMV82A() 292 MacroBuilder &Builder) const { in getTargetDefinesARMV83A() 293 Builder.defineMacro("__ARM_FEATURE_COMPLEX", "1"); in getTargetDefinesARMV83A() 294 Builder.defineMacro("__ARM_FEATURE_JCVT", "1"); in getTargetDefinesARMV83A() 296 getTargetDefinesARMV82A(Opts, Builder); in getTargetDefinesARMV83A() 300 MacroBuilder &Builder) const { in getTargetDefinesARMV84A() 302 getTargetDefinesARMV83A(Opts, Builder); in getTargetDefinesARMV84A() [all …]
|
H A D | SPIR.cpp | 22 MacroBuilder &Builder) const { in getTargetDefines() 23 DefineStd(Builder, "SPIR", Opts); in getTargetDefines() 27 MacroBuilder &Builder) const { in getTargetDefines() 28 SPIRTargetInfo::getTargetDefines(Opts, Builder); in getTargetDefines() 29 DefineStd(Builder, "SPIR32", Opts); in getTargetDefines() 33 MacroBuilder &Builder) const { in getTargetDefines() 34 SPIRTargetInfo::getTargetDefines(Opts, Builder); in getTargetDefines() 35 DefineStd(Builder, "SPIR64", Opts); in getTargetDefines() 39 MacroBuilder &Builder) const { in getTargetDefines() 40 DefineStd(Builder, "SPIRV", Opts); in getTargetDefines() [all …]
|
H A D | ARM.cpp | 699 MacroBuilder &Builder) const { in getTargetDefinesARMV81A() 700 Builder.defineMacro("__ARM_FEATURE_QRDMX", "1"); in getTargetDefinesARMV81A() 704 MacroBuilder &Builder) const { in getTargetDefinesARMV82A() 706 getTargetDefinesARMV81A(Opts, Builder); in getTargetDefinesARMV82A() 710 MacroBuilder &Builder) const { in getTargetDefinesARMV83A() 712 Builder.defineMacro("__ARM_FEATURE_COMPLEX", "1"); in getTargetDefinesARMV83A() 713 getTargetDefinesARMV82A(Opts, Builder); in getTargetDefinesARMV83A() 717 MacroBuilder &Builder) const { in getTargetDefines() 719 Builder.defineMacro("__arm"); in getTargetDefines() 720 Builder.defineMacro("__arm__"); in getTargetDefines() [all …]
|
H A D | CSKY.cpp | 35 MacroBuilder &Builder) const { in getTargetDefines() 36 Builder.defineMacro("__csky__", "2"); in getTargetDefines() 37 Builder.defineMacro("__CSKY__", "2"); in getTargetDefines() 38 Builder.defineMacro("__ckcore__", "2"); in getTargetDefines() 39 Builder.defineMacro("__CKCORE__", "2"); in getTargetDefines() 41 Builder.defineMacro("__CSKYABI__", ABI == "abiv2" ? "2" : "1"); in getTargetDefines() 42 Builder.defineMacro("__cskyabi__", ABI == "abiv2" ? "2" : "1"); in getTargetDefines() 52 Builder.defineMacro("__" + ArchName.upper() + "__"); in getTargetDefines() 53 Builder.defineMacro("__" + ArchName.lower() + "__"); in getTargetDefines() 55 Builder.defineMacro("__" + CPUName.upper() + "__"); in getTargetDefines() [all …]
|
H A D | LoongArch.cpp | 187 MacroBuilder &Builder) const { in getTargetDefines() 188 Builder.defineMacro("__loongarch__"); in getTargetDefines() 190 Builder.defineMacro("__loongarch_grlen", Twine(GRLen)); in getTargetDefines() 192 Builder.defineMacro("__loongarch64"); in getTargetDefines() 195 Builder.defineMacro("__loongarch_frlen", "64"); in getTargetDefines() 197 Builder.defineMacro("__loongarch_frlen", "32"); in getTargetDefines() 199 Builder.defineMacro("__loongarch_frlen", "0"); in getTargetDefines() 209 Builder.defineMacro("__loongarch_arch", in getTargetDefines() 212 Builder.defineMacro("__loongarch_arch", in getTargetDefines() 215 Builder.defineMacro("__loongarch_arch", in getTargetDefines() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | ExpandLargeFpConvert.cpp | 92 IRBuilder<> Builder(FPToI); in expandFPToI() local 104 Value *A0 = Builder.CreateFPToUI(FloatVal, Builder.getIntNTy(32)); in expandFPToI() 105 A1 = Builder.CreateZExt(A0, IntTy); in expandFPToI() 107 Value *A0 = Builder.CreateFPToSI(FloatVal, Builder.getIntNTy(32)); in expandFPToI() 108 A1 = Builder.CreateSExt(A0, IntTy); in expandFPToI() 123 Value *ImplicitBit = Builder.CreateShl( in expandFPToI() 124 Builder.getIntN(BitWidth, 1), Builder.getIntN(BitWidth, FPMantissaWidth)); in expandFPToI() 126 Builder.CreateSub(ImplicitBit, Builder.getIntN(BitWidth, 1)); in expandFPToI() 127 Value *NegOne = Builder.CreateSExt( in expandFPToI() 128 ConstantInt::getSigned(Builder.getInt32Ty(), -1), IntTy); in expandFPToI() [all …]
|
H A D | AtomicExpandPass.cpp | 82 insertRMWLLSCLoop(IRBuilderBase &Builder, Type *ResultTy, Value *Addr, 98 IRBuilderBase &Builder, Type *ResultType, Value *Addr, Align AddrAlign, 323 IRBuilder Builder(I); in run() local 325 TLI->emitTrailingFence(Builder, I, FenceOrdering)) { in run() 379 ReplacementIRBuilder Builder(I, *DL); in bracketInstWithFences() local 381 auto LeadingFence = TLI->emitLeadingFence(Builder, I, Order); in bracketInstWithFences() 383 auto TrailingFence = TLI->emitTrailingFence(Builder, I, Order); in bracketInstWithFences() 408 ReplacementIRBuilder Builder(LI, *DL); in convertAtomicLoadToIntegerType() local 412 auto *NewLI = Builder.CreateLoad(NewTy, Addr); in convertAtomicLoadToIntegerType() 418 Value *NewVal = Builder.CreateBitCast(NewLI, LI->getType()); in convertAtomicLoadToIntegerType() [all …]
|
H A D | ExpandVectorPredication.cpp | 151 Value *createStepVector(IRBuilder<> &Builder, Type *LaneTy, 164 Value *convertEVLToMask(IRBuilder<> &Builder, Value *EVLParam, 174 Value *expandPredicationInBinaryOperator(IRBuilder<> &Builder, 178 Value *expandPredicationToIntCall(IRBuilder<> &Builder, VPIntrinsic &PI, 182 Value *expandPredicationToFPCall(IRBuilder<> &Builder, VPIntrinsic &PI, 186 Value *expandPredicationInReduction(IRBuilder<> &Builder, 190 Value *expandPredicationToCastIntrinsic(IRBuilder<> &Builder, 194 Value *expandPredicationInMemoryIntrinsic(IRBuilder<> &Builder, 198 Value *expandPredicationInComparison(IRBuilder<> &Builder, 218 Value *CachingVPExpander::createStepVector(IRBuilder<> &Builder, Type *LaneTy, in createStepVector() argument [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | IntegerDivision.cpp | 33 IRBuilder<> &Builder) { in generateSignedRemainderCode() argument 35 ConstantInt *Shift = Builder.getIntN(BitWidth, BitWidth - 1); in generateSignedRemainderCode() 49 Dividend = Builder.CreateFreeze(Dividend); in generateSignedRemainderCode() 50 Divisor = Builder.CreateFreeze(Divisor); in generateSignedRemainderCode() 51 Value *DividendSign = Builder.CreateAShr(Dividend, Shift); in generateSignedRemainderCode() 52 Value *DivisorSign = Builder.CreateAShr(Divisor, Shift); in generateSignedRemainderCode() 53 Value *DvdXor = Builder.CreateXor(Dividend, DividendSign); in generateSignedRemainderCode() 54 Value *DvsXor = Builder.CreateXor(Divisor, DivisorSign); in generateSignedRemainderCode() 55 Value *UDividend = Builder.CreateSub(DvdXor, DividendSign); in generateSignedRemainderCode() 56 Value *UDivisor = Builder.CreateSub(DvsXor, DivisorSign); in generateSignedRemainderCode() [all …]
|
H A D | AMDGPUEmitPrintf.cpp | 30 static Value *fitArgInto64Bits(IRBuilder<> &Builder, Value *Arg) { in fitArgInto64Bits() argument 31 auto Int64Ty = Builder.getInt64Ty(); in fitArgInto64Bits() 37 return Builder.CreateZExt(Arg, Int64Ty); in fitArgInto64Bits() 44 return Builder.CreateBitCast(Arg, Int64Ty); in fitArgInto64Bits() 48 return Builder.CreatePtrToInt(Arg, Int64Ty); in fitArgInto64Bits() 54 static Value *callPrintfBegin(IRBuilder<> &Builder, Value *Version) { in callPrintfBegin() argument 55 auto Int64Ty = Builder.getInt64Ty(); in callPrintfBegin() 56 auto M = Builder.GetInsertBlock()->getModule(); in callPrintfBegin() 58 return Builder.CreateCall(Fn, Version); in callPrintfBegin() 61 static Value *callAppendArgs(IRBuilder<> &Builder, Value *Desc, int NumArgs, in callAppendArgs() argument [all …]
|
H A D | LowerAtomic.cpp | 23 IRBuilder<> Builder(CXI); in lowerAtomicCmpXchgInst() local 28 LoadInst *Orig = Builder.CreateLoad(Val->getType(), Ptr); in lowerAtomicCmpXchgInst() 29 Value *Equal = Builder.CreateICmpEQ(Orig, Cmp); in lowerAtomicCmpXchgInst() 30 Value *Res = Builder.CreateSelect(Equal, Val, Orig); in lowerAtomicCmpXchgInst() 31 Builder.CreateStore(Res, Ptr); in lowerAtomicCmpXchgInst() 33 Res = Builder.CreateInsertValue(PoisonValue::get(CXI->getType()), Orig, 0); in lowerAtomicCmpXchgInst() 34 Res = Builder.CreateInsertValue(Res, Equal, 1); in lowerAtomicCmpXchgInst() 42 IRBuilderBase &Builder, Value *Loaded, in buildAtomicRMWValue() argument 49 return Builder.CreateAdd(Loaded, Val, "new"); in buildAtomicRMWValue() 51 return Builder.CreateSub(Loaded, Val, "new"); in buildAtomicRMWValue() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/ |
H A D | OMPIRBuilder.cpp | 300 void llvm::spliceBB(IRBuilder<> &Builder, BasicBlock *New, bool CreateBranch) { in spliceBB() argument 301 DebugLoc DebugLoc = Builder.getCurrentDebugLocation(); in spliceBB() 302 BasicBlock *Old = Builder.GetInsertBlock(); in spliceBB() 304 spliceBB(Builder.saveIP(), New, CreateBranch); in spliceBB() 306 Builder.SetInsertPoint(Old->getTerminator()); in spliceBB() 308 Builder.SetInsertPoint(Old); in spliceBB() 312 Builder.SetCurrentDebugLocation(DebugLoc); in spliceBB() 326 BasicBlock *llvm::splitBB(IRBuilderBase &Builder, bool CreateBranch, in splitBB() argument 328 DebugLoc DebugLoc = Builder.getCurrentDebugLocation(); in splitBB() 329 BasicBlock *New = splitBB(Builder.saveIP(), CreateBranch, Name); in splitBB() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Tooling/Syntax/ |
H A D | BuildTree.cpp | 706 explicit BuildTreeVisitor(ASTContext &Context, syntax::TreeBuilder &Builder) in BuildTreeVisitor() argument 707 : Builder(Builder), Context(Context) {} in BuildTreeVisitor() 721 Builder.foldNode(Builder.getDeclarationRange(D), in VisitDecl() 738 Builder.getTemplateRange(C), in TraverseClassTemplateSpecializationDecl() 739 Builder.findToken(C->getExternKeywordLoc()), in TraverseClassTemplateSpecializationDecl() 740 Builder.findToken(C->getTemplateKeywordLoc()), Declaration, C); in TraverseClassTemplateSpecializationDecl() 746 Builder.getDeclarationRange(S), in WalkUpFromTemplateDecl() 747 Builder.findToken(S->getTemplateParameters()->getTemplateLoc()), in WalkUpFromTemplateDecl() 748 Builder.getDeclarationRange(S->getTemplatedDecl()), S); in WalkUpFromTemplateDecl() 765 auto DeclarationRange = Builder.getDeclarationRange(C); in handleFreeStandingTagDecl() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUCodeGenPrepare.cpp | 249 Value* expandDivRem24(IRBuilder<> &Builder, BinaryOperator &I, 253 Value *expandDivRem24Impl(IRBuilder<> &Builder, BinaryOperator &I, 258 Value* expandDivRem32(IRBuilder<> &Builder, BinaryOperator &I, 261 Value *shrinkDivRem64(IRBuilder<> &Builder, BinaryOperator &I, 276 Value *applyFractPat(IRBuilder<> &Builder, Value *FractArg); 281 Value *optimizeWithRsq(IRBuilder<> &Builder, Value *Num, Value *Den, 285 Value *optimizeWithRcp(IRBuilder<> &Builder, Value *Num, Value *Den, 287 Value *optimizeWithFDivFast(IRBuilder<> &Builder, Value *Num, Value *Den, 290 Value *visitFDivElement(IRBuilder<> &Builder, Value *Num, Value *Den, 295 std::pair<Value *, Value *> getFrexpResults(IRBuilder<> &Builder, [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | ScalarizeMaskedMemIntrin.cpp | 155 IRBuilder<> Builder(CI->getContext()); in scalarizeMaskedLoad() local 159 Builder.SetInsertPoint(InsertPt); in scalarizeMaskedLoad() 160 Builder.SetCurrentDebugLocation(CI->getDebugLoc()); in scalarizeMaskedLoad() 164 Value *NewI = Builder.CreateAlignedLoad(VecType, Ptr, AlignVal); in scalarizeMaskedLoad() 182 Value *Gep = Builder.CreateConstInBoundsGEP1_32(EltTy, Ptr, Idx); in scalarizeMaskedLoad() 183 LoadInst *Load = Builder.CreateAlignedLoad(EltTy, Gep, AdjustedAlignVal); in scalarizeMaskedLoad() 184 VResult = Builder.CreateInsertElement(VResult, Load, Idx); in scalarizeMaskedLoad() 195 Type *SclrMaskTy = Builder.getIntNTy(VectorWidth); in scalarizeMaskedLoad() 196 SclrMask = Builder.CreateBitCast(Mask, SclrMaskTy, "scalar_mask"); in scalarizeMaskedLoad() 209 Value *Mask = Builder.getInt(APInt::getOneBitSet( in scalarizeMaskedLoad() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | LoopIdiomVectorize.cpp | 122 Value *expandFindMismatch(IRBuilder<> &Builder, DomTreeUpdater &DTU, 126 Value *createMaskedFindMismatch(IRBuilder<> &Builder, DomTreeUpdater &DTU, 130 Value *createPredicatedFindMismatch(IRBuilder<> &Builder, DomTreeUpdater &DTU, 377 IRBuilder<> &Builder, DomTreeUpdater &DTU, GetElementPtrInst *GEPA, in createMaskedFindMismatch() argument 379 Type *I64Type = Builder.getInt64Ty(); in createMaskedFindMismatch() 380 Type *ResType = Builder.getInt32Ty(); in createMaskedFindMismatch() 381 Type *LoadType = Builder.getInt8Ty(); in createMaskedFindMismatch() 386 ScalableVectorType::get(Builder.getInt1Ty(), ByteCompareVF); in createMaskedFindMismatch() 388 Value *InitialPred = Builder.CreateIntrinsic( in createMaskedFindMismatch() 391 Value *VecLen = Builder.CreateIntrinsic(Intrinsic::vscale, {I64Type}, {}); in createMaskedFindMismatch() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaCodeComplete.cpp | 1814 CodeCompletionBuilder Builder(Results.getAllocator(), in AddTypeSpecifierResults() local 1824 Builder.AddTypedTextChunk("typename"); in AddTypeSpecifierResults() 1825 Builder.AddChunk(CodeCompletionString::CK_HorizontalSpace); in AddTypeSpecifierResults() 1826 Builder.AddPlaceholderChunk("name"); in AddTypeSpecifierResults() 1827 Results.AddResult(Result(Builder.TakeString())); in AddTypeSpecifierResults() 1834 Builder.AddTypedTextChunk("decltype"); in AddTypeSpecifierResults() 1835 Builder.AddChunk(CodeCompletionString::CK_LeftParen); in AddTypeSpecifierResults() 1836 Builder.AddPlaceholderChunk("expression"); in AddTypeSpecifierResults() 1837 Builder.AddChunk(CodeCompletionString::CK_RightParen); in AddTypeSpecifierResults() 1838 Results.AddResult(Result(Builder.TakeString())); in AddTypeSpecifierResults() [all …]
|
/freebsd/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, 277 IRBuilder<> Builder(&F->getEntryBlock(), F->getEntryBlock().begin()); in emitExceptionRegistrationRecord() local 278 Type *Int8PtrType = Builder.getPtrTy(); in emitExceptionRegistrationRecord() 279 Type *Int32Ty = Builder.getInt32Ty(); in emitExceptionRegistrationRecord() 280 Type *VoidTy = Builder.getVoidTy(); in emitExceptionRegistrationRecord() 284 RegNode = Builder.CreateAlloca(RegNodeTy); in emitExceptionRegistrationRecord() 286 Value *SP = Builder in emitExceptionRegistrationRecord() 373 emitEHLSDA(IRBuilder<> & Builder,Function * F) emitEHLSDA() argument 406 IRBuilder<> Builder(EntryBB); generateLSDAInEAXThunk() local 419 linkExceptionRegistration(IRBuilder<> & Builder,Function * Handler) linkExceptionRegistration() argument 437 unlinkExceptionRegistration(IRBuilder<> & Builder) unlinkExceptionRegistration() argument 457 rewriteSetJmpCall(IRBuilder<> & Builder,Function & F,CallBase & Call,Value * State) rewriteSetJmpCall() argument 628 IRBuilder<> Builder(RegNode->getNextNode()); addStateStores() local 635 IRBuilder<> Builder(EHGuardNode->getNextNode()); addStateStores() local 770 IRBuilder<> Builder(Call); addStateStores() local 784 IRBuilder<> Builder(IP); insertStateNumberStore() local [all...] |
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | SMEABIPass.cpp | 44 bool updateNewStateFunctions(Module *M, Function *F, IRBuilder<> &Builder, 61 void emitTPIDR2Save(Module *M, IRBuilder<> &Builder) { in emitTPIDR2Save() argument 63 FunctionType::get(Builder.getVoidTy(), {}, /*IsVarArgs=*/false); in emitTPIDR2Save() 68 CallInst *Call = Builder.CreateCall(Callee); in emitTPIDR2Save() 75 Builder.CreateCall(WriteIntr->getFunctionType(), WriteIntr, in emitTPIDR2Save() 76 Builder.getInt64(0)); in emitTPIDR2Save() 100 IRBuilder<> &Builder, SMEAttrs FnAttrs) { in updateNewStateFunctions() argument 103 Builder.SetInsertPoint(&OrigBB->front()); in updateNewStateFunctions() 115 Builder.SetInsertPoint(PreludeBB); in updateNewStateFunctions() 118 auto *TPIDR2 = Builder.CreateCall(TPIDR2Intr->getFunctionType(), TPIDR2Intr, in updateNewStateFunctions() [all …]
|