Definition at line 1714 of file InstrTypes.h. Passes are required to drop metadata they don't understand. Extract the alignment of the return value. CreateFree - Generate the IR for a call to the builtin free function. Definition at line 1286 of file InstrTypes.h. Referenced by createCoroSave(), despeculateCountZeros(), llvm::GCNTTIImpl::instCombineIntrinsic(), OptimizeAwayTrappingUsesOfValue(), processAbsIntrinsic(), llvm::promoteCall(), llvm::GCNTTIImpl::rewriteIntrinsicWithAddressSpace(), setConstantInArgument(), llvm::MemIntrinsicBase< AnyMemIntrinsic >::setDest(), llvm::AtomicMemIntrinsic::setElementSizeInBytes(), llvm::MemIntrinsicBase< AnyMemIntrinsic >::setLength(), llvm::VPIntrinsic::setMaskParam(), llvm::VPIntrinsic::setVectorLengthParam(), llvm::MemIntrinsic::setVolatile(), simplifyAMDGCNMemoryIntrinsicDemanded(), and turnGuardIntoBranch(). Returns the function called, or null if this is an indirect function invocation or the function signature does not match the call signature. References getTailCallKind(), and TCK_MustTail. Return true if there are any uses of this instruction in blocks other than the specified block. Return true if the instruction will return (unwinding is considered as a form of returning control flow here). Definition at line 1769 of file InstrTypes.h. Definition at line 172 of file Instruction.h. Return true if this instruction has the given type of metadata attached. Definition at line 642 of file Instruction.cpp. It checks if this instruction is the only user of at least one of its operands. Set or clear the allow-contract flag on this instruction, which must be an operator which supports this flag. Definition at line 1637 of file InstrTypes.h. Definition at line 1973 of file InstrTypes.h. References assert(), countOperandBundlesOfType(), llvm::numbers::e, getNumOperandBundles(), getOperandBundleAt(), llvm::OperandBundleUse::getTagID(), i, and llvm::None. References Attrs, F, getCalledFunction(), and llvm::AttributeList::getParamByValType(). Definition at line 306 of file Instructions.cpp. Accumulate the constant offset this value has compared to a base pointer. This cleans up all CallInst creation in LLVM to explicitly pass a function type rather than deriving it from the pointer's element-type. This means that the opcodes, type, operand types and any other factors affecting the operation must be the same. Definition at line 1563 of file Instructions.h. Set or clear the no-signed-zeros flag on this instruction, which must be an operator which supports this flag. Definition at line 1464 of file InstrTypes.h. Determine if the call cannot be tail merged. Because they are used so often, you must know what they do and how they . This method unlinks 'this' from the containing basic block and deletes it. static CallInst *Create (Value *Func, ArrayRef<Value *> Args, const Twine &NameStr = "", Instruction *InsertBefore = 0) this function, I wonder what the return value of this function means. Set the metadata of the specified kind to the specified node. Definition at line 240 of file Instruction.cpp. Definition at line 1577 of file Instructions.h. Definition at line 1580 of file InstrTypes.h. Determine if there are is an inalloca argument. Return true if the instruction is a variety of EH-block. Clear the optional flags contained in this value. Return the debug location for this node as a. References assert(), getOpcode(), isAtomic(), and llvm::SPII::Load. CreateMalloc - Generate the IR for a call to malloc: 1. Definition at line 1322 of file InstrTypes.h. Referenced by isSafeToMove(), and mayHaveSideEffects(). Returns the descriptor co-allocated with this. Create a copy of 'this' instruction that is identical in all ways except the following: Return true if the specified instruction is exactly identical to the current one. Definition at line 294 of file Instruction.h. Definition at line 1590 of file InstrTypes.h. Definition at line 1478 of file InstrTypes.h. Referenced by ConstructNewCallInst(), llvm::UpgradeIntrinsicCall(), and WriteInstruction(). Convenience method to copy supported exact, fast-math, and (optionally) wrapping flags from V to this instruction. Abstractly, does ptr mean. . Determine whether this call has the given attribute. References llvm::Attribute::NoUnwind, and paramHasAttr(). Determine whether the no-infs flag is set. Return true if this value has the given type of metadata attached. Definition at line 271 of file Instruction.h. These are the top rated real world C++ (Cpp) examples of IRBuilder::CreateCall extracted from open source projects. Given a use for a arg operand, get the arg operand number that corresponds to it. Definition at line 161 of file Instruction.cpp. Set or clear the nsw flag on this instruction, which must be an operator which supports this flag. Referenced by buildPartialInvariantUnswitchConditionalBranch(), CloneInstructionsIntoPredecessorBlockAndUpdateSSAUses(), llvm::ehAwareSplitEdge(), findOrCreatePHIInBlock(), llvm::FoldReturnIntoUncondBranch(), MergeCompatibleInvokesImpl(), rematerializeLiveValues(), replaceGEPIdxWithZero(), rewriteMaterializableInstructions(), llvm::InnerLoopVectorizer::scalarizeInstruction(), SplitLandingPadPredecessorsImpl(), unswitchNontrivialInvariants(), unswitchTrivialBranch(), and llvm::versionCallSite(). Return true if this value has any metadata attached to it. Definition at line 2101 of file InstrTypes.h. When there isn't many bundles, we do a simple linear search. This does not guarantee removal of the !dbg source location attachment, as it must set a line 0 location with scope information attached on call instructions. Determine whether the passed iterator points to the callee operand's Use. Remove every uses that can safely be removed. Strip off pointer casts, all-zero GEPs, single-argument phi nodes and invariant group info. Referenced by HandleCallsInBlockInlinedThroughInvoke(), llvm::GCNTTIImpl::isAlwaysUniform(), isIndirectCall(), shouldBeMustTail(), and shouldConvertUse(). Definition at line 1553 of file InstrTypes.h. Get the attribute of a given kind for the function. Extract the number of dereferenceable_or_null bytes for a call (0=unknown). Both 1 and 2 are "true". If one of the arguments has the 'returned' attribute, returns its operand value. Definition at line 766 of file Instruction.h. Definition at line 173 of file Instruction.h. Tests if this call site is marked as a tail call. Definition at line 1045 of file Instructions.h. Return true if the data operand at index i has the attribute A. Determine whether this data operand is not captured. For calls, it also drops parameter and return attributes that can cause undefined behaviour. Definition at line 290 of file Instructions.cpp. Removes the attribute from the given argument. References Attrs, llvm::Value::getContext(), and llvm::AttributeList::removeRetAttributes(). Definition at line 1522 of file Instructions.h. References getBundleOperandsEndIndex(), getBundleOperandsStartIndex(), and hasOperandBundles(). Definition at line 649 of file Instruction.h. This means that all operands match and any extra information (e.g. This method unlinks 'this' from the containing basic block and deletes it. Determine whether the no-signed-zeros flag is set. Definition at line 1690 of file Instructions.h. Update the specified successor to point at the provided block. Definition at line 1526 of file InstrTypes.h. [prev in list] [next in list] [prev in thread] [next in thread] List: llvm-commits Subject: [PATCH] D129352: [CodeGen] Limit building time for CodeGenPrepare From: Xiang Zhang via Phabricator via llvm-commits <llvm-commits lists ! Definition at line 23 of file Instruction.cpp. Worth having CallInst::Create overloads that take Functions and pulls out their function type rather than having to do it explicitly in the callers? Return true if this instruction may read memory. This is like isIdenticalTo, except that it ignores the SubclassOptionalData flags, which may specify conditions under which the instruction's result is undefined. Definition at line 1823 of file InstrTypes.h. Set a particular kind of metadata attachment. Drop all unknown metadata except for debug locations. Definition at line 253 of file Instruction.h. Definition at line 89 of file Instruction.h. CallInst *c = CallInst::Create (targetFunc); ReplaceInstWithInst . Definition at line 824 of file DebugInfo.cpp. Note that this does not consider malloc and alloca to have side effects because the newly allocated memory is completely invisible to instructions which don't use the returned value. Insert an unlinked instruction into a basic block immediately after the specified instruction. References bundle_op_info_begin(), and bundle_op_info_end(). This updates or replaces metadata if already present, or removes it if Node is null. Referenced by isFnAttrDisallowedByOpBundle(), and paramHasAttr(). Removes the attributes from the given argument. References llvm::AMDGPU::HSAMD::Kernel::Key::Args, and Create(). Definition at line 270 of file Instructions.cpp. Referenced by optimizeDivRem(), rewriteDebugUsers(), and llvm::slpvectorizer::BoUpSLP::vectorizeTree(). References addAttribute(), llvm::Attribute::NoInline, and removeAttribute(). Determine if the invoke cannot be duplicated. Definition at line 1058 of file Instructions.h. References llvm::AArch64CC::AL, dropUnknownNonDebugMetadata(), and llvm::AttributeFuncs::getUBImplyingAttributes(). Note: it is undefined behavior to call this on an instruction not currently inserted into a function. Definition at line 843 of file Instructions.h. Or is there not enough . Definition at line 73 of file Instruction.cpp. References doesNotAccessMemory(), paramHasAttr(), and llvm::Attribute::ReadOnly. Definition at line 1379 of file InstrTypes.h. Definition at line 1917 of file InstrTypes.h. Determine if the call can access memmory only using pointers based on its arguments. Determine whether all fast-math-flags are set. Extract the elementtype type for a parameter. Strip off pointer casts, all-zero GEPs and address space casts. removes the attribute from the list of attributes. Convenience function for transferring all fast-math flag values to this instruction, which must be an operator which supports these flags. removeAttribute - removes the attribute from the list of attributes. Collaboration diagram for llvm::CallInst: stripAndAccumulateInBoundsConstantOffsets, llvm::ilist_node_with_parent< Instruction, BasicBlock >, llvm::ilist_node_impl< ilist_detail::compute_node_options< Instruction, Options >::type >, llvm::objcarc::createCallInstWithColors(), llvm::IRBuilderBase::CreateVectorReverse(), llvm::IRBuilderBase::CreateVectorSplice(), llvm::BPFCoreSharedInfo::insertPassThrough(), llvm::IntrinsicLowering::LowerToByteSwap(), llvm::InstCombinerImpl::SimplifyDemandedUseBits(), llvm::IRSimilarity::IRInstructionMapper::InstructionClassification::visitCallInst(), llvm::HexagonTargetLowering::mayBeEmittedAsTailCall(), llvm::SITargetLowering::mayBeEmittedAsTailCall(), llvm::RISCVTargetLowering::mayBeEmittedAsTailCall(), llvm::SystemZTargetLowering::mayBeEmittedAsTailCall(). Referenced by addNonNullAttribute(), annotateDereferenceableBytes(), annotateNonNullNoUndefBasedOnAccess(), llvm::IRBuilderBase::CreateElementUnorderedAtomicMemMove(), CreateGCStatepointCallCommon(), CreateGCStatepointInvokeCommon(), llvm::IRBuilderBase::CreatePreserveArrayAccessIndex(), llvm::IRBuilderBase::CreatePreserveStructAccessIndex(), llvm::IRBuilderBase::CreateThreadLocalAddress(), llvm::ARMTargetLowering::emitLoadLinked(), llvm::AArch64TargetLowering::emitLoadLinked(), llvm::ARMTargetLowering::emitStoreConditional(), llvm::AArch64TargetLowering::emitStoreConditional(), promoteArguments(), and llvm::MemIntrinsicBase< AnyMemIntrinsic >::setDestAlignment(). Referenced by llvm::GCNTTIImpl::instCombineIntrinsic(). Should we burninate the [variations] tag? Each OperandBundleDef instance is tracked by a OperandBundleInfo instance allocated in this User's descriptor. Definition at line 167 of file Instruction.h. Methods for support type inquiry through isa, cast, and dyn_cast: Get the number of extra operands for instructions that don't have a fixed number of extra operands. If this instruction already has !annotation metadata, append Annotation to the existing node. Return true if there is exactly one user of this value. References llvm::FAdd, llvm::FMul, and getOpcode(). References Attrs, F, getCalledFunction(), and llvm::AttributeList::getParamPreallocatedType(). Referenced by CloneInstructionsIntoPredecessorBlockAndUpdateSSAUses(). References createFree(), llvm::None, and llvm::Sched::Source. Currently operand bundle users with hung-off operands are not supported. We need a decimal number below and to prevent using floating point numbers we use an intergal value multiplied by this constant. This method computes the number of uses of this. Referenced by canMoveAboveCall(), llvm::deleteDeadLoop(), hasHardUserWithinLoop(), isSafePHIToSpeculate(), isSafeToRemove(), llvm::MergeBlockIntoPredecessor(), and llvm::InstCombinerImpl::visitCallInst(). Making location easier for developers with new data primitives, Stop requiring only one assertion per unit test: Multiple assertions are fine, Mobile app infrastructure being decommissioned. Definition at line 1605 of file InstrTypes.h. Definition at line 320 of file Instruction.cpp. Definition at line 2112 of file InstrTypes.h. What is the difference between #include
Hearth Fire Crossword Clue, Buttered Chili Garlic Crab Recipe, Playwright To Be Greater Than, Dell E2422hs Datasheet Pdf, Basic Dining Set Replacer 2k, Springfield College International Students, Hairdressers Stratford, West Virginia Marriage License Records, Torino Vs Palermo Prediction, Ngx-datatable Page Change Event, Kendo Grid Delete Row Programmatically, Institute Of Transportation Engineers, Macro To Upload File In Excel,
No comments.