Home
last modified time | relevance | path

Searched refs:OpFlags (Results 1 – 19 of 19) sorted by relevance

/openbsd-src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/
H A DInlineAsmLowering.cpp383 unsigned OpFlags = InlineAsm::getFlagWord(InlineAsm::Kind_Mem, 1); in lowerInlineAsm() local
384 OpFlags = InlineAsm::getFlagWordForMem(OpFlags, ConstraintID); in lowerInlineAsm()
385 Inst.addImm(OpFlags); in lowerInlineAsm()
502 unsigned OpFlags = in lowerInlineAsm() local
504 Inst.addImm(OpFlags); in lowerInlineAsm()
521 unsigned OpFlags = InlineAsm::getFlagWord(InlineAsm::Kind_Mem, 1); in lowerInlineAsm() local
522 OpFlags = InlineAsm::getFlagWordForMem(OpFlags, ConstraintID); in lowerInlineAsm()
523 Inst.addImm(OpFlags); in lowerInlineAsm()
/openbsd-src/gnu/llvm/llvm/lib/Target/AVR/
H A DAVRAsmPrinter.cpp119 unsigned OpFlags = MI->getOperand(OpNum - 1).getImm(); in PrintAsmOperand() local
120 unsigned NumOpRegs = InlineAsm::getNumOperandRegisters(OpFlags); in PrintAsmOperand()
184 unsigned OpFlags = MI->getOperand(OpNum - 1).getImm(); in PrintAsmMemoryOperand() local
185 unsigned NumOpRegs = InlineAsm::getNumOperandRegisters(OpFlags); in PrintAsmMemoryOperand()
/openbsd-src/gnu/llvm/llvm/tools/llvm-reduce/deltas/
H A DReduceRegisterDefs.cpp102 unsigned OpFlags = getRegState(MO) & ~RegState::Implicit; in removeDefsFromFunction() local
104 .addReg(RegPair.Reg, OpFlags, RegPair.SubReg); in removeDefsFromFunction()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinterInlineAsm.cpp280 unsigned OpFlags = MI->getOperand(OpNo).getImm(); in EmitInlineAsmStr() local
281 OpNo += InlineAsm::getNumOperandRegisters(OpFlags) + 1; in EmitInlineAsmStr()
290 unsigned OpFlags = MI->getOperand(OpNo).getImm(); in EmitInlineAsmStr() local
304 } else if (InlineAsm::isMemKind(OpFlags)) { in EmitInlineAsmStr()
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86InstrBuilder.h224 unsigned GlobalBaseReg, unsigned char OpFlags) { in addConstantPoolReference() argument
227 .addConstantPoolIndex(CPI, 0, OpFlags).addReg(0); in addConstantPoolReference()
H A DX86FastISel.cpp3478 unsigned char OpFlags = Subtarget->classifyGlobalFunctionReference(GV); in fastLowerCall() local
3482 bool NeedLoad = OpFlags == X86II::MO_DLLIMPORT || in fastLowerCall()
3483 OpFlags == X86II::MO_GOTPCREL || in fastLowerCall()
3484 OpFlags == X86II::MO_GOTPCREL_NORELAX || in fastLowerCall()
3485 OpFlags == X86II::MO_COFFSTUB; in fastLowerCall()
3494 MIB.addSym(Symbol, OpFlags); in fastLowerCall()
3496 MIB.addGlobalAddress(GV, 0, OpFlags); in fastLowerCall()
H A DX86ISelLowering.h1618 const unsigned char OpFlags = 0) const;
H A DX86ISelLowering.cpp20548 const GlobalValue *GV, const unsigned char OpFlags) const { in getGlobalWrapperKind()
20565 if (OpFlags == X86II::MO_GOTPCREL || OpFlags == X86II::MO_GOTPCREL_NORELAX) in getGlobalWrapperKind()
20629 unsigned char OpFlags = in LowerBlockAddress() local
20635 SDValue Result = DAG.getTargetBlockAddress(BA, PtrVT, Offset, OpFlags); in LowerBlockAddress()
20639 if (isGlobalRelativeToPICBase(OpFlags)) { in LowerBlockAddress()
20666 unsigned char OpFlags; in LowerGlobalOrExternal() local
20668 OpFlags = Subtarget.classifyGlobalFunctionReference(GV, Mod); in LowerGlobalOrExternal()
20670 OpFlags = Subtarget.classifyGlobalReference(GV, Mod); in LowerGlobalOrExternal()
20671 bool HasPICReg = isGlobalRelativeToPICBase(OpFlags); in LowerGlobalOrExternal()
20672 bool NeedsLoad = isGlobalStubReference(OpFlags); in LowerGlobalOrExternal()
[all …]
/openbsd-src/sys/stand/efi/include/
H A Defipxebc.h321 IN UINT16 OpFlags,
337 IN UINT16 OpFlags,
/openbsd-src/gnu/llvm/llvm/lib/Target/M68k/
H A DM68kISelLowering.cpp768 unsigned char OpFlags = Subtarget.classifyGlobalFunctionReference(GV); in LowerCall() local
771 GV, DL, getPointerTy(DAG.getDataLayout()), G->getOffset(), OpFlags); in LowerCall()
773 if (OpFlags == M68kII::MO_GOTPCREL) { in LowerCall()
787 unsigned char OpFlags = in LowerCall() local
791 S->getSymbol(), getPointerTy(DAG.getDataLayout()), OpFlags); in LowerCall()
2596 unsigned char OpFlags = Subtarget.classifyBlockAddressReference(); in LowerBlockAddress() local
2603 SDValue Result = DAG.getTargetBlockAddress(BA, PtrVT, Offset, OpFlags); in LowerBlockAddress()
2605 if (M68kII::isPCRelBlockReference(OpFlags)) { in LowerBlockAddress()
2612 if (M68kII::isGlobalRelativeToPICBase(OpFlags)) { in LowerBlockAddress()
2624 unsigned char OpFlags = Subtarget.classifyGlobalReference(GV); in LowerGlobalAddress() local
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/GISel/
H A DAArch64LegalizerInfo.cpp1005 unsigned OpFlags = ST->ClassifyGlobalReference(GV, TM); in legalizeSmallCMGlobalValue() local
1007 if (OpFlags & AArch64II::MO_GOT) in legalizeSmallCMGlobalValue()
1013 .addGlobalAddress(GV, Offset, OpFlags | AArch64II::MO_PAGE); in legalizeSmallCMGlobalValue()
1030 if (OpFlags & AArch64II::MO_TAGGED) { in legalizeSmallCMGlobalValue()
1042 OpFlags | AArch64II::MO_PAGEOFF | AArch64II::MO_NC); in legalizeSmallCMGlobalValue()
H A DAArch64InstructionSelector.cpp445 void materializeLargeCMVal(MachineInstr &I, const Value *V, unsigned OpFlags);
1964 MachineInstr &I, const Value *V, unsigned OpFlags) { in materializeLargeCMVal() argument
1971 MovZ->getOperand(1).setTargetFlags(OpFlags | AArch64II::MO_G0 | in materializeLargeCMVal()
2788 unsigned OpFlags = STI.ClassifyGlobalReference(GV, TM); in select() local
2789 if (OpFlags & AArch64II::MO_GOT) { in select()
2791 I.getOperand(1).setTargetFlags(OpFlags); in select()
2794 materializeLargeCMVal(I, GV, OpFlags); in select()
2799 I.getOperand(1).setTargetFlags(OpFlags); in select()
2802 I.getOperand(1).setTargetFlags(OpFlags | AArch64II::MO_PAGE); in select()
2805 OpFlags | AArch64II::MO_PAGEOFF | AArch64II::MO_NC); in select()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp452 unsigned OpFlags = Subtarget->ClassifyGlobalReference(GV, TM); in materializeGV() local
461 if (OpFlags & AArch64II::MO_GOT) { in materializeGV()
465 .addGlobalAddress(GV, 0, AArch64II::MO_PAGE | OpFlags); in materializeGV()
479 AArch64II::MO_NC | OpFlags); in materializeGV()
497 .addGlobalAddress(GV, 0, AArch64II::MO_PAGE | OpFlags); in materializeGV()
499 if (OpFlags & AArch64II::MO_TAGGED) { in materializeGV()
528 AArch64II::MO_PAGEOFF | AArch64II::MO_NC | OpFlags) in materializeGV()
H A DAArch64InstrInfo.cpp1973 unsigned OpFlags = Subtarget.ClassifyGlobalReference(GV, TM); in expandPostRAPseudo() local
1976 if ((OpFlags & AArch64II::MO_GOT) != 0) { in expandPostRAPseudo()
1978 .addGlobalAddress(GV, 0, OpFlags); in expandPostRAPseudo()
2016 .addGlobalAddress(GV, 0, OpFlags); in expandPostRAPseudo()
2019 .addGlobalAddress(GV, 0, OpFlags | AArch64II::MO_PAGE); in expandPostRAPseudo()
2020 unsigned char LoFlags = OpFlags | AArch64II::MO_PAGEOFF | MO_NC; in expandPostRAPseudo()
H A DAArch64ISelLowering.cpp7560 unsigned OpFlags = in LowerCall() local
7562 if (OpFlags & AArch64II::MO_GOT) { in LowerCall()
7563 Callee = DAG.getTargetGlobalAddress(GV, DL, PtrVT, 0, OpFlags); in LowerCall()
7968 unsigned OpFlags = Subtarget->ClassifyGlobalReference(GV, getTargetMachine()); in LowerGlobalAddress() local
7970 if (OpFlags != AArch64II::MO_NO_FLAG) in LowerGlobalAddress()
7976 if ((OpFlags & AArch64II::MO_GOT) != 0) { in LowerGlobalAddress()
7977 return getGOT(GN, DAG, OpFlags); in LowerGlobalAddress()
7982 Result = getAddrLarge(GN, DAG, OpFlags); in LowerGlobalAddress()
7984 Result = getAddrTiny(GN, DAG, OpFlags); in LowerGlobalAddress()
7986 Result = getAddr(GN, DAG, OpFlags); in LowerGlobalAddress()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/LoongArch/
H A DLoongArchISelLowering.cpp2546 unsigned OpFlags = in LowerCall() local
2550 Callee = DAG.getTargetGlobalAddress(S->getGlobal(), DL, PtrVT, 0, OpFlags); in LowerCall()
2552 unsigned OpFlags = getTargetMachine().shouldAssumeDSOLocal( in LowerCall() local
2556 Callee = DAG.getTargetExternalSymbol(S->getSymbol(), PtrVT, OpFlags); in LowerCall()
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/
H A DARMAsmPrinter.cpp356 unsigned OpFlags = MI->getOperand(OpNum).getImm(); in PrintAsmOperand() local
357 OpNum += InlineAsm::getNumOperandRegisters(OpFlags) + 1; in PrintAsmOperand()
/openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp13041 unsigned OpFlags = RISCVII::MO_CALL; in LowerCall() local
13043 OpFlags = RISCVII::MO_PLT; in LowerCall()
13045 Callee = DAG.getTargetGlobalAddress(GV, DL, PtrVT, 0, OpFlags); in LowerCall()
13047 unsigned OpFlags = RISCVII::MO_CALL; in LowerCall() local
13051 OpFlags = RISCVII::MO_PLT; in LowerCall()
13053 Callee = DAG.getTargetExternalSymbol(S->getSymbol(), PtrVT, OpFlags); in LowerCall()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp9058 unsigned OpFlags = InlineAsm::getFlagWord(InlineAsm::Kind_Mem, 1); in visitInlineAsm() local
9059 OpFlags = InlineAsm::getFlagWordForMem(OpFlags, ConstraintID); in visitInlineAsm()
9060 AsmNodeOperands.push_back(DAG.getTargetConstant(OpFlags, getCurSDLoc(), in visitInlineAsm()