getcalledfunction llvm

Definition at line 78 of file InlineFunction.cpp. Definition at line 66 of file Instructions.cpp. dump - Support for debugging, callable in GDB: V->dump(). Print the name of this Value out to the specified raw_ostream. Strips off unneeded pointer casts and all-constant GEPs from the specified value, returning the original pointer value. Referenced by llvm::InstCombineWorklist::AddUsersToWorkList(), AllCallersPassInValidPointerForArgument(), AllGlobalLoadUsesSimpleEnoughForHeapSRA(), AllUsesOfLoadedValueWillTrapIfNull(), AllUsesOfValueWillTrapIfNull(), AlmostDeadIV(), BlockIsSimpleEnoughToThreadThrough(), ChangeCalleesToFastCall(), collectUsesWithPtrTypes(), enqueueUsersInWorklist(), llvm::FindAllocaDbgDeclare(), legup::findCallerFunctions(), FindInitTrampolineFromAlloca(), llvm::CodeExtractor::findInputsOutputs(), FindSingleUseIdentifiedObject(), legup::Allocation::getNumInstancesforFunction(), getUniqueCastUse(), GlobalUsersSafeToSRA(), hasLifetimeMarkers(), hasOutsideLoopUser(), hasUsesOutsideLoop(), llvm::isAllocaPromotable(), isAllocSiteRemovable(), llvm::Constant::isConstantUsed(), llvm::Function::isDefTriviallyDead(), isHighCostExpansion(), isOnlyUsedInEntryBlock(), IsOnlyUsedInZeroEqualityComparison(), isSafeAndProfitableToSinkLoad(), isSafePHIToSpeculate(), isSafeSelectToSpeculate(), isSafeSROAElementUse(), llvm::isSafeToDestroyConstant(), isUsedByLifetimeMarker(), isUsedOutsideOfDefiningBlock(), IsUserOfGlobalSafeForSRA(), LoadUsesSimpleEnoughForHeapSRA(), llvm::LowerDbgDeclare(), NegateValue(), OnlyUsedBy(), llvm::onlyUsedByLifetimeMarkers(), ProcessUGT_ADDCST_ADD(), ProcessUMulZExtIdiom(), promoteSingleBlockAlloca(), PushDefUseChildren(), pushIVUsers(), RemoveNestAttribute(), replaceAndRecursivelySimplifyImpl(), ReplaceUsesOfWith(), rewriteNonInstructionUses(), llvm::InstCombiner::SliceUpIllegalIntegerPHI(), llvm::SparseSolver::Solve(), swapMayExposeCSEOpportunities(), tryPromoteAllocaToVector(), tryToMakeAllocaBePromotable(), TryToShrinkGlobalToBoolean(), usedInGlobalVarDef(), usedInOneFunc(), useFuncSeen(), and ValueIsOnlyUsedLocallyOrStoredToOneGlobal(). This is only valid at call sites, not on function - declarations or definitions. References BB, llvm::ClonedCodeInfo::ContainsCalls, E, llvm::LandingPadInst::getClause(), llvm::ilist_node_impl< OptionsT >::getIterator(), llvm::InvokeInst::getLandingPadInst(), llvm::LandingPadInst::getNumClauses(), llvm::Instruction::getParent(), llvm::BasicBlock::getParent(), llvm::InvokeInst::getUnwindDest(), HandleCallsInBlockInlinedThroughInvoke(), I, llvm::SmallPtrSetImpl< PtrType >::insert(), llvm::LandingPadInst::isCleanup(), and llvm::BasicBlock::removePredecessor(). Definition at line 69 of file Instructions.cpp. C++ (Cpp) Function - 25 examples found. References llvm::PointerIntPair< PointerTy, IntBits, IntType, PtrTraits >::getPointer(). Definition at line 78 of file Instructions.cpp. References assert(), llvm::dbgs(), llvm::StringMapEntry< ValueTy >::Destroy(), getName(), I, MDStringVal, llvm::LeakDetector::removeGarbageObject(), use_begin(), use_empty(), use_end(), and llvm::ValueHandleBase::ValueIsDeleted(). getName() - Return a constant reference to the value's name. Returns a DebugLoc for a new DILocation which is a clone of OrigDL inlined at InlinedAt. Definition at line 789 of file InlineFunction.cpp. Values of this enumeration are kept in the Value classes SubclassID field. LLVM- How to get function by function's real/original name, Finding features that intersect QgsRectangle but are not equal to themselves using PyQGIS, Generalize the Gdel sentence requires a fixed point theorem, Two surfaces in a 4-manifold whose algebraic intersection number is zero. References Arg, llvm::Function::args(), llvm::ValueMap< KeyT, ValueT, Config >::begin(), llvm::MDNode::concatenate(), llvm::MDBuilder::createAnonymousAliasScope(), llvm::MDBuilder::createAnonymousAliasScopeDomain(), llvm::IRBuilderBase::CreateNoAliasScopeDeclaration(), llvm::numbers::e, EnableNoAliasConversion, llvm::ValueMap< KeyT, ValueT, Config >::end(), llvm::MDNode::get(), llvm::CallBase::getCalledFunction(), llvm::Function::getContext(), llvm::AAResults::getMemoryEffects(), llvm::Instruction::getMetadata(), llvm::Value::getName(), llvm::getUnderlyingObjects(), i, I, llvm::DenseMapBase< DenseMap< KeyT, ValueT, DenseMapInfo< KeyT >, llvm::detail::DenseMapPair< KeyT, ValueT > >, KeyT, ValueT, DenseMapInfo< KeyT >, llvm::detail::DenseMapPair< KeyT, ValueT > >::insert(), llvm::SmallPtrSetImpl< PtrType >::insert(), llvm::isEscapeSource(), llvm::isIdentifiedObject(), llvm::ClonedCodeInfo::isSimplified(), NoAliases, llvm::RISCVFenceField::O, llvm::MemoryEffects::onlyAccessesArgPointees(), llvm::MemoryEffects::onlyAccessesInaccessibleMem(), llvm::CallBase::paramHasAttr(), llvm::PointerMayBeCapturedBefore(), llvm::DominatorTreeBase< NodeT, IsPostDom >::recalculate(), llvm::Instruction::setMetadata(), SI, and UseNoAliasIntrinsic. Copyright 2003-2014 University of Illinois at Urbana-Champaign. References getInstruction(), and llvm::User::setOperand(). Since many funclets don't have calls inside them, it's queried on-demand rather than building a map of pads to unwind dests up front. More. Definition at line 138 of file CallSite.h. When inlining a call site that has !llvm.mem.parallel_loop_access, !llvm.access.group, !alias.scope or !noalias metadata, that metadata should be propagated to all memory-accessing cloned instructions. Referenced by llvm::InlineFunction (). Inheritance diagram for llvm::InlineCostAnalysis: Definition at line 82 of file InlineFunction.cpp. These are the top rated real world C++ (Cpp) examples of llvm::Function::getParent extracted from open source projects. Definition at line 1468 of file InlineFunction.cpp. Definition at line 72 of file Instructions.cpp. I want to know if an llvm::intruction is a function call and if so what is the name of the fucntion it is calling to. MaximumAlignment - This is the greatest alignment value supported by load, store, and alloca instructions, and global values. References assert(), llvm::StringMapEntry< ValueTy >::Destroy(), getSymTab(), hasName(), MDStringVal, setName(), llvm::StringMapEntry< ValueTy >::setValue(), and llvm::AArch64DB::ST. Referenced by llvm::InstCombiner::commonPointerCastTransforms(), ConvertShiftToMul(), llvm::FoldBranchToCommonDest(), llvm::InstCombiner::FoldSelectIntoOp(), llvm::InstCombiner::FoldShiftByConstant(), FoldTwoEntryPHINode(), forceRenaming(), GetLoadValueForLoad(), GetShiftedValue(), HoistThenElseCodeToIf(), legup::isolateGV(), llvm::MergeBlockIntoPredecessor(), legup::replaceCallSites(), llvm::ReplaceInstWithValue(), setUsedInitializer(), tryFactorization(), tryToMakeAllocaBePromotable(), TryToShrinkGlobalToBoolean(), UpgradeGlobalStructors(), llvm::InstCombiner::visitCallInst(), llvm::InstCombiner::visitFMul(), llvm::InstCombiner::visitGetElementPtrInst(), llvm::InstCombiner::visitICmpInstWithInstAndIntCst(), llvm::InstCombiner::visitMul(), llvm::InstCombiner::visitOr(), llvm::InstCombiner::visitTrunc(), and llvm::InstCombiner::visitXor(). By clicking Accept all cookies, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy. All Values have a Type. OperandNo must be a valid operand number that actually corresponds to an argument. CallInst is a subclass of Instruction for call instructions. [prev in list] [next in list] [prev in thread] [next in thread] List: llvm-commits Subject: [PATCH] D134527: [FunctionAttrs] Infer precise FMRB From: Nikita Popov via Phabricator via llvm-commits <llvm-commits lists ! Not On Permanent Ref: This commit is not an ancestor of any permanent ref. Referenced by llvm::getOrEnforceKnownAlignment(), and WriteInstruction(). References llvm::AllocaInst::getArraySize(), and llvm::AllocaInst::isUsedWithInAlloca(). hasValueHandle - Return true if there is a value handle associated with this value. Definition at line 1776 of file InlineFunction.cpp. The callers that rewrite the IR as they go take advantage of this, for correctness, by checking/forcing rewritten pads' entries to match the original callee view. Referenced by getUnwindDestToken(), and getUnwindDestTokenHelper(). A Value can also have an arbitrary number of ValueHandle objects that watch it and listen to RAUW and Destroy events. References llvm::Type::getContext(), llvm::Type::getInt8PtrTy(), llvm::Type::getPointerAddressSpace(), llvm::AllocaInst::getType(), isUsedByLifetimeMarker(), and llvm::Value::users(). Definition at line 106 of file CallSite.h. Definition at line 399 of file InlineFunction.cpp. Definition at line 1412 of file InlineFunction.cpp. Generated on Tue Mar 15 14:23:47 2011 for LLVM by getCalledFunction - Return the function being called if this is a direct call, otherwise return null (if it's an indirect call). Definition at line 814 of file InlineFunction.cpp. Browse other questions tagged, Where developers & technologists share private knowledge with coworkers, Reach developers & technologists worldwide. Iterate through addition of number sequence until a single digit, Saving for retirement starting at 68 years old, Can i pour Kwikcrete into a 4" round aluminum legs to add support to a gazebo. This ensures that the cloned copy of callee's entry block gets the same frequency as the callsite block and the relative frequencies of all cloned blocks remain the same after cloning. Referenced by legup::Allocation::getNumInstancesforFunction(), hasMoreThanOneUseOtherThanLLVMUsed(), ProcessUMulZExtIdiom(), llvm::BasicBlock::removePredecessor(), replaceConstantExprOp(), and SRAGlobal(). arg_begin/arg_end - Return iterators corresponding to the actual argument list for a call site. However, sometimes you want to use external libraries from within your LLVM module either because you want to make use of an existing library or because it might be easier to implement certain parts in other languages (e.g. #include "llvm/IR/InstrTypes.h" Inheritance diagram for llvm::CallBase: [ legend] Collaboration diagram for llvm::CallBase: [ legend] Detailed Description Definition at line 1657 of file InlineFunction.cpp. Does activating the pump in a vacuum chamber produce movement of the air inside? Definition at line 174 of file CallSite.h. get - local slot number of the value in function. References getInstruction(), and llvm::PointerIntPair< PointerTy, IntBits, IntType, PtrTraits >::getInt(). Replacing outdoor electrical box at end of conduit, Book where a girl living with an older relative discovers she's a robot. See llvm/IR/ValueHandle.h for details. Definition at line 51 of file Instructions.cpp. Making statements based on opinion; back them up with references or personal experience. Function * llvm::CallSite::getCalledFunction ( ) const [inline] getCalledFunction - Return the function being called if this is a direct call, otherwise return null (if it's an indirect call). Definition at line 94 of file Instructions.cpp. Collaboration diagram for llvm::CallSite: llvm::PointerIntPair< PointerTy, IntBits, IntType, PtrTraits >::setInt(), llvm::PointerIntPair< PointerTy, IntBits, IntType, PtrTraits >::setPointer(), llvm::InlineCostAnalyzer::getInlineCost(), llvm::MemoryDependenceAnalysis::getDependency(), llvm::BasicInlinerImpl::inlineFunctions(), AllCalleesPassInValidPointerForArgument(), llvm::InlineCostAnalyzer::getInlineFudgeFactor(), llvm::LibCallAliasAnalysis::getModRefInfo(), llvm::PointerIntPair< PointerTy, IntBits, IntType, PtrTraits >::getPointer(), llvm::MemoryDependenceAnalysis::getNonLocalCallDependency(), llvm::PointerIntPair< PointerTy, IntBits, IntType, PtrTraits >::getInt(), llvm::value_use_iterator< UserTy >::getUse(). Continue with Recommended Cookies. C++ source code API documentation for the Low Level Virtual Machine (LLVM). Return the result of AI->isStaticAlloca() if AI were moved to the entry block. Referenced by llvm::InstCombiner::DoOneIteration(), dump(), legup::MinimizeBitwidth::getRange(), llvm::operator<<(), llvm::AliasSetTracker::print(), legup::triStateMask::printValue(), and legup::MinimizeBitwidth::printValue(). Setting the name on the Value automatically updates the module's symbol table. Definition at line 127 of file CallSite.h. Note that !isCall() does not mean it is an InvokeInst enclosed, it also could signify a NULL Instruction pointer. It is strongly recommended that you recreate IR objects with the right types instead of mutating them in place. hasOneUse - Return true if there is exactly one user of this value. Invoke instruction. After this completes, 'this's use list is guaranteed to be empty. References getInstruction(), and llvm::User::op_begin(). References assert(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::count(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::end(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::find(), llvm::ConstantTokenNone::get(), llvm::BasicBlock::getFirstNonPHI(), getParentPad(), llvm::AArch64CC::HI, llvm::SmallVectorImpl< T >::pop_back_val(), and llvm::Value::users().

Wrestlemania Combo Tickets, Kendo Grid Header Font-size, The Internet Is A Collection Of Quizlet, Kuttavum Shikshayum Ott Release Date And Time, Precast Concrete Walls Ireland, Social Characteristics Of Kindergarten, St Francis River At Holly Island, Install Pygobject Ubuntu, Chicago Fire Vs New York City Results,

getcalledfunction llvm