Home
last modified time | relevance | path

Searched refs:CreateCall (Results 1 – 25 of 146) sorted by relevance

123456

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUAtomicOptimizer.cpp298 B.CreateCall(UpdateDPP, in buildReduction()
318 Value *const Lane0 = B.CreateCall(ReadLane, {V, B.getInt32(0)}); in buildReduction()
319 Value *const Lane32 = B.CreateCall(ReadLane, {V, B.getInt32(32)}); in buildReduction()
335 B.CreateCall(UpdateDPP, in buildScan()
343 B.CreateCall(UpdateDPP, in buildScan()
348 B.CreateCall(UpdateDPP, in buildScan()
363 B.CreateCall(UpdateDPP, in buildScan()
372 B.CreateCall(UpdateDPP, in buildScan()
391 V = B.CreateCall(UpdateDPP, in buildShiftRight()
403 V = B.CreateCall(UpdateDPP, in buildShiftRight()
[all …]
H A DAMDGPUCodeGenPrepare.cpp430 Value *ExtRes = Builder.CreateCall(I32, { ExtOp }); in promoteUniformBitreverseToI32()
537 Value *Result = Builder.CreateCall(Intrin, {LHS, RHS}); in replaceMulWithMul24()
663 return Builder.CreateCall(Decl, { Den }); in optimizeWithRcp()
673 return Builder.CreateCall(Decl, { FNeg }); in optimizeWithRcp()
684 Value *Recip = Builder.CreateCall(Decl, { Den }); in optimizeWithRcp()
720 return Builder.CreateCall(Decl, { Num, Den }); in optimizeWithFDivFast()
907 Value *RCP = Builder.CreateCall(RcpDecl, { FB }); in expandDivRem24Impl()
1100 Value *RcpY = Builder.CreateCall(Rcp, {FloatY}); in expandDivRem32()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGBuiltin.cpp452 return CGF.Builder.CreateCall(F, Src0); in emitUnaryMaybeConstrainedFPBuiltin()
470 return CGF.Builder.CreateCall(F, { Src0, Src1 }); in emitBinaryMaybeConstrainedFPBuiltin()
489 return CGF.Builder.CreateCall(F, { Src0, Src1, Src2 }); in emitTernaryMaybeConstrainedFPBuiltin()
509 return CGF.Builder.CreateCall(F, Args); in emitCallMaybeConstrainedFPBuiltin()
520 return CGF.Builder.CreateCall(F, Src0); in emitUnaryBuiltin()
531 return CGF.Builder.CreateCall(F, { Src0, Src1 }); in emitBinaryBuiltin()
543 return CGF.Builder.CreateCall(F, { Src0, Src1, Src2 }); in emitTernaryBuiltin()
554 return CGF.Builder.CreateCall(F, {Src0, Src1}); in emitFPIntBuiltin()
573 return CGF.Builder.CreateCall(F, Src0); in emitMaybeConstrainedFPToIntRoundBuiltin()
580 llvm::CallInst *Call = CGF.Builder.CreateCall(F, V); in EmitFAbs()
[all …]
H A DCGCUDANV.cpp535 Builder.CreateCall(RegisterFunc, Args); in makeRegisterGlobalsFn()
607 Builder.CreateCall(RegisterManagedVar, Args); in makeRegisterGlobalsFn()
618 Builder.CreateCall(RegisterVar, Args); in makeRegisterGlobalsFn()
623 Builder.CreateCall( in makeRegisterGlobalsFn()
630 Builder.CreateCall( in makeRegisterGlobalsFn()
827 llvm::CallInst *RegisterFatbinCall = CtorBuilder.CreateCall( in makeModuleCtorFunction()
838 CtorBuilder.CreateCall(RegisterGlobalsFunc, HandleValue); in makeModuleCtorFunction()
845 llvm::CallInst *RegisterFatbinCall = CtorBuilder.CreateCall( in makeModuleCtorFunction()
857 CtorBuilder.CreateCall(RegisterGlobalsFunc, RegisterFatbinCall); in makeModuleCtorFunction()
866 CtorBuilder.CreateCall(RegisterFatbinEndFunc, RegisterFatbinCall); in makeModuleCtorFunction()
[all …]
H A DCGOpenMPRuntimeNVPTX.cpp47 return Bld.CreateCall(F, llvm::None, "nvptx_tid"); in getGPUThreadID()
55 return Bld.CreateCall(F, llvm::None, "nvptx_num_threads"); in getGPUNumThreads()
H A DCGCoroutine.cpp199 auto *SaveCall = Builder.CreateCall(CoroSave, {NullPtr}); in emitSuspendExpression()
214 auto *SuspendResult = Builder.CreateCall( in emitSuspendExpression()
403 auto *CoroEnd = CGF.Builder.CreateCall( in Emit()
554 auto *CoroId = Builder.CreateCall( in EmitCoroutineBody()
564 auto *CoroAlloc = Builder.CreateCall( in EmitCoroutineBody()
596 auto *CoroBegin = Builder.CreateCall( in EmitCoroutineBody()
702 Builder.CreateCall(CoroEnd, {NullPtr, Builder.getFalse()}); in EmitCoroutineBody()
751 llvm::CallInst *Call = Builder.CreateCall(F, Args); in EmitCoroutineIntrinsic()
H A DCGOpenMPRuntimeAMDGCN.cpp46 return Bld.CreateCall(F, llvm::None, "nvptx_tid"); in getGPUThreadID()
59 return Bld.CreateCall(F, llvm::None, "nvptx_num_threads"); in getGPUNumThreads()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DAutoUpgrade.cpp1254 Value *V = Builder.CreateCall(Intrinsic::getDeclaration(CI.getModule(), IID), in UpgradeX86VPERMT2Intrinsics()
1268 Value *Res = Builder.CreateCall(Intrin, {Op0, Op1}); in UpgradeX86BinaryIntrinsics()
1295 Value *Res = Builder.CreateCall(Intrin, {Src, Src, Amt}); in upgradeX86Rotate()
1365 Value *Res = Builder.CreateCall(Intrin, {Op0, Op1, Amt}); in upgradeX86ConcatShift()
1428 Value *Res = Builder.CreateCall(F, {Op0, Builder.getInt1(false)}); in upgradeAbs()
1521 Value *Rep = Builder.CreateCall(Intrin, in UpgradeX86MaskedShift()
1781 Rep = Builder.CreateCall(Intrinsic::getDeclaration(CI.getModule(), IID), in upgradeAVX512MaskToSelect()
1952 Elt0 = Builder.CreateCall(Intr, Elt0); in UpgradeIntrinsicCall()
1957 Rep = Builder.CreateCall(Intrinsic::getDeclaration(F->getParent(), in UpgradeIntrinsicCall()
1969 Rep = Builder.CreateCall(Intrinsic::getDeclaration(CI->getModule(), in UpgradeIntrinsicCall()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp518 IRB.CreateCall(TsanIgnoreBegin); in InsertRuntimeIgnores()
521 AtExit->CreateCall(TsanIgnoreEnd); in InsertRuntimeIgnores()
597 Value *ReturnAddress = IRB.CreateCall( in sanitizeFunction()
600 IRB.CreateCall(TsanFuncEntry, ReturnAddress); in sanitizeFunction()
604 AtExit->CreateCall(TsanFuncExit, {}); in sanitizeFunction()
639 IRB.CreateCall(TsanVptrUpdate, in instrumentLoadOrStore()
646 IRB.CreateCall(TsanVptrLoad, in instrumentLoadOrStore()
680 IRB.CreateCall(OnAccessFunc, IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy())); in instrumentLoadOrStore()
716 IRB.CreateCall( in instrumentMemIntrinsic()
723 IRB.CreateCall( in instrumentMemIntrinsic()
[all …]
H A DHWAddressSanitizer.cpp613 return IRB.CreateCall(Asm, {Val}, ".hwasan.shadow"); in getOpaqueNoopCast()
749 IRB.CreateCall(Intrinsic::getDeclaration( in instrumentMemAccessInline()
827 IRB.CreateCall(Asm, PtrLong); in instrumentMemAccessInline()
835 IRB.CreateCall( in instrumentMemIntrinsic()
841 IRB.CreateCall( in instrumentMemIntrinsic()
865 IRB.CreateCall(HwasanMemoryAccessCallback[O.IsWrite][AccessSizeIndex], in instrumentMemAccess()
871 IRB.CreateCall(HwasanMemoryAccessCallbackSized[O.IsWrite], in instrumentMemAccess()
900 IRB.CreateCall(HwasanTagMemoryFunc, in tagAlloca()
945 return IRB.CreateZExt(IRB.CreateCall(HwasanGenerateTagFunc), IntptrTy); in getNextTagWithCall()
959 Value *StackPointer = IRB.CreateCall( in getStackBaseTag()
[all …]
H A DAddressSanitizer.cpp1034 Value *DynamicAreaOffset = IRB.CreateCall(DynamicAreaOffsetFunc, {}); in unpoisonDynamicAllocasBeforeInst()
1040 IRB.CreateCall( in unpoisonDynamicAllocasBeforeInst()
1358 IRB.CreateCall( in instrumentMemIntrinsic()
1364 IRB.CreateCall( in instrumentMemIntrinsic()
1534 IRB.CreateCall(F, Param); in instrumentPointerComparisonOrSubtraction()
1659 Call = IRB.CreateCall(AsanErrorCallbackSized[IsWrite][0], in generateCrashCode()
1662 Call = IRB.CreateCall(AsanErrorCallbackSized[IsWrite][1], in generateCrashCode()
1667 IRB.CreateCall(AsanErrorCallback[IsWrite][0][AccessSizeIndex], Addr); in generateCrashCode()
1669 Call = IRB.CreateCall(AsanErrorCallback[IsWrite][1][AccessSizeIndex], in generateCrashCode()
1708 Value *IsShared = IRB.CreateCall(AMDGPUAddressShared, {AddrLong}); in instrumentAMDGPUAddress()
[all …]
H A DSanitizerCoverage.cpp507 IRBCtor.CreateCall(InitFunction, {SecStartEnd.first, SecStartEnd.second}); in instrumentModule()
781 IRB.CreateCall(SanCovTracePCIndir, IRB.CreatePointerCast(Callee, IntptrTy)); in InjectCoverageForIndirectCalls()
822 IRB.CreateCall(SanCovTraceSwitchFunction, in InjectTraceForSwitch()
841 IRB.CreateCall(SanCovTraceDivFunction[CallbackIdx], in InjectTraceForDiv()
852 IRB.CreateCall(SanCovTraceGepFunction, in InjectTraceForGep()
886 IRB.CreateCall(CallbackFunc, {IRB.CreateIntCast(A0, Ty, true), in InjectTraceForCmp()
915 IRB.CreateCall(SanCovTracePC) in InjectCoverageAtBlock()
923 IRB.CreateCall(SanCovTracePCGuard, GuardPtr)->setCannotMerge(); in InjectCoverageAtBlock()
954 IRB.CreateCall(GetFrameAddr, {Constant::getNullValue(Int32Ty)}); in InjectCoverageAtBlock()
H A DMemProfiler.cpp309 IRB.CreateCall( in instrumentMemIntrinsic()
315 IRB.CreateCall( in instrumentMemIntrinsic()
475 IRB.CreateCall(MemProfMemoryAccessCallback[IsWrite], AddrLong); in instrumentAddress()
569 IRB.CreateCall(MemProfInitFunction, {}); in maybeInsertMemProfInitAtFunctionEntry()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp430 CallInst *NewCall = IRB.CreateCall(getInvokeWrapper(CI), Args); in wrapInvoke()
592 Value *ThenLabel = IRB.CreateCall( in wrapTestSetjmp()
599 IRB.CreateCall(EmLongjmpF, {Threw, ThrewValue}); in wrapTestSetjmp()
604 IRB.CreateCall(SetTempRet0Func, ThrewValue); in wrapTestSetjmp()
620 LongjmpResult = IRB.CreateCall(GetTempRet0Func, None, "longjmp_result"); in wrapTestSetjmp()
666 IRB.CreateCall(EmLongjmpF, {Jmpbuf, CI->getArgOperand(1)}); in replaceLongjmpWithEmscriptenLongjmp()
827 IRB.CreateCall(II->getFunctionType(), II->getCalledOperand(), Args); in runEHOnFunction()
856 IRB.CreateCall(ResumeF, {Low}); in runEHOnFunction()
878 IRB.CreateCall(EHTypeIDF, CI->getArgOperand(0), "typeid"); in runEHOnFunction()
907 CallInst *FMCI = IRB.CreateCall(FMCF, FMCArgs, "fmc"); in runEHOnFunction()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86WinEHState.cpp285 Value *SP = Builder.CreateCall( in emitExceptionRegistrationRecord()
315 Value *SP = Builder.CreateCall( in emitExceptionRegistrationRecord()
337 Value *FrameAddr = Builder.CreateCall( in emitExceptionRegistrationRecord()
374 return Builder.CreateCall( in emitEHLSDA()
411 CallInst *Call = Builder.CreateCall(TargetFuncTy, CastPersonality, Args); in generateLSDAInEAXThunk()
489 CallInst *NewCI = Builder.CreateCall(SetJmp3, Args, OpBundles); in rewriteSetJmpCall()
631 Builder.CreateCall( in addStateStores()
639 Builder.CreateCall( in addStateStores()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DWasmEHPrepare.cpp313 IRB.CreateCall(CatchF, {IRB.getInt32(WebAssembly::CPP_EXCEPTION)}, "exn"); in prepareEHPad()
332 IRB.CreateCall(LPadIndexF, {FPI, IRB.getInt32(Index)}); in prepareEHPad()
342 IRB.CreateStore(IRB.CreateCall(LSDAF), LSDAField); in prepareEHPad()
345 CallInst *PersCI = IRB.CreateCall(CallPersonalityF, CatchCI, in prepareEHPad()
H A DStackProtector.cpp401 return B.CreateCall(Intrinsic::getDeclaration(M, Intrinsic::stackguard)); in getStackGuard()
422 B.CreateCall(Intrinsic::getDeclaration(M, Intrinsic::stackprotector), in CreatePrologue()
496 CallInst *Call = B.CreateCall(GuardCheck, {Guard}); in InsertStackProtectors()
583 B.CreateCall(StackChkFail, B.CreateGlobalStringPtr(F->getName(), "SSH")); in CreateFailBB()
588 B.CreateCall(StackChkFail, {}); in CreateFailBB()
H A DSjLjEHPrepare.cpp226 Value *LSDA = Builder.CreateCall(LSDAAddrFn, {}, "lsda_addr"); in setupFunctionContext()
406 Value *Val = Builder.CreateCall(FrameAddrFn, Builder.getInt32(0), "fp"); in setupEntryBlockAndCallSites()
413 Val = Builder.CreateCall(StackAddrFn, {}, "sp"); in setupEntryBlockAndCallSites()
417 Builder.CreateCall(BuiltinSetupDispatchFn, {}); in setupEntryBlockAndCallSites()
422 Builder.CreateCall(FuncCtxFn, FuncCtxArg); in setupEntryBlockAndCallSites()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp329 return Builder.CreateCall( in getOrCreateThreadID()
378 Builder.CreateCall(getOrCreateRuntimeFunctionPtr( in emitBarrierImpl()
418 Value *Result = Builder.CreateCall( in createCancel()
484 Builder.CreateCall( in createParallel()
493 Builder.CreateCall( in createParallel()
643 Builder.CreateCall(RTLFn, RealArgs); in createParallel()
667 Builder.CreateCall( in createParallel()
677 Builder.CreateCall( in createParallel()
836 Builder.CreateCall(getOrCreateRuntimeFunctionPtr(OMPRTL___kmpc_flush), Args); in emitFlush()
853 Builder.CreateCall(getOrCreateRuntimeFunctionPtr(OMPRTL___kmpc_omp_taskwait), in emitTaskwaitImpl()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DMatrixBuilder.h82 CallInst *Call = B.CreateCall(TheFn->getFunctionType(), TheFn, Ops, Name);
105 CallInst *Call = B.CreateCall(TheFn->getFunctionType(), TheFn, Ops, Name);
125 return B.CreateCall(TheFn->getFunctionType(), TheFn, Ops, Name);
145 return B.CreateCall(TheFn->getFunctionType(), TheFn, Ops, Name);
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DSanitizerStats.cpp68 B.CreateCall(StatReport, ConstantExpr::getBitCast(InitAddr, Int8PtrTy)); in create()
103 B.CreateCall(StatInit, ConstantExpr::getBitCast(NewModuleStatsGV, Int8PtrTy)); in finish()
H A DAMDGPUEmitPrintf.cpp66 return Builder.CreateCall(Fn, Version); in callPrintfBegin()
81 return Builder.CreateCall(Fn, {Desc, NumArgsValue, Arg0, Arg1, Arg2, Arg3, in callAppendArgs()
171 return Builder.CreateCall(Fn, {Desc, Str, Length, IsLastInt32}); in callAppendStringN()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64StackTagging.cpp242 IRB.CreateCall(SetTagZeroFn, in emitZeroes()
252 IRB.CreateCall(SetTagFn, {Ptr, ConstantInt::get(IRB.getInt64Ty(), Size)}); in emitUndef()
261 IRB.CreateCall(StgpFn, {Ptr, A, B}); in emitPair()
457 IRB.CreateCall(SetTagFunc, {IRB.CreatePointerCast(AI, IRB.getInt8PtrTy()), in untagAlloca()
483 IRB.CreateCall(IRG_SP, {Constant::getNullValue(IRB.getInt64Ty())}); in insertBaseTaggedPointer()
651 IRB.CreateCall(TagP, {Constant::getNullValue(Info.AI->getType()), Base, in runOnFunction()
/netbsd-src/external/apache2/llvm/dist/llvm/examples/BrainF/
H A DBrainF.cpp111 CreateCall(memset_func, memset_params); in header()
210 builder->CreateCall(getchar_func, {}, tapereg); in readloop()
238 CreateCall(putchar_func, in readloop()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DCrossDSOCFI.cpp135 IRBFail.CreateCall(CFICheckFailFn, {&CFICheckFailData, &Addr}); in buildCFICheck()
149 Value *Test = IRBTest.CreateCall( in buildCFICheck()

123456