Home
last modified time | relevance | path

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

1234

/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DConstants.h840 class BlockAddress final : public Constant {
843 BlockAddress(Function *F, BasicBlock *BB);
852 static BlockAddress *get(Function *F, BasicBlock *BB);
856 static BlockAddress *get(BasicBlock *BB);
861 static BlockAddress *lookup(const BasicBlock *BB);
876 struct OperandTraits<BlockAddress> :
877 public FixedNumOperandTraits<BlockAddress, 2> {
880 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(BlockAddress, Value)
H A DValue.def67 HANDLE_CONSTANT(BlockAddress)
H A DBasicBlock.h64 friend class BlockAddress;
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DIndirectBrExpandPass.cpp125 return isa<BlockAddress>(U.getUser()); in runOnFunction()
136 auto *BA = cast<BlockAddress>(BlockAddressUseIt->getUser()); in runOnFunction()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DConstants.cpp493 if (const BlockAddress *BA = dyn_cast<BlockAddress>(this)) in needsRelocation()
506 isa<BlockAddress>(LHS->getOperand(0)) && in needsRelocation()
1429 BlockAddress *BlockAddress::get(BasicBlock *BB) { in get()
1434 BlockAddress *BlockAddress::get(Function *F, BasicBlock *BB) { in get()
1435 BlockAddress *&BA = in get()
1438 BA = new BlockAddress(F, BB); in get()
1444 BlockAddress::BlockAddress(Function *F, BasicBlock *BB) in BlockAddress() function in BlockAddress
1452 BlockAddress *BlockAddress::lookup(const BasicBlock *BB) { in lookup()
1458 BlockAddress *BA = in lookup()
1465 void BlockAddress::destroyConstantImpl() { in destroyConstantImpl()
[all …]
H A DBasicBlock.cpp76 BlockAddress *BA = cast<BlockAddress>(user_back()); in ~BasicBlock()
H A DConstantFold.cpp1454 !isa<BlockAddress>(V1)) { in evaluateICmpRelation()
1456 !isa<BlockAddress>(V2)) { in evaluateICmpRelation()
1497 } else if (isa<BlockAddress>(V2)) { in evaluateICmpRelation()
1511 } else if (const BlockAddress *BA = dyn_cast<BlockAddress>(V1)) { in evaluateICmpRelation()
1523 if (const BlockAddress *BA2 = dyn_cast<BlockAddress>(V2)) { in evaluateICmpRelation()
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DMachineOperand.h25 class BlockAddress; variable
189 const BlockAddress *BA; // For MO_BlockAddress.
557 const BlockAddress *getBlockAddress() const { in getBlockAddress()
831 static MachineOperand CreateBA(const BlockAddress *BA, int64_t Offset,
H A DAsmPrinter.h38 class BlockAddress; variable
458 MCSymbol *GetBlockAddressSymbol(const BlockAddress *BA) const;
H A DMachineFunction.h54 class BlockAddress; variable
210 const BlockAddress *RecoverBA;
852 const BlockAddress *RecoverBA);
H A DISDOpcodes.h63 JumpTable, ConstantPool, ExternalSymbol, BlockAddress, enumerator
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DValueMapper.cpp61 DelayedBasicBlock(const BlockAddress &Old) in DelayedBasicBlock()
182 Value *mapBlockAddress(const BlockAddress &BA);
416 if (BlockAddress *BA = dyn_cast<BlockAddress>(C)) in mapValue()
491 Value *Mapper::mapBlockAddress(const BlockAddress &BA) { in mapBlockAddress()
505 return getVM()[&BA] = BlockAddress::get(F, BB ? BB : BA.getBasicBlock()); in mapBlockAddress()
H A DSplitModule.cpp137 BlockAddress *BA = BlockAddress::lookup(&BB); in findPartitions()
H A DCloneFunction.cpp183 Constant *OldBBAddr = BlockAddress::get(const_cast<Function*>(OldFunc), in CloneFunctionInto()
185 VMap[OldBBAddr] = BlockAddress::get(NewFunc, CBB); in CloneFunctionInto()
310 Constant *OldBBAddr = BlockAddress::get(const_cast<Function*>(OldFunc), in CloneBlock()
312 VMap[OldBBAddr] = BlockAddress::get(NewFunc, NewBB); in CloneBlock()
H A DEvaluator.cpp71 if (C->getNumOperands() == 0 || isa<BlockAddress>(C)) in isSimpleEnoughValueToCommitHelper()
600 if (BlockAddress *BA = dyn_cast<BlockAddress>(Val)) in EvaluateBlock()
H A DFunctionComparator.cpp345 const BlockAddress *LBA = cast<BlockAddress>(L); in cmpConstants()
346 const BlockAddress *RBA = cast<BlockAddress>(R); in cmpConstants()
/freebsd-12.1/contrib/llvm/lib/Target/ARM/
H A DARMConstantPoolValue.h27 class BlockAddress; variable
178 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()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DLint.cpp436 !isa<BlockAddress>(UnderlyingObject), in visitMemoryReference()
442 Assert(!isa<BlockAddress>(UnderlyingObject), in visitMemoryReference()
446 Assert(!isa<BlockAddress>(UnderlyingObject), in visitMemoryReference()
451 isa<BlockAddress>(UnderlyingObject), in visitMemoryReference()
/freebsd-12.1/contrib/llvm/tools/llvm-diff/
H A DDifferenceEngine.cpp407 if (isa<BlockAddress>(L)) in equivalentAsOperands()
408 return Blocks[cast<BlockAddress>(L)->getBasicBlock()] in equivalentAsOperands()
409 == cast<BlockAddress>(R)->getBasicBlock(); in equivalentAsOperands()
/freebsd-12.1/contrib/llvm/tools/bugpoint/
H A DExtractFunction.cpp68 if (BlockAddress *BA = dyn_cast<BlockAddress>(V)) { in globalInitUsesExternalBA()
/freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/
H A Dknown_gcc_test_failures.txt9 # Computed gotos are not supported (Cannot select BlockAddress/BRIND)
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DSCCP.cpp166 BlockAddress *getBlockAddress() const { in getBlockAddress()
168 return dyn_cast<BlockAddress>(getConstant()); in getBlockAddress()
713 BlockAddress *Addr = IBRValue.getBlockAddress(); in getFeasibleSuccessors()
1662 IBR->setAddress(BlockAddress::get(IBR->getSuccessor(0))); in ResolvedUndefsIn()
1919 if (!isa<BlockAddress>(IBR->getAddress()->stripPointerCasts())) { in forceIndeterminateEdge()
1922 C = BlockAddress::get(IBR->getSuccessor(0)); in forceIndeterminateEdge()
/freebsd-12.1/contrib/llvm/lib/Transforms/IPO/
H A DIPConstantPropagation.cpp63 if (isa<BlockAddress>(UR)) continue; in PropagateConstantsIntoArguments()
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DLazyCallGraph.h1086 if (BlockAddress *BA = dyn_cast<BlockAddress>(C)) { in visitReferences()

1234