Home
last modified time | relevance | path

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

1234567

/external/llvm/unittests/IR/
DInstructionsTest.cpp421 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::PtrToInt, in TEST()
429 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::PtrToInt, in TEST()
437 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::PtrToInt, in TEST()
445 CastInst::PtrToInt, in TEST()
452 CastInst::PtrToInt, in TEST()
478 CastInst::PtrToInt, in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/SafeStack/X86/
Dcast.ll6 ; PtrToInt/IntToPtr Cast
/external/llvm/test/Transforms/SafeStack/
Dcast.ll6 ; PtrToInt/IntToPtr Cast
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DInstructionsTest.cpp433 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::PtrToInt, in TEST()
441 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::PtrToInt, in TEST()
449 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::PtrToInt, in TEST()
457 CastInst::PtrToInt, in TEST()
464 CastInst::PtrToInt, in TEST()
490 CastInst::PtrToInt, in TEST()
/external/llvm/include/llvm/IR/
DOperator.h455 : public ConcreteOperator<Operator, Instruction::PtrToInt> {
456 friend class PtrToInt; variable
DConstantFolder.h184 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DAddrModeMatcher.cpp130 case Instruction::PtrToInt: in MightBeFoldableInst()
159 case Instruction::PtrToInt: in MatchOperationAddr()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DOperator.h533 : public ConcreteOperator<Operator, Instruction::PtrToInt> {
534 friend class PtrToInt; variable
DConstantFolder.h213 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DConstantFolding.cpp196 if (CE->getOpcode() == Instruction::PtrToInt || in IsConstantOffsetFromGlobal()
839 case Instruction::PtrToInt: in ConstantFoldInstOperands()
864 CE->getOpcode() == Instruction::PtrToInt) in ConstantFoldInstOperands()
928 if (CE0->getOpcode() == Instruction::PtrToInt && in ConstantFoldCompareInstOperands()
952 if ((CE0->getOpcode() == Instruction::PtrToInt && in ConstantFoldCompareInstOperands()
/external/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.cpp171 case Instruction::PtrToInt: in getIntImmCost()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DSpeculativeExecution.cpp230 case Instruction::PtrToInt: in ComputeSpeculationCost()
/external/llvm/lib/Analysis/
DConstantFolding.cpp256 if (CE->getOpcode() == Instruction::PtrToInt || in IsConstantOffsetFromGlobal()
521 Cast = Instruction::PtrToInt; in ConstantFoldLoadThroughBitcast()
1116 if (CE0->getOpcode() == Instruction::PtrToInt) { in ConstantFoldCompareInstOperands()
1142 if (CE0->getOpcode() == Instruction::PtrToInt) { in ConstantFoldCompareInstOperands()
1187 case Instruction::PtrToInt: in ConstantFoldCastOperand()
1212 if (CE->getOpcode() == Instruction::PtrToInt) { in ConstantFoldCastOperand()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DConstantFolding.cpp299 if (CE->getOpcode() == Instruction::PtrToInt || in IsConstantOffsetFromGlobal()
337 Cast = Instruction::PtrToInt; in ConstantFoldLoadThroughBitcast()
1203 if (CE0->getOpcode() == Instruction::PtrToInt) { in ConstantFoldCompareInstOperands()
1229 if (CE0->getOpcode() == Instruction::PtrToInt) { in ConstantFoldCompareInstOperands()
1279 case Instruction::PtrToInt: in ConstantFoldCastOperand()
1304 if (CE->getOpcode() == Instruction::PtrToInt) { in ConstantFoldCastOperand()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/XCore/
DXCoreLowerThreadLocal.cpp117 case Instruction::PtrToInt: in createReplacementInstr()
/external/llvm/lib/Target/XCore/
DXCoreLowerThreadLocal.cpp117 case Instruction::PtrToInt: in createReplacementInstr()
/external/llvm/lib/IR/
DInstructions.cpp2387 case Instruction::PtrToInt: in isNoopCast()
2403 if (getOpcode() == Instruction::PtrToInt) in isNoopCast()
2660 case PtrToInt: return new PtrToIntInst (S, Ty, Name, InsertBefore); in Create()
2682 case PtrToInt: return new PtrToIntInst (S, Ty, Name, InsertAtEnd); in Create()
2750 return Create(Instruction::PtrToInt, S, Ty, Name, InsertAtEnd); in CreatePointerCast()
2768 return Create(Instruction::PtrToInt, S, Ty, Name, InsertBefore); in CreatePointerCast()
2803 return Create(Instruction::PtrToInt, S, Ty, Name, InsertBefore); in CreateBitOrPointerCast()
3030 return PtrToInt; // ptr -> int in getCastOpcode()
3131 case Instruction::PtrToInt: in castIsValid()
3308 ) : CastInst(Ty, PtrToInt, S, Name, InsertBefore) { in PtrToIntInst()
[all …]
/external/swiftshader/third_party/LLVM/lib/VMCore/
DInstructions.cpp2059 case Instruction::PtrToInt: in isNoopCast()
2262 case PtrToInt: return new PtrToIntInst (S, Ty, Name, InsertBefore); in Create()
2285 case PtrToInt: return new PtrToIntInst (S, Ty, Name, InsertAtEnd); in Create()
2350 return Create(Instruction::PtrToInt, S, Ty, Name, InsertAtEnd); in CreatePointerCast()
2363 return Create(Instruction::PtrToInt, S, Ty, Name, InsertBefore); in CreatePointerCast()
2540 return PtrToInt; // ptr -> int in getCastOpcode()
2647 case Instruction::PtrToInt: in castIsValid()
2773 ) : CastInst(Ty, PtrToInt, S, Name, InsertBefore) { in PtrToIntInst()
2779 ) : CastInst(Ty, PtrToInt, S, Name, InsertAtEnd) { in PtrToIntInst()
DConstants.cpp256 LHS->getOpcode() == Instruction::PtrToInt && in getRelocationInfo()
257 RHS->getOpcode() == Instruction::PtrToInt && in getRelocationInfo()
813 case Instruction::PtrToInt: in getWithOperandReplaced()
881 case Instruction::PtrToInt: in getWithOperands()
1249 case Instruction::PtrToInt: return getPtrToInt(C, Ty); in getCast()
1421 return getFoldedCast(Instruction::PtrToInt, C, DstTy); in getPtrToInt()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DConstantFolder.h177 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
DNoFolder.h224 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DInstructions.cpp2223 case Instruction::PtrToInt: in isNoopCast()
2475 case PtrToInt: return new PtrToIntInst (S, Ty, Name, InsertBefore); in Create()
2497 case PtrToInt: return new PtrToIntInst (S, Ty, Name, InsertAtEnd); in Create()
2565 return Create(Instruction::PtrToInt, S, Ty, Name, InsertAtEnd); in CreatePointerCast()
2583 return Create(Instruction::PtrToInt, S, Ty, Name, InsertBefore); in CreatePointerCast()
2618 return Create(Instruction::PtrToInt, S, Ty, Name, InsertBefore); in CreateBitOrPointerCast()
2848 return PtrToInt; // ptr -> int in getCastOpcode()
2948 case Instruction::PtrToInt: in castIsValid()
3123 ) : CastInst(Ty, PtrToInt, S, Name, InsertBefore) { in PtrToIntInst()
3129 ) : CastInst(Ty, PtrToInt, S, Name, InsertAtEnd) { in PtrToIntInst()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dir_emitter.cc336 atomic_memory_address = PtrToInt(output_address, address_int_type); in EmitAtomicOperationUsingCAS()
344 Add(PtrToInt(cas_new_output_address, address_int_type), offset); in EmitAtomicOperationUsingCAS()
/external/swiftshader/third_party/LLVM/include/llvm/
DInstruction.def155 HANDLE_CAST_INST(43, PtrToInt, PtrToIntInst) // Pointer -> Integer
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DTargetFolder.h196 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()

1234567