/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | TypeMetadataUtils.cpp | 187 case Instruction::PtrToInt: in getPointerAtOffset() 240 if (!PtrExpr || PtrExpr->getOpcode() != Instruction::PtrToInt) in replaceRelativePointerUserWithZero()
|
H A D | ConstantFolding.cpp | 318 if (CE->getOpcode() == Instruction::PtrToInt || in IsConstantOffsetFromGlobal() 373 Cast = Instruction::PtrToInt; in ConstantFoldLoadThroughBitcast() 1204 if (CE0->getOpcode() == Instruction::PtrToInt) { in ConstantFoldCompareInstOperands() 1231 if (CE0->getOpcode() == Instruction::PtrToInt) { in ConstantFoldCompareInstOperands() 1392 case Instruction::PtrToInt: in ConstantFoldCastOperand() 1440 if (CE->getOpcode() == Instruction::PtrToInt) { in ConstantFoldCastOperand()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | Operator.h | 542 : public ConcreteOperator<Operator, Instruction::PtrToInt> { 543 friend class PtrToInt;
|
H A D | Instruction.def | 193 HANDLE_CAST_INST(47, PtrToInt, PtrToIntInst) // Pointer -> Integer
|
H A D | PatternMatch.h | 1923 return O->getOpcode() == Instruction::PtrToInt && in match() 1993 inline CastOperator_match<OpTy, Instruction::PtrToInt> 1995 return CastOperator_match<OpTy, Instruction::PtrToInt>(Op); in m_PtrToInt()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | SpeculativeExecution.cpp | 231 case Instruction::PtrToInt: in ComputeSpeculationCost()
|
H A D | GVNSink.cpp | 514 case Instruction::PtrToInt: in lookupOrAdd()
|
/freebsd/contrib/llvm-project/lldb/source/Expression/ |
H A D | IRInterpreter.cpp | 292 case Instruction::PtrToInt: in ResolveConstantValue() 495 case Instruction::PtrToInt: in CanResolveConstant() 617 case Instruction::PtrToInt: in CanInterpret() 1233 case Instruction::PtrToInt: { in Interpret()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | ScalarEvolutionExpander.cpp | 198 Op == Instruction::PtrToInt || in InsertNoopCastOfTo() 224 if ((Op == Instruction::PtrToInt || Op == Instruction::IntToPtr) && in InsertNoopCastOfTo() 227 if ((CI->getOpcode() == Instruction::PtrToInt || in InsertNoopCastOfTo() 233 if ((CE->getOpcode() == Instruction::PtrToInt || in InsertNoopCastOfTo() 1338 return ReuseOrCreateCast(V, S->getType(), CastInst::PtrToInt, in visitPtrToIntExpr() 1859 Cost = CastCost(Instruction::PtrToInt); in costAndCollectOperands()
|
H A D | Evaluator.cpp | 88 case Instruction::PtrToInt: in isSimpleEnoughValueToCommitHelper()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/ |
H A D | RISCVInstructionSelector.cpp | 763 auto PtrToInt = MIB.buildPtrToInt(sXLen, PtrReg); in replacePtrWithInt() local 764 MRI.setRegBank(PtrToInt.getReg(0), RBI.getRegBank(RISCV::GPRBRegBankID)); in replacePtrWithInt() 765 Op.setReg(PtrToInt.getReg(0)); in replacePtrWithInt() 766 return select(*PtrToInt); in replacePtrWithInt()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | VPlanAnalysis.cpp | 208 case Instruction::PtrToInt: in inferScalarTypeForRecipe()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Constants.cpp | 653 if (LHS && RHS && LHS->getOpcode() == Instruction::PtrToInt && in getRelocationInfo() 654 RHS->getOpcode() == Instruction::PtrToInt) { in getRelocationInfo() 1544 case Instruction::PtrToInt: in getWithOperands() 2198 case Instruction::PtrToInt: in getCast() 2266 return getFoldedCast(Instruction::PtrToInt, C, DstTy, OnlyIfReduced); in getPtrToInt() 2410 case Instruction::PtrToInt: in isDesirableCastOp() 2432 case Instruction::PtrToInt: in isSupportedCastOp() 3373 case Instruction::PtrToInt: in getAsInstruction()
|
H A D | Instructions.cpp | 2738 case Instruction::PtrToInt: in isNoopCast() 2986 case PtrToInt: return new PtrToIntInst (S, Ty, Name, InsertBefore); in Create() 3031 return Create(Instruction::PtrToInt, S, Ty, Name, InsertBefore); in CreatePointerCast() 3051 return Create(Instruction::PtrToInt, S, Ty, Name, InsertBefore); in CreateBitOrPointerCast() 3196 return PtrToInt; // ptr -> int in getCastOpcode() 3296 case Instruction::PtrToInt: in castIsValid() 3405 : CastInst(Ty, PtrToInt, S, Name, InsertBefore) { in PtrToIntInst()
|
H A D | Globals.cpp | 383 case Instruction::PtrToInt: in findBaseObject()
|
H A D | ConstantFold.cpp | 262 case Instruction::PtrToInt: in ConstantFoldCastInstruction() 757 if (CE1->getOpcode() == Instruction::PtrToInt && in ConstantFoldBinaryInstruction()
|
H A D | Instruction.cpp | 758 case PtrToInt: return "ptrtoint"; in getOpcodeName()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | StackProtector.cpp | 278 case Instruction::PtrToInt: 336 // we'll catch it in the PtrToInt case above. in requiresStackProtector()
|
H A D | MachineFunction.cpp | 1455 A = ConstantFoldCastOperand(Instruction::PtrToInt, in CanShareConstantPoolEntry() 1461 B = ConstantFoldCastOperand(Instruction::PtrToInt, in CanShareConstantPoolEntry()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | TargetTransformInfoImpl.h | 619 case Instruction::PtrToInt: { in getCastInstrCost() 1265 case Instruction::PtrToInt: in getInstructionCost()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 388 auto *PtrToInt = dyn_cast<PtrToIntInst>(IntToPtr->getOperand(0)); in simplifyIntToPtrRoundTripCast() local 390 if (PtrToInt && in simplifyIntToPtrRoundTripCast() 392 PtrToInt->getSrcTy()->getPointerAddressSpace() && in simplifyIntToPtrRoundTripCast() 393 DL.getTypeSizeInBits(PtrToInt->getSrcTy()) == in simplifyIntToPtrRoundTripCast() 394 DL.getTypeSizeInBits(PtrToInt->getDestTy())) in simplifyIntToPtrRoundTripCast() 395 return PtrToInt->getOperand(0); in simplifyIntToPtrRoundTripCast()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXAsmPrinter.cpp | 1876 if (Cexpr->getOpcode() == Instruction::PtrToInt) { in bufferLEByte() 2057 case Instruction::PtrToInt: { in lowerConstantForGV()
|
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/ |
H A D | LLLexer.cpp | 880 INSTKEYWORD(ptrtoint, PtrToInt); in LexIdentifier()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZTargetTransformInfo.cpp | 214 case Instruction::PtrToInt: in getIntImmCostInst()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | PartialInlining.cpp | 813 case Instruction::PtrToInt: in computeBBInlineCost()
|