Home
last modified time | relevance | path

Searched refs:LabelTy (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DByteCodeEmitter.h28 using LabelTy = uint32_t;
42 void emitLabel(LabelTy Label);
44 LabelTy getLabel() { return ++NextLabel; } in getLabel()
52 bool jumpTrue(const LabelTy &Label);
53 bool jumpFalse(const LabelTy &Label);
54 bool jump(const LabelTy &Label);
55 bool fallthrough(const LabelTy &Label);
78 LabelTy NextLabel = 0;
82 llvm::DenseMap<LabelTy, unsigned> LabelOffsets;
84 llvm::DenseMap<LabelTy, llvm::SmallVector<unsigned, 5>> LabelRelocs;
[all …]
H A DEvalEmitter.h33 using LabelTy = uint32_t;
52 void emitLabel(LabelTy Label);
54 LabelTy getLabel();
62 bool jumpTrue(const LabelTy &Label);
63 bool jumpFalse(const LabelTy &Label);
64 bool jump(const LabelTy &Label);
65 bool fallthrough(const LabelTy &Label);
121 LabelTy NextLabel = 1;
123 LabelTy CurrentLabel = 0;
125 LabelTy ActiveLabel = 0;
H A DEvalEmitter.cpp79 void EvalEmitter::emitLabel(LabelTy Label) { in emitLabel()
83 EvalEmitter::LabelTy EvalEmitter::getLabel() { return NextLabel++; } in getLabel()
107 bool EvalEmitter::jumpTrue(const LabelTy &Label) { in jumpTrue()
115 bool EvalEmitter::jumpFalse(const LabelTy &Label) { in jumpFalse()
123 bool EvalEmitter::jump(const LabelTy &Label) { in jump()
129 bool EvalEmitter::fallthrough(const LabelTy &Label) { in fallthrough()
H A DByteCodeEmitter.cpp204 void ByteCodeEmitter::emitLabel(LabelTy Label) { in emitLabel()
223 int32_t ByteCodeEmitter::getOffset(LabelTy Label) { in getOffset()
323 bool ByteCodeEmitter::jumpTrue(const LabelTy &Label) { in jumpTrue()
327 bool ByteCodeEmitter::jumpFalse(const LabelTy &Label) { in jumpFalse()
331 bool ByteCodeEmitter::jump(const LabelTy &Label) { in jump()
335 bool ByteCodeEmitter::fallthrough(const LabelTy &Label) { in fallthrough()
H A DCompiler.cpp112 using LabelTy = typename Compiler<Emitter>::LabelTy; typedef in clang::interp::LoopScope
115 LoopScope(Compiler<Emitter> *Ctx, LabelTy BreakLabel, LabelTy ContinueLabel) in LoopScope()
135 using LabelTy = typename Compiler<Emitter>::LabelTy; typedef in clang::interp::SwitchScope
139 SwitchScope(Compiler<Emitter> *Ctx, CaseMap &&CaseLabels, LabelTy BreakLabel, in SwitchScope()
916 LabelTy LabelTrue = this->getLabel(); in VisitLogicalBinOp()
917 LabelTy LabelEnd = this->getLabel(); in VisitLogicalBinOp()
938 LabelTy LabelFalse = this->getLabel(); in VisitLogicalBinOp()
939 LabelTy LabelEnd = this->getLabel(); in VisitLogicalBinOp()
1856 LabelTy LabelEnd = this->getLabel(); // Label after the operator. in VisitAbstractConditionalOperator()
1857 LabelTy LabelFalse = this->getLabel(); // Label for the false expr. in VisitAbstractConditionalOperator()
[all …]
H A DCompiler.h101 using LabelTy = typename Emitter::LabelTy;
103 using OptLabelTy = std::optional<LabelTy>;
104 using CaseMap = llvm::DenseMap<const SwitchCase *, LabelTy>;
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DLLVMContextImpl.cpp38 VoidTy(C, Type::VoidTyID), LabelTy(C, Type::LabelTyID), in LLVMContextImpl()
H A DType.cpp238 Type *Type::getLabelTy(LLVMContext &C) { return &C.pImpl->LabelTy; } in getLabelTy()
H A DLLVMContextImpl.h1583 Type VoidTy, LabelTy, HalfTy, BFloatTy, FloatTy, DoubleTy, MetadataTy,