Home
last modified time | relevance | path

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

123

/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/windows/
H A Dbasetsd.d88 int PtrToInt(void* p) { return(cast(int) cast(INT_PTR) p); } in version()
113 int PtrToInt(const(void)* p) { return cast(int) p; } in PtrToInt() function
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DReplaceConstant.cpp60 case Instruction::PtrToInt: in createReplacementInstr()
H A DInstructions.cpp2708 case Instruction::PtrToInt: in isNoopCast()
2960 case PtrToInt: return new PtrToIntInst (S, Ty, Name, InsertBefore); in Create()
2982 case PtrToInt: return new PtrToIntInst (S, Ty, Name, InsertAtEnd); in Create()
3051 return Create(Instruction::PtrToInt, S, Ty, Name, InsertAtEnd); in CreatePointerCast()
3070 return Create(Instruction::PtrToInt, S, Ty, Name, InsertBefore); in CreatePointerCast()
3105 return Create(Instruction::PtrToInt, S, Ty, Name, InsertBefore); in CreateBitOrPointerCast()
3277 return PtrToInt; // ptr -> int in getCastOpcode()
3377 case Instruction::PtrToInt: in castIsValid()
3539 ) : CastInst(Ty, PtrToInt, S, Name, InsertBefore) { in PtrToIntInst()
3545 ) : CastInst(Ty, PtrToInt, S, Name, InsertAtEnd) { in PtrToIntInst()
H A DGlobals.cpp456 case Instruction::PtrToInt: in findBaseObject()
H A DConstants.cpp679 if (LHS && RHS && LHS->getOpcode() == Instruction::PtrToInt && in getRelocationInfo()
680 RHS->getOpcode() == Instruction::PtrToInt) { in getRelocationInfo()
1544 case Instruction::PtrToInt: in getWithOperands()
2004 case Instruction::PtrToInt: in getCast()
2204 return getFoldedCast(Instruction::PtrToInt, C, DstTy, OnlyIfReduced); in getPtrToInt()
3497 case Instruction::PtrToInt: in getAsInstruction()
H A DInstruction.cpp375 case PtrToInt: return "ptrtoint"; in getOpcodeName()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DOperator.h588 : public ConcreteOperator<Operator, Instruction::PtrToInt> {
589 friend class PtrToInt; variable
H A DConstantFolder.h220 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
H A DNoFolder.h254 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
H A DInstruction.def193 HANDLE_CAST_INST(47, PtrToInt, PtrToIntInst) // Pointer -> Integer
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DSpeculativeExecution.cpp231 case Instruction::PtrToInt: in ComputeSpeculationCost()
H A DGVNSink.cpp477 case Instruction::PtrToInt: in lookupOrAdd()
H A DInferAddressSpaces.cpp245 if (!P2I || P2I->getOpcode() != Instruction::PtrToInt) in isNoopPtrIntCastPair()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp154 Op == Instruction::PtrToInt || in InsertNoopCastOfTo()
186 if ((Op == Instruction::PtrToInt || Op == Instruction::IntToPtr) && in InsertNoopCastOfTo()
189 if ((CI->getOpcode() == Instruction::PtrToInt || in InsertNoopCastOfTo()
195 if ((CE->getOpcode() == Instruction::PtrToInt || in InsertNoopCastOfTo()
1696 return ReuseOrCreateCast(V, S->getType(), CastInst::PtrToInt, in visitPtrToIntExpr()
2275 Cost = CastCost(Instruction::PtrToInt); in costAndCollectOperands()
H A DEvaluator.cpp90 case Instruction::PtrToInt: in isSimpleEnoughValueToCommitHelper()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DTargetFolder.h205 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
H A DTargetTransformInfoImpl.h491 case Instruction::PtrToInt: { in getCastInstrCost()
1000 case Instruction::PtrToInt: in getUserCost()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DConstantFolding.cpp325 if (CE->getOpcode() == Instruction::PtrToInt || in IsConstantOffsetFromGlobal()
385 Cast = Instruction::PtrToInt; in ConstantFoldLoadThroughBitcast()
1256 if (CE0->getOpcode() == Instruction::PtrToInt) { in ConstantFoldCompareInstOperands()
1282 if (CE0->getOpcode() == Instruction::PtrToInt) { in ConstantFoldCompareInstOperands()
1339 case Instruction::PtrToInt: in ConstantFoldCastOperand()
1364 if (CE->getOpcode() == Instruction::PtrToInt) { in ConstantFoldCastOperand()
H A DCFLGraph.h524 case Instruction::PtrToInt: { in visitConstantExpr()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DStackProtector.cpp188 case Instruction::PtrToInt: in HasAddressTaken()
H A DMachineFunction.cpp1186 A = ConstantFoldCastOperand(Instruction::PtrToInt, in CanShareConstantPoolEntry()
1192 B = ConstantFoldCastOperand(Instruction::PtrToInt, in CanShareConstantPoolEntry()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp1814 if (Cexpr->getOpcode() == Instruction::PtrToInt) { in bufferLEByte()
1836 if (Cexpr->getOpcode() == Instruction::PtrToInt) { in bufferLEByte()
2053 case Instruction::PtrToInt: { in lowerConstantForGV()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/AsmParser/
H A DLLLexer.cpp886 INSTKEYWORD(ptrtoint, PtrToInt); in LexIdentifier()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp620 if (UseInst->getOpcode() == Instruction::PtrToInt) in collectUsesWithPtrTypes()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp173 case Instruction::PtrToInt: in getIntImmCostInst()

123