Searched refs:CallInst (Results 101 - 125 of 332) sorted by relevance

1234567891011>>

/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/Mips/
H A DMips16HardFloat.cpp54 CallInst::Create(IA, AsmArgs, "", BB);
418 CallInst::Create(F, Params, "", &I);
419 } else if (const CallInst *CI = dyn_cast<CallInst>(&I)) {
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DSyntheticCountsPropagation.cpp69 if (!isa<CallInst>(U) && !isa<InvokeInst>(U))
H A DDeadArgumentElimination.cpp143 CallInst *CI = dyn_cast<CallInst>(&I);
204 NewCB = CallInst::Create(NF, Args, OpBundles, "", CB);
205 cast<CallInst>(NewCB)->setTailCallKind(
206 cast<CallInst>(CB)->getTailCallKind());
946 NewCB = CallInst::Create(NFTy, NF, Args, OpBundles, "", &CB);
947 cast<CallInst>(NewCB)->setTailCallKind(
948 cast<CallInst>(&CB)->getTailCallKind());
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/ObjCARC/
H A DObjCARCAPElim.cpp76 if (Push && cast<CallInst>(Inst)->getArgOperand(0) == Push) {
/netbsd-current/external/apache2/llvm/dist/llvm/tools/llvm-diff/
H A DDifferenceEngine.cpp260 } else if (isa<CallInst>(L)) {
261 return diffCallSites(cast<CallInst>(*L), cast<CallInst>(*R), Complain);
638 if (!isa<CallInst>(*I)) return;
639 CallInst *LCall = cast<CallInst>(&*I);
652 if (!isa<CallInst>(*I)) return;
653 CallInst *RCall = cast<CallInst>(I);
/netbsd-current/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DGCRootLowering.cpp133 if (CallInst *CI = dyn_cast<CallInst>(I))
H A DShadowStackGCLowering.cpp64 std::vector<std::pair<CallInst *, AllocaInst *>> Roots;
239 SmallVector<std::pair<CallInst *, AllocaInst *>, 16> MetaRoots;
246 std::pair<CallInst *, AllocaInst *> Pair = std::make_pair(
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/BPF/
H A DBPFAdjustOpt.cpp228 if (!isa<LoadInst>(&I) && !isa<CallInst>(&I))
275 if (isa<CallInst>(&I2))
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/Coroutines/
H A DCoroInternal.h103 SmallVector<CallInst*, 2> SwiftErrorOps;
283 CallInst *createMustTailCall(DebugLoc Loc, Function *MustTailCallFn,
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DAutoInitRemark.cpp106 void AutoInitRemark::inspectCall(CallInst &CI) {
128 void AutoInitRemark::inspectKnownLibCall(CallInst &CI, LibFunc LF,
H A DAssumeBundleBuilder.cpp123 const CallInst::BundleOpInfo *Bundle) {
247 return cast<AssumeInst>(CallInst::Create(
396 CallInst::BundleOpInfo *BOI;
407 for (CallInst::BundleOpInfo &BOI : Assume->bundle_op_infos()) {
479 for (CallInst::BundleOpInfo &BOI : I->bundle_op_infos()) {
H A DCodeExtractor.cpp176 if (const CallInst *CI = dyn_cast<CallInst>(I)) {
629 if (const CallInst *CI = dyn_cast<CallInst>(&I))
1069 CallInst *TheCall) {
1096 auto Marker = CallInst::Create(MarkerFunc, {NegativeOne, MemAsI8Ptr});
1120 CallInst *CodeExtractor::emitCallAndSwitchStatement(Function *newFunction,
1131 CallInst *call = nullptr;
1187 call = CallInst::Create(newFunction, params,
1465 CallInst
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/examples/ParallelJIT/
H A DParallelJIT.cpp115 Value *CallFibX1 = CallInst::Create(FibF, Sub, "fibx1", RecurseBB);
119 Value *CallFibX2 = CallInst::Create(FibF, Sub, "fibx2", RecurseBB);
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUPrintfRuntimeBinding.cpp75 SmallVector<CallInst *, 32> Printfs;
349 CallInst *pcall =
350 CallInst::Create(PrintfAllocFn, alloc_args, "printf_alloc_fn", CI);
562 if (auto *CI = dyn_cast<CallInst>(U.getUser())) {
573 if (auto *CI = dyn_cast<CallInst>(U.getUser())) {
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DPGOMemOPSizeOpt.cpp161 MemOp(CallInst *CI) : I(CI) {}
163 CallInst *asCI() { return cast<CallInst>(I); }
167 return MemOp(cast<CallInst>(asCI()->clone()));
216 llvm_unreachable("Must be MemIntrinsic or memcmp/bcmp CallInst");
254 void visitCallInst(CallInst &CI) {
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp338 /// extractMallocCall - Returns the corresponding CallInst if the instruction
339 /// is a malloc call. Since CallInst::CreateMalloc() only creates calls, we
341 const CallInst *llvm::extractMallocCall(
344 return isMallocLikeFn(I, GetTLI) ? dyn_cast<CallInst>(I) : nullptr;
347 static Value *computeArraySize(const CallInst *CI, const DataLayout &DL,
377 PointerType *llvm::getMallocType(const CallInst *CI,
384 // Determine if CallInst has a bitcast use.
408 Type *llvm::getMallocAllocatedType(const CallInst *CI,
419 Value *llvm::getMallocArraySize(CallInst *CI, const DataLayout &DL,
426 /// extractCallocCall - Returns the corresponding CallInst i
[all...]
H A DIRSimilarityIdentifier.cpp78 static StringRef getCalledFunctionName(CallInst &CI) {
139 if (isa<CallInst>(A.Inst) && isa<CallInst>(B.Inst)) {
140 CallInst *CIA = cast<CallInst>(A.Inst);
141 CallInst *CIB = cast<CallInst>(B.Inst);
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DLowerMatrixIntrinsics.cpp691 SmallVector<CallInst *, 16> MaybeFusableInsts;
702 MaybeFusableInsts.push_back(cast<CallInst>(&I));
708 for (CallInst *CI : MaybeFusableInsts)
719 if (CallInst *CInst = dyn_cast<CallInst>(Inst))
758 bool VisitCallInst(CallInst *Inst) {
861 void LowerColumnMajorLoad(CallInst *Inst) {
928 void LowerColumnMajorStore(CallInst *Inst) {
1104 CallInst *MatMul) {
1184 bool isFusionProfitable(CallInst *MatMu
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/lib/IR/
H A DInstructions.cpp255 return CallInst::Create(cast<CallInst>(CB), Bundles, InsertPt);
292 /// Tests if this call site must be tail call optimized. Only a CallInst can
295 if (auto *CI = dyn_cast<CallInst>(this))
302 if (auto *CI = dyn_cast<CallInst>(this))
477 // CallInst Implementation
480 void CallInst::init(FunctionType *FTy, Value *Func, ArrayRef<Value *> Args,
507 void CallInst::init(FunctionType *FTy, Value *Func, const Twine &NameStr) {
517 CallInst::CallInst(FunctionTyp function in class:CallInst
524 CallInst::CallInst(FunctionType *Ty, Value *Func, const Twine &Name, function in class:CallInst
531 CallInst::CallInst(const CallInst &CI) function in class:CallInst
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DIRSimilarityIdentifier.h186 else if (CallInst *CI = dyn_cast<CallInst>(ID.Inst))
409 InstrType visitCallInst(CallInst &CI) {
H A DProfileSummaryInfo.h99 /// Returns the profile count for \p CallInst.
100 Optional<uint64_t> getProfileCount(const CallBase &CallInst,
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/Frontend/OpenMP/
H A DOMPIRBuilder.h752 /// \returns CallInst to the OMP_Alloc call
753 CallInst *createOMPAlloc(const LocationDescription &Loc, Value *Size,
763 /// \returns CallInst to the OMP_Free call
764 CallInst *createOMPFree(const LocationDescription &Loc, Value *Addr,
774 /// \returns CallInst to the thread private cache call.
775 CallInst *createCachedThreadPrivate(const LocationDescription &Loc,
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DInstructions.h1464 class CallInst : public CallBase { class in namespace:llvm
1465 CallInst(const CallInst &CI);
1467 /// Construct a CallInst given a range of arguments.
1468 /// Construct a CallInst from a range of arguments
1469 inline CallInst(FunctionType *Ty, Value *Func, ArrayRef<Value *> Args,
1473 inline CallInst(FunctionType *Ty, Value *Func, ArrayRef<Value *> Args, function in class:llvm::CallInst
1475 : CallInst(Ty, Func, Args, None, NameStr, InsertBefore) {}
1477 /// Construct a CallInst given a range of arguments.
1478 /// Construct a CallInst fro
1701 CallInst::CallInst(FunctionType *Ty, Value *Func, ArrayRef<Value *> Args, function in class:llvm::CallInst::CallInst
1712 CallInst::CallInst(FunctionType *Ty, Value *Func, ArrayRef<Value *> Args, function in class:llvm::CallInst::CallInst
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DMachineModuleInfo.h47 class CallInst;
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/Sparc/
H A DSparcAsmPrinter.cpp108 MCInst CallInst; local
109 CallInst.setOpcode(SP::CALL);
110 CallInst.addOperand(Callee);
111 OutStreamer.emitInstruction(CallInst, STI);

Completed in 409 milliseconds

1234567891011>>