| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | TypeMetadataUtils.cpp | 173 case Instruction::PtrToInt: in getPointerAtOffset() 207 if (!PtrExpr || PtrExpr->getOpcode() != Instruction::PtrToInt) in replaceRelativePointerUsersWithZero()
|
| H A D | ConstantFolding.cpp | 318 if (CE->getOpcode() == Instruction::PtrToInt || in IsConstantOffsetFromGlobal() 373 Cast = Instruction::PtrToInt; in ConstantFoldLoadThroughBitcast() 1219 if (CE0->getOpcode() == Instruction::PtrToInt) { in ConstantFoldCompareInstOperands() 1246 if (CE0->getOpcode() == Instruction::PtrToInt) { in ConstantFoldCompareInstOperands() 1389 case Instruction::PtrToInt: in ConstantFoldCastOperand() 1437 if (CE->getOpcode() == Instruction::PtrToInt) { in ConstantFoldCastOperand()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Operator.h | 510 : public ConcreteOperator<Operator, Instruction::PtrToInt> { 511 friend class PtrToInt; variable
|
| H A D | Instruction.def | 193 HANDLE_CAST_INST(47, PtrToInt, PtrToIntInst) // Pointer -> Integer
|
| H A D | PatternMatch.h | 1687 return O->getOpcode() == Instruction::PtrToInt && in match() 1717 inline CastOperator_match<OpTy, Instruction::PtrToInt> 1719 return CastOperator_match<OpTy, Instruction::PtrToInt>(Op); in m_PtrToInt()
|
| H A D | VPIntrinsics.def | 501 VP_PROPERTY_FUNCTIONAL_OPC(PtrToInt)
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | SpeculativeExecution.cpp | 231 case Instruction::PtrToInt: in ComputeSpeculationCost()
|
| H A D | GVNSink.cpp | 481 case Instruction::PtrToInt: in lookupOrAdd()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlanAnalysis.cpp | 175 case Instruction::PtrToInt: in inferScalarTypeForRecipe()
|
| /freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | ScalarEvolutionExpander.cpp | 159 Op == Instruction::PtrToInt || in InsertNoopCastOfTo() 185 if ((Op == Instruction::PtrToInt || Op == Instruction::IntToPtr) && in InsertNoopCastOfTo() 188 if ((CI->getOpcode() == Instruction::PtrToInt || in InsertNoopCastOfTo() 194 if ((CE->getOpcode() == Instruction::PtrToInt || in InsertNoopCastOfTo() 1281 return ReuseOrCreateCast(V, S->getType(), CastInst::PtrToInt, in visitPtrToIntExpr() 1761 Cost = CastCost(Instruction::PtrToInt); in costAndCollectOperands()
|
| H A D | Evaluator.cpp | 88 case Instruction::PtrToInt: in isSimpleEnoughValueToCommitHelper()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/ |
| H A D | RISCVInstructionSelector.cpp | 750 auto PtrToInt = MIB.buildPtrToInt(sXLen, PtrReg); in replacePtrWithInt() local 751 MRI.setRegBank(PtrToInt.getReg(0), RBI.getRegBank(RISCV::GPRBRegBankID)); in replacePtrWithInt() 752 Op.setReg(PtrToInt.getReg(0)); in replacePtrWithInt() 753 return select(*PtrToInt); in replacePtrWithInt()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Constants.cpp | 638 if (LHS && RHS && LHS->getOpcode() == Instruction::PtrToInt && in getRelocationInfo() 639 RHS->getOpcode() == Instruction::PtrToInt) { in getRelocationInfo() 1469 case Instruction::PtrToInt: in getWithOperands() 1971 case Instruction::PtrToInt: in getCast() 2039 return getFoldedCast(Instruction::PtrToInt, C, DstTy, OnlyIfReduced); in getPtrToInt() 2189 case Instruction::PtrToInt: in isDesirableCastOp() 2211 case Instruction::PtrToInt: in isSupportedCastOp() 3236 case Instruction::PtrToInt: in getAsInstruction()
|
| H A D | Instructions.cpp | 3093 case Instruction::PtrToInt: in isNoopCast() 3347 case PtrToInt: return new PtrToIntInst (S, Ty, Name, InsertBefore); in Create() 3369 case PtrToInt: return new PtrToIntInst (S, Ty, Name, InsertAtEnd); in Create() 3438 return Create(Instruction::PtrToInt, S, Ty, Name, InsertAtEnd); in CreatePointerCast() 3457 return Create(Instruction::PtrToInt, S, Ty, Name, InsertBefore); in CreatePointerCast() 3492 return Create(Instruction::PtrToInt, S, Ty, Name, InsertBefore); in CreateBitOrPointerCast() 3664 return PtrToInt; // ptr -> int in getCastOpcode() 3764 case Instruction::PtrToInt: in castIsValid() 3926 ) : CastInst(Ty, PtrToInt, S, Name, InsertBefore) { in PtrToIntInst() 3932 ) : CastInst(Ty, PtrToInt, S, Name, InsertAtEnd) { in PtrToIntInst()
|
| H A D | Globals.cpp | 357 case Instruction::PtrToInt: in findBaseObject()
|
| H A D | ConstantFold.cpp | 330 case Instruction::PtrToInt: in ConstantFoldCastInstruction() 824 if (CE1->getOpcode() == Instruction::PtrToInt && in ConstantFoldBinaryInstruction()
|
| H A D | Instruction.cpp | 666 case PtrToInt: return "ptrtoint"; in getOpcodeName()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | StackProtector.cpp | 278 case Instruction::PtrToInt: in HasAddressTaken()
|
| H A D | MachineFunction.cpp | 1443 A = ConstantFoldCastOperand(Instruction::PtrToInt, in CanShareConstantPoolEntry() 1449 B = ConstantFoldCastOperand(Instruction::PtrToInt, in CanShareConstantPoolEntry()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfoImpl.h | 596 case Instruction::PtrToInt: { in getCastInstrCost() 1222 case Instruction::PtrToInt: in getInstructionCost()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstructionCombining.cpp | 370 auto *PtrToInt = dyn_cast<PtrToIntInst>(IntToPtr->getOperand(0)); in simplifyIntToPtrRoundTripCast() local 372 if (PtrToInt && in simplifyIntToPtrRoundTripCast() 374 PtrToInt->getSrcTy()->getPointerAddressSpace() && in simplifyIntToPtrRoundTripCast() 375 DL.getTypeSizeInBits(PtrToInt->getSrcTy()) == in simplifyIntToPtrRoundTripCast() 376 DL.getTypeSizeInBits(PtrToInt->getDestTy())) in simplifyIntToPtrRoundTripCast() 377 return PtrToInt->getOperand(0); in simplifyIntToPtrRoundTripCast()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXAsmPrinter.cpp | 1857 if (Cexpr->getOpcode() == Instruction::PtrToInt) { in bufferLEByte() 2038 case Instruction::PtrToInt: { in lowerConstantForGV()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/AsmParser/ |
| H A D | LLLexer.cpp | 869 INSTKEYWORD(ptrtoint, PtrToInt); in LexIdentifier()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.cpp | 210 case Instruction::PtrToInt: in getIntImmCostInst()
|