Home
last modified time | relevance | path

Searched refs:OpC (Results 1 – 25 of 31) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAnnotation2Metadata.cpp45 auto *OpC = dyn_cast<ConstantStruct>(&Op); in convertAnnotation2Metadata() local
46 if (!OpC || OpC->getNumOperands() != 4) in convertAnnotation2Metadata()
48 auto *StrC = dyn_cast<GlobalValue>(OpC->getOperand(1)->stripPointerCasts()); in convertAnnotation2Metadata()
54 auto *Fn = dyn_cast<Function>(OpC->getOperand(0)->stripPointerCasts()); in convertAnnotation2Metadata()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCRegisterInfo.cpp96 static unsigned offsetMinAlignForOpcode(unsigned OpC);
1527 static unsigned offsetMinAlignForOpcode(unsigned OpC) { in offsetMinAlignForOpcode() argument
1528 switch (OpC) { in offsetMinAlignForOpcode()
1561 unsigned OpC = MI.getOpcode(); in offsetMinAlign() local
1562 return offsetMinAlignForOpcode(OpC); in offsetMinAlign()
1608 unsigned OpC = MI.getOpcode(); in eliminateFrameIndex() local
1610 if ((OpC == PPC::DYNAREAOFFSET || OpC == PPC::DYNAREAOFFSET8)) { in eliminateFrameIndex()
1618 (OpC == PPC::DYNALLOC || OpC == PPC::DYNALLOC8)) { in eliminateFrameIndex()
1625 (OpC == PPC::PREPARE_PROBED_ALLOCA_64 || in eliminateFrameIndex()
1626 OpC == PPC::PREPARE_PROBED_ALLOCA_32 || in eliminateFrameIndex()
[all …]
H A DPPCInstrInfo.cpp796 MachineOperand &OpC = Root.getOperand(0); in reassociateFMA() local
797 Register RegC = OpC.getReg(); in reassociateFMA()
2179 unsigned OpC = MI.getOpcode(); in PredicateInstruction() local
2180 if (OpC == PPC::BLR || OpC == PPC::BLR8) { in PredicateInstruction()
2203 } else if (OpC == PPC::B) { in PredicateInstruction()
2240 } else if (OpC == PPC::BCTR || OpC == PPC::BCTR8 || OpC == PPC::BCTRL || in PredicateInstruction()
2241 OpC == PPC::BCTRL8 || OpC == PPC::BCTRL_RM || in PredicateInstruction()
2242 OpC == PPC::BCTRL8_RM) { in PredicateInstruction()
2246 bool setLR = OpC == PPC::BCTRL || OpC == PPC::BCTRL8 || in PredicateInstruction()
2247 OpC == PPC::BCTRL_RM || OpC == PPC::BCTRL8_RM; in PredicateInstruction()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/TargetProcess/
H A DSimpleRemoteEPCServer.cpp63 SimpleRemoteEPCServer::handleMessage(SimpleRemoteEPCOpcode OpC, uint64_t SeqNo, in handleMessage()
69 switch (OpC) { in handleMessage()
94 if (static_cast<UT>(OpC) > static_cast<UT>(SimpleRemoteEPCOpcode::LastOpC)) in handleMessage()
99 switch (OpC) { in handleMessage()
152 Error SimpleRemoteEPCServer::sendMessage(SimpleRemoteEPCOpcode OpC, in sendMessage()
158 switch (OpC) { in sendMessage()
181 auto Err = T->sendMessage(OpC, SeqNo, TagAddr, ArgBytes); in sendMessage()
61 handleMessage(SimpleRemoteEPCOpcode OpC,uint64_t SeqNo,ExecutorAddr TagAddr,SimpleRemoteEPCArgBytesVector ArgBytes) handleMessage() argument
150 sendMessage(SimpleRemoteEPCOpcode OpC,uint64_t SeqNo,ExecutorAddr TagAddr,ArrayRef<char> ArgBytes) sendMessage() argument
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/Shared/
H A DSimpleRemoteEPCUtils.cpp86 Error FDSimpleRemoteEPCTransport::sendMessage(SimpleRemoteEPCOpcode OpC, in sendMessage() argument
95 static_cast<uint64_t>(OpC); in sendMessage()
204 SimpleRemoteEPCOpcode OpC; in listenLoop() local
210 OpC = static_cast<SimpleRemoteEPCOpcode>(static_cast<uint64_t>( in listenLoop()
232 if (auto Action = C.handleMessage(OpC, SeqNo, TagAddr, ArgBytes)) { in listenLoop()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLocal.cpp43 if (Constant *OpC = dyn_cast<Constant>(Op)) { in emitGEPOffset() local
44 if (OpC->isZeroValue()) in emitGEPOffset()
49 uint64_t OpValue = OpC->getUniqueInteger().getZExtValue(); in emitGEPOffset()
H A DCGSCCPassManager.cpp938 if (auto *OpC = dyn_cast<Constant>(Op)) in updateCGAndAnalysisManagerForPass() local
939 if (Visited.insert(OpC).second) in updateCGAndAnalysisManagerForPass()
940 Worklist.push_back(OpC); in updateCGAndAnalysisManagerForPass()
H A DConstantFolding.cpp3520 if (ConstantFP *OpC = dyn_cast<ConstantFP>(Call->getArgOperand(0))) { in isMathLibCallNoop() local
3521 const APFloat &Op = OpC->getValueAPF(); in isMathLibCallNoop()
3538 if (OpC->getType()->isDoubleTy()) in isMathLibCallNoop()
3540 if (OpC->getType()->isFloatTy()) in isMathLibCallNoop()
3548 if (OpC->getType()->isDoubleTy()) in isMathLibCallNoop()
3550 if (OpC->getType()->isFloatTy()) in isMathLibCallNoop()
3567 Type *Ty = OpC->getType(); in isMathLibCallNoop()
3569 return ConstantFoldFP(tan, OpC->getValueAPF(), Ty) != nullptr; in isMathLibCallNoop()
3596 if (OpC->getType()->isDoubleTy()) in isMathLibCallNoop()
3598 if (OpC->getType()->isFloatTy()) in isMathLibCallNoop()
H A DInlineCost.cpp1425 ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand()); in accumulateGEPOffset() local
1426 if (!OpC) in accumulateGEPOffset()
1428 OpC = dyn_cast<ConstantInt>(SimpleOp); in accumulateGEPOffset()
1429 if (!OpC) in accumulateGEPOffset()
1431 if (OpC->isZero()) in accumulateGEPOffset()
1436 unsigned ElementIdx = OpC->getZExtValue(); in accumulateGEPOffset()
1443 Offset += OpC->getValue().sextOrTrunc(IntPtrWidth) * TypeSize; in accumulateGEPOffset()
H A DScalarEvolution.cpp7814 if (auto *OpC = dyn_cast<SCEVConstant>(LHSMul->getOperand(0))) { in createSCEV() local
7816 unsigned MulZeros = OpC->getAPInt().countr_zero(); in createSCEV()
7820 MulOps.push_back(getConstant(OpC->getAPInt().lshr(GCD))); in createSCEV()
9372 Instruction::BinaryOps OpC; in computeShiftCompareExitLimit() local
9384 if (MatchPositiveShift(LHS, V, OpC)) { in computeShiftCompareExitLimit()
9385 PostShiftOpCode = OpC; in computeShiftCompareExitLimit()
9830 Constant *OpC = BuildConstantFromSCEV(Op); in BuildConstantFromSCEV() local
9831 if (!OpC) in BuildConstantFromSCEV()
9834 C = OpC; in BuildConstantFromSCEV()
9839 if (OpC->getType()->isPointerTy()) { in BuildConstantFromSCEV()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DSimpleRemoteEPC.cpp136 SimpleRemoteEPC::handleMessage(SimpleRemoteEPCOpcode OpC, uint64_t SeqNo, in handleMessage() argument
142 switch (OpC) { in handleMessage()
167 if (static_cast<UT>(OpC) > static_cast<UT>(SimpleRemoteEPCOpcode::LastOpC)) in handleMessage()
171 switch (OpC) { in handleMessage()
234 Error SimpleRemoteEPC::sendMessage(SimpleRemoteEPCOpcode OpC, uint64_t SeqNo, in sendMessage() argument
237 assert(OpC != SimpleRemoteEPCOpcode::Setup && in sendMessage()
242 switch (OpC) { in sendMessage()
262 auto Err = T->sendMessage(OpC, SeqNo, TagAddr, ArgBytes); in sendMessage()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DOperator.cpp94 ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand()); in getMaxPreservedAlignment() local
98 Offset = SL->getElementOffset(OpC->getZExtValue()); in getMaxPreservedAlignment()
103 const uint64_t ElemCount = OpC ? OpC->getZExtValue() : 1; in getMaxPreservedAlignment()
H A DValue.cpp1005 ConstantInt *OpC = dyn_cast<ConstantInt>(GEP->getOperand(i)); in getOffsetFromIndex() local
1006 if (!OpC) in getOffsetFromIndex()
1008 if (OpC->isZero()) in getOffsetFromIndex()
1013 Offset += DL.getStructLayout(STy)->getElementOffset(OpC->getZExtValue()); in getOffsetFromIndex()
1022 Offset += Size.getFixedValue() * OpC->getSExtValue(); in getOffsetFromIndex()
H A DConstants.cpp1723 Constant *OpC = getOperand(I); in getSplatValue() local
1724 if (OpC == Elt) in getSplatValue()
1732 if (isa<PoisonValue>(OpC)) in getSplatValue()
1737 Elt = OpC; in getSplatValue()
1739 if (OpC != Elt) in getSplatValue()
H A DVerifier.cpp2461 const auto *OpC = dyn_cast<Constant>(U); in visitConstantExprsRecursively() local
2462 if (!OpC) in visitConstantExprsRecursively()
2464 if (!ConstantExprVisited.insert(OpC).second) in visitConstantExprsRecursively()
2466 Stack.push_back(OpC); in visitConstantExprsRecursively()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/
H A DSimpleRemoteEPCUtils.h66 handleMessage(SimpleRemoteEPCOpcode OpC, uint64_t SeqNo, ExecutorAddr TagAddr,
93 virtual Error sendMessage(SimpleRemoteEPCOpcode OpC, uint64_t SeqNo,
121 Error sendMessage(SimpleRemoteEPCOpcode OpC, uint64_t SeqNo,
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DOperator.h175 static bool isPossiblyExactOpcode(unsigned OpC) {
176 return OpC == Instruction::SDiv ||
177 OpC == Instruction::UDiv ||
178 OpC == Instruction::AShr ||
179 OpC == Instruction::LShr;
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DSimpleRemoteEPC.h91 handleMessage(SimpleRemoteEPCOpcode OpC, uint64_t SeqNo, ExecutorAddr TagAddr,
106 Error sendMessage(SimpleRemoteEPCOpcode OpC, uint64_t SeqNo,
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/
H A DSimpleRemoteEPCServer.h146 handleMessage(SimpleRemoteEPCOpcode OpC, uint64_t SeqNo, ExecutorAddr TagAddr,
154 Error sendMessage(SimpleRemoteEPCOpcode OpC, uint64_t SeqNo,
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FixupVectorConstants.cpp73 Constant *OpC = cast<Constant>(Op); in getSplatValueAllowUndef() local
74 if (isa<UndefValue>(OpC)) in getSplatValueAllowUndef()
77 Res = OpC; in getSplatValueAllowUndef()
78 else if (Res != OpC) in getSplatValueAllowUndef()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAttributor.cpp230 const auto *OpC = dyn_cast<Constant>(U); in getConstantAccess() local
231 if (!OpC || !Visited.insert(OpC).second) in getConstantAccess()
234 Result |= getConstantAccess(OpC, Visited); in getConstantAccess()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonStoreWidening.cpp129 unsigned OpC = MI->getOpcode(); in getStoreOffset() local
132 switch (OpC) { in getStoreOffset()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp2781 auto *OpC = dyn_cast<CallInst>(Op1); in optimizeTrigInversionPairs() local
2782 if (!OpC) in optimizeTrigInversionPairs()
2786 if (!CI->isFast() || !OpC->isFast()) in optimizeTrigInversionPairs()
2795 Function *F = OpC->getCalledFunction(); in optimizeTrigInversionPairs()
2816 Ret = OpC->getArgOperand(0); in optimizeTrigInversionPairs()
H A DSCCPSolver.cpp1285 if (Constant *OpC = getConstant(OpSt, I.getOperand(0)->getType())) { in visitCastInst() local
1288 ConstantFoldCastOperand(I.getOpcode(), OpC, I.getType(), DL)) in visitCastInst()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetInstrInfo.cpp1097 MachineOperand &OpC = Root.getOperand(0); in reassociateOps() local
1103 Register RegC = OpC.getReg(); in reassociateOps()

12