Lines Matching defs:Val
508 static bool hasImplicitComdat(size_t Val) {
509 switch (Val) {
520 static GlobalValue::LinkageTypes getDecodedLinkage(unsigned Val) {
521 switch (Val) {
562 static GlobalValue::VisibilityTypes GetDecodedVisibility(unsigned Val) {
563 switch (Val) {
572 GetDecodedDLLStorageClass(unsigned Val) {
573 switch (Val) {
581 static GlobalVariable::ThreadLocalMode GetDecodedThreadLocalMode(unsigned Val) {
582 switch (Val) {
592 static int GetDecodedCastOpcode(unsigned Val) {
593 switch (Val) {
610 static int GetDecodedBinaryOpcode(unsigned Val, Type *Ty) {
611 switch (Val) {
634 static AtomicRMWInst::BinOp GetDecodedRMWOperation(unsigned Val) {
635 switch (Val) {
651 static AtomicOrdering GetDecodedOrdering(unsigned Val) {
652 switch (Val) {
664 static SynchronizationScope GetDecodedSynchScope(unsigned Val) {
665 switch (Val) {
672 static Comdat::SelectionKind getDecodedComdatSelectionKind(unsigned Val) {
673 switch (Val) {
688 static void UpgradeDLLImportExportLinkage(llvm::GlobalValue *GV, unsigned Val) {
689 switch (Val) {
3008 // ALIAS: [alias type, aliasee val#, linkage]
3009 // ALIAS: [alias type, aliasee val#, linkage, visibility, dllstorageclass]
3552 Value *Val;
3553 if (getValueTypePair(Record, OpNum, NextValueNo, Val))
3582 I = InsertValueInst::Create(Agg, Val, INSERTVALIdx);
3894 Value *Val = nullptr;
3895 if (getValueTypePair(Record, Idx, NextValueNo, Val))
3897 I = ResumeInst::Create(Val);
3934 // LANDINGPAD: [ty, val, val, num, (id0,val0 ...)?]
3952 Value *Val;
3954 if (getValueTypePair(Record, Idx, NextValueNo, Val)) {
3960 !isa<ArrayType>(Val->getType())) &&
3963 isa<ArrayType>(Val->getType())) &&
3965 LP->addClause(cast<Constant>(Val));
4051 case bitc::FUNC_CODE_INST_STORE: { // STORE2:[ptrty, ptr, val, align, vol]
4053 Value *Val, *Ptr;
4056 cast<PointerType>(Ptr->getType())->getElementType(), Val) ||
4062 I = new StoreInst(Val, Ptr, Record[OpNum+1], Align);
4067 // STOREATOMIC: [ptrty, ptr, val, align, vol, ordering, synchscope]
4069 Value *Val, *Ptr;
4072 cast<PointerType>(Ptr->getType())->getElementType(), Val) ||
4087 I = new StoreInst(Val, Ptr, Record[OpNum+1], Align, Ordering, SynchScope);
4133 // ATOMICRMW:[ptrty, ptr, val, op, vol, ordering, synchscope]
4135 Value *Ptr, *Val;
4138 Val) ||
4149 I = new AtomicRMWInst(Operation, Ptr, Val, Ordering, SynchScope);