Home
last modified time | relevance | path

Searched refs:BlockAddress (Results 1 – 25 of 102) sorted by relevance

12345

/openbsd-src/gnu/llvm/llvm/lib/Target/CSKY/
H A DCSKYConstantPoolValue.cpp105 const BlockAddress *CSKYConstantPoolConstant::getBlockAddress() const { in getBlockAddress()
106 assert(isa<BlockAddress>(CVal) && "CVal should be BlockAddress"); in getBlockAddress()
107 return cast<BlockAddress>(CVal); in getBlockAddress()
H A DCSKYConstantPoolValue.h24 class BlockAddress; variable
124 const BlockAddress *getBlockAddress() const;
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DConstants.h875 class BlockAddress final : public Constant {
878 BlockAddress(Function *F, BasicBlock *BB);
889 static BlockAddress *get(Function *F, BasicBlock *BB);
893 static BlockAddress *get(BasicBlock *BB);
898 static BlockAddress *lookup(const BasicBlock *BB);
913 struct OperandTraits<BlockAddress>
914 : public FixedNumOperandTraits<BlockAddress, 2> {};
916 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(BlockAddress, Value)
H A DValue.def80 HANDLE_CONSTANT(BlockAddress)
/openbsd-src/gnu/llvm/llvm/tools/llvm-reduce/deltas/
H A DUtils.cpp38 return isa<GlobalAlias, GlobalIFunc, BlockAddress>(U); in hasAliasOrBlockAddressUse()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DIndirectBrExpandPass.cpp135 return isa<BlockAddress>(U.getUser()); in runOnFunction()
146 auto *BA = cast<BlockAddress>(BlockAddressUseIt->getUser()); in runOnFunction()
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DConstants.cpp531 delete static_cast<BlockAddress *>(C); in deleteConstant()
633 if (const BlockAddress *BA = dyn_cast<BlockAddress>(this)) in getRelocationInfo()
649 if (isa<BlockAddress>(LHSOp0) && isa<BlockAddress>(RHSOp0) && in getRelocationInfo()
650 cast<BlockAddress>(LHSOp0)->getFunction() == in getRelocationInfo()
651 cast<BlockAddress>(RHSOp0)->getFunction()) in getRelocationInfo()
1773 BlockAddress *BlockAddress::get(BasicBlock *BB) { in get()
1778 BlockAddress *BlockAddress::get(Function *F, BasicBlock *BB) { in get()
1779 BlockAddress *&BA = in get()
1782 BA = new BlockAddress(F, BB); in get()
1788 BlockAddress::BlockAddress(Function *F, BasicBlock *BB) in BlockAddress() function in BlockAddress
[all …]
H A DBasicBlock.cpp84 BlockAddress *BA = cast<BlockAddress>(user_back()); in ~BasicBlock()
H A DConstantFold.cpp1416 !isa<BlockAddress>(V1)) { in evaluateICmpRelation()
1418 !isa<BlockAddress>(V2)) { in evaluateICmpRelation()
1459 } else if (isa<BlockAddress>(V2)) { in evaluateICmpRelation()
1473 } else if (const BlockAddress *BA = dyn_cast<BlockAddress>(V1)) { in evaluateICmpRelation()
1485 if (const BlockAddress *BA2 = dyn_cast<BlockAddress>(V2)) { in evaluateICmpRelation()
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DMachineOperand.h24 class BlockAddress; variable
200 const BlockAddress *BA; // For MO_BlockAddress.
584 const BlockAddress *getBlockAddress() const { in getBlockAddress()
905 static MachineOperand CreateBA(const BlockAddress *BA, int64_t Offset,
H A DAsmPrinter.h38 class BlockAddress; variable
634 MCSymbol *GetBlockAddressSymbol(const BlockAddress *BA) const;
H A DISDOpcodes.h84 BlockAddress, enumerator
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DSplitModule.cpp139 BlockAddress *BA = BlockAddress::lookup(&BB); in findPartitions()
H A DValueMapper.cpp61 DelayedBasicBlock(const BlockAddress &Old) in DelayedBasicBlock()
179 Value *mapBlockAddress(const BlockAddress &BA);
439 if (BlockAddress *BA = dyn_cast<BlockAddress>(C)) in mapValue()
534 Value *Mapper::mapBlockAddress(const BlockAddress &BA) { in mapBlockAddress()
548 return getVM()[&BA] = BlockAddress::get(F, BB ? BB : BA.getBasicBlock()); in mapBlockAddress()
H A DEvaluator.cpp67 if (C->getNumOperands() == 0 || isa<BlockAddress>(C)) in isSimpleEnoughValueToCommitHelper()
569 if (BlockAddress *BA = dyn_cast<BlockAddress>(Val)) in EvaluateBlock()
H A DFunctionComparator.cpp372 const BlockAddress *LBA = cast<BlockAddress>(L); in cmpConstants()
373 const BlockAddress *RBA = cast<BlockAddress>(R); in cmpConstants()
H A DCloneFunction.cpp203 Constant *OldBBAddr = BlockAddress::get(const_cast<Function *>(OldFunc), in CloneFunctionInto()
205 VMap[OldBBAddr] = BlockAddress::get(NewFunc, CBB); in CloneFunctionInto()
487 Constant *OldBBAddr = BlockAddress::get(const_cast<Function *>(OldFunc), in CloneBlock()
489 VMap[OldBBAddr] = BlockAddress::get(NewFunc, NewBB); in CloneBlock()
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/
H A DARMConstantPoolValue.h26 class BlockAddress; variable
175 const BlockAddress *getBlockAddress() const;
H A DARMConstantPoolValue.cpp187 const BlockAddress *ARMConstantPoolConstant::getBlockAddress() const { in getBlockAddress()
188 return dyn_cast_or_null<BlockAddress>(CVal); in getBlockAddress()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/
H A DWinCFGuard.cpp51 if (isa<BlockAddress>(FnUser)) in isPossibleIndirectCallTarget()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DLint.cpp419 !isa<BlockAddress>(UnderlyingObject), in visitMemoryReference()
425 Check(!isa<BlockAddress>(UnderlyingObject), in visitMemoryReference()
429 Check(!isa<BlockAddress>(UnderlyingObject), in visitMemoryReference()
434 isa<BlockAddress>(UnderlyingObject), in visitMemoryReference()
/openbsd-src/gnu/llvm/llvm/tools/bugpoint/
H A DExtractFunction.cpp67 if (BlockAddress *BA = dyn_cast<BlockAddress>(V)) { in globalInitUsesExternalBA()
/openbsd-src/gnu/llvm/llvm/tools/llvm-diff/lib/
H A DDifferenceEngine.cpp579 if (isa<BlockAddress>(L)) in equivalentAsOperands()
580 return Blocks[cast<BlockAddress>(L)->getBasicBlock()] in equivalentAsOperands()
581 == cast<BlockAddress>(R)->getBasicBlock(); in equivalentAsOperands()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp1707 if (isa<BlockAddress>(U)) in ChangeCalleesToFastCall()
1724 if (isa<BlockAddress>(U)) in RemoveAttribute()
1747 if (isa<BlockAddress>(U)) in hasChangeableCC()
1788 if (isa<BlockAddress>(U)) in isValidCandidateForColdCC()
1804 if (isa<BlockAddress>(U)) in changeCallSitesToColdCC()
1850 assert(isa<BlockAddress>(U) && in hasMustTailCallers()
/openbsd-src/gnu/llvm/llvm/lib/Target/Mips/
H A DRelocation.txt7 ExternalSymbol, BlockAddress

12345