Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/AST/Interp/
H A DByteCodeEmitter.h34 using LabelTy = uint32_t;
48 void emitLabel(LabelTy Label);
50 LabelTy getLabel() { return ++NextLabel; } in getLabel()
63 bool jumpTrue(const LabelTy &Label);
64 bool jumpFalse(const LabelTy &Label);
65 bool jump(const LabelTy &Label);
66 bool fallthrough(const LabelTy &Label);
82 LabelTy NextLabel = 0;
88 llvm::DenseMap<LabelTy, unsigned> LabelOffsets;
90 llvm::DenseMap<LabelTy, llvm::SmallVector<unsigned, 5>> LabelRelocs;
[all …]
H A DEvalEmitter.h38 using LabelTy = uint32_t;
52 void emitLabel(LabelTy Label);
54 LabelTy getLabel();
65 bool jumpTrue(const LabelTy &Label);
66 bool jumpFalse(const LabelTy &Label);
67 bool jump(const LabelTy &Label);
68 bool fallthrough(const LabelTy &Label);
105 LabelTy NextLabel = 1;
107 LabelTy CurrentLabel = 0;
109 LabelTy ActiveLabel = 0;
H A DByteCodeStmtGen.cpp39 using LabelTy = typename ByteCodeStmtGen<Emitter>::LabelTy; typedef in clang::interp::LoopScope
42 LoopScope(ByteCodeStmtGen<Emitter> *Ctx, LabelTy BreakLabel, in LoopScope()
43 LabelTy ContinueLabel) in LoopScope()
63 using LabelTy = typename ByteCodeStmtGen<Emitter>::LabelTy; typedef in clang::interp::SwitchScope
68 LabelTy BreakLabel, OptLabelTy DefaultLabel) in SwitchScope()
209 LabelTy LabelElse = this->getLabel(); in visitIfStmt()
210 LabelTy LabelEnd = this->getLabel(); in visitIfStmt()
222 LabelTy LabelEnd = this->getLabel(); in visitIfStmt()
H A DByteCodeStmtGen.h37 using LabelTy = typename Emitter::LabelTy; variable
39 using OptLabelTy = llvm::Optional<LabelTy>;
40 using CaseMap = llvm::DenseMap<const SwitchCase *, LabelTy>;
H A DByteCodeEmitter.cpp88 void ByteCodeEmitter::emitLabel(LabelTy Label) { in emitLabel()
105 int32_t ByteCodeEmitter::getOffset(LabelTy Label) { in getOffset()
172 bool ByteCodeEmitter::jumpTrue(const LabelTy &Label) { in jumpTrue()
176 bool ByteCodeEmitter::jumpFalse(const LabelTy &Label) { in jumpFalse()
180 bool ByteCodeEmitter::jump(const LabelTy &Label) { in jump()
184 bool ByteCodeEmitter::fallthrough(const LabelTy &Label) { in fallthrough()
H A DEvalEmitter.cpp45 void EvalEmitter::emitLabel(LabelTy Label) { in emitLabel()
49 EvalEmitter::LabelTy EvalEmitter::getLabel() { return NextLabel++; } in getLabel()
69 bool EvalEmitter::jumpTrue(const LabelTy &Label) { in jumpTrue()
77 bool EvalEmitter::jumpFalse(const LabelTy &Label) { in jumpFalse()
85 bool EvalEmitter::jump(const LabelTy &Label) { in jump()
91 bool EvalEmitter::fallthrough(const LabelTy &Label) { in fallthrough()
H A DByteCodeExprGen.h50 using LabelTy = typename Emitter::LabelTy; variable
/llvm-project-15.0.7/llvm/lib/IR/
H A DLLVMContextImpl.cpp42 VoidTy(C, Type::VoidTyID), LabelTy(C, Type::LabelTyID), in LLVMContextImpl()
H A DType.cpp223 Type *Type::getLabelTy(LLVMContext &C) { return &C.pImpl->LabelTy; } in getLabelTy()
H A DLLVMContextImpl.h1464 Type VoidTy, LabelTy, HalfTy, BFloatTy, FloatTy, DoubleTy, MetadataTy,
/llvm-project-15.0.7/llvm/bindings/ocaml/llvm/
H A Dllvm.mli757 [llvm::Type::LabelTy]. *)