Home
last modified time | relevance | path

Searched refs:PtrToInt (Results 1 – 25 of 58) sorted by relevance

123

/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DOperator.h540 : public ConcreteOperator<Operator, Instruction::PtrToInt> {
541 friend class PtrToInt; variable
H A DConstantFolder.h213 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
H A DNoFolder.h277 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
H A DInstruction.def193 HANDLE_CAST_INST(46, PtrToInt, PtrToIntInst) // Pointer -> Integer
H A DPatternMatch.h1156 inline CastClass_match<OpTy, Instruction::PtrToInt> m_PtrToInt(const OpTy &Op) { in m_PtrToInt()
1157 return CastClass_match<OpTy, Instruction::PtrToInt>(Op); in m_PtrToInt()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DSpeculativeExecution.cpp230 case Instruction::PtrToInt: in ComputeSpeculationCost()
H A DGVNSink.cpp474 case Instruction::PtrToInt: in lookupOrAdd()
/freebsd-12.1/contrib/llvm/lib/Target/XCore/
H A DXCoreLowerThreadLocal.cpp117 case Instruction::PtrToInt: in createReplacementInstr()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Expression/
H A DIRInterpreter.cpp263 case Instruction::PtrToInt: in ResolveConstantValue()
465 case Instruction::PtrToInt: in CanResolveConstant()
580 case Instruction::PtrToInt: in CanInterpret()
1233 case Instruction::PtrToInt: { in Interpret()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DInstructions.cpp2335 case Instruction::PtrToInt: in isNoopCast()
2587 case PtrToInt: return new PtrToIntInst (S, Ty, Name, InsertBefore); in Create()
2609 case PtrToInt: return new PtrToIntInst (S, Ty, Name, InsertAtEnd); in Create()
2677 return Create(Instruction::PtrToInt, S, Ty, Name, InsertAtEnd); in CreatePointerCast()
2695 return Create(Instruction::PtrToInt, S, Ty, Name, InsertBefore); in CreatePointerCast()
2730 return Create(Instruction::PtrToInt, S, Ty, Name, InsertBefore); in CreateBitOrPointerCast()
2960 return PtrToInt; // ptr -> int in getCastOpcode()
3060 case Instruction::PtrToInt: in castIsValid()
3237 ) : CastInst(Ty, PtrToInt, S, Name, InsertBefore) { in PtrToIntInst()
3243 ) : CastInst(Ty, PtrToInt, S, Name, InsertAtEnd) { in PtrToIntInst()
H A DConstants.cpp504 if (LHS && RHS && LHS->getOpcode() == Instruction::PtrToInt && in needsRelocation()
505 RHS->getOpcode() == Instruction::PtrToInt && in needsRelocation()
1225 case Instruction::PtrToInt: in getWithOperands()
1558 case Instruction::PtrToInt: in getCast()
1757 return getFoldedCast(Instruction::PtrToInt, C, DstTy, OnlyIfReduced); in getPtrToInt()
2987 case Instruction::PtrToInt: in getAsInstruction()
H A DInstruction.cpp348 case PtrToInt: return "ptrtoint"; in getOpcodeName()
H A DConstantRange.cpp609 case Instruction::PtrToInt: in castOp()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DConstantFolding.cpp299 if (CE->getOpcode() == Instruction::PtrToInt || in IsConstantOffsetFromGlobal()
337 Cast = Instruction::PtrToInt; in ConstantFoldLoadThroughBitcast()
1207 if (CE0->getOpcode() == Instruction::PtrToInt) { in ConstantFoldCompareInstOperands()
1233 if (CE0->getOpcode() == Instruction::PtrToInt) { in ConstantFoldCompareInstOperands()
1283 case Instruction::PtrToInt: in ConstantFoldCastOperand()
1308 if (CE->getOpcode() == Instruction::PtrToInt) { in ConstantFoldCastOperand()
H A DScalarEvolutionExpander.cpp115 Op == Instruction::PtrToInt || in InsertNoopCastOfTo()
131 if ((Op == Instruction::PtrToInt || Op == Instruction::IntToPtr) && in InsertNoopCastOfTo()
134 if ((CI->getOpcode() == Instruction::PtrToInt || in InsertNoopCastOfTo()
140 if ((CE->getOpcode() == Instruction::PtrToInt || in InsertNoopCastOfTo()
H A DCFLGraph.h517 case Instruction::PtrToInt: { in visitConstantExpr()
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DTargetFolder.h196 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
H A DTargetTransformInfoImpl.h85 case Instruction::PtrToInt: { in getOperationCost()
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DMachineFunction.cpp988 A = ConstantFoldCastOperand(Instruction::PtrToInt, in CanShareConstantPoolEntry()
994 B = ConstantFoldCastOperand(Instruction::PtrToInt, in CanShareConstantPoolEntry()
/freebsd-12.1/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp1852 if (Cexpr->getOpcode() == Instruction::PtrToInt) { in bufferLEByte()
1874 if (Cexpr->getOpcode() == Instruction::PtrToInt) { in bufferLEByte()
2092 case Instruction::PtrToInt: { in lowerConstantForGV()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DEvaluator.cpp92 case Instruction::PtrToInt: in isSimpleEnoughValueToCommitHelper()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp536 if (UseInst->getOpcode() == Instruction::PtrToInt) in collectUsesWithPtrTypes()
/freebsd-12.1/contrib/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp171 case Instruction::PtrToInt: in getIntImmCost()
/freebsd-12.1/contrib/llvm/lib/AsmParser/
H A DLLLexer.cpp850 INSTKEYWORD(ptrtoint, PtrToInt); in LexIdentifier()
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp128 case Instruction::PtrToInt: in getIntImmCost()

123