/external/chromium_org/third_party/WebKit/Source/wtf/dtoa/ |
utils.h | 279 // will completely optimize BitCast away. 281 // There is an additional use for BitCast. 284 // you can use BitCast to cast one pointer type to another. This confuses gcc 288 inline Dest BitCast(const Source& source) { 299 inline Dest BitCast(Source* source) { 300 return BitCast<Dest>(reinterpret_cast<uintptr_t>(source));
|
double.h | 38 static uint64_t double_to_uint64(double d) { return BitCast<uint64_t>(d); } 39 static double uint64_to_double(uint64_t d64) { return BitCast<double>(d64); }
|
/external/llvm/lib/Target/R600/ |
AMDGPUPromoteAlloca.cpp | 140 case Instruction::BitCast: 206 Value *BitCast = Builder.CreateBitCast(Alloca, VectorTy->getPointerTo(0)); 207 Value *VecValue = Builder.CreateLoad(BitCast); 216 Value *BitCast = Builder.CreateBitCast(Alloca, VectorTy->getPointerTo(0)); 217 Value *VecValue = Builder.CreateLoad(BitCast); 221 Builder.CreateStore(NewVecValue, BitCast); 225 case Instruction::BitCast:
|
SITypeRewriter.cpp | 87 Value *BitCast = Builder.CreateBitCast(Ptr, 89 LoadInst *Load = Builder.CreateLoad(BitCast);
|
/external/llvm/lib/Analysis/ |
CaptureTracking.cpp | 142 case Instruction::BitCast:
|
ConstantFolding.cpp | 50 /// FoldBitCast - Constant fold bitcast, symbolically evaluating it with 111 // If this is a bitcast from constant vector -> vector, fold it. 126 // bitcast (<2 x i64> <i64 0, i64 1> to <4 x i32>) 168 // Handle: bitcast (<4 x i32> <i32 0, i32 1, i32 2, i32 3> to <2 x i64>) 198 // Handle: bitcast (<2 x i64> <i64 0, i64 1> to <4 x i32>) 243 CE->getOpcode() == Instruction::BitCast) 404 // and then bitcast the result. This can be useful for union cases. Note 493 Instruction::CastOps Cast = Instruction::BitCast; 510 // We're simulating a load through a pointer that was bitcast to point to 545 if (CE->getOpcode() == Instruction::BitCast) [all...] |
CostModel.cpp | 454 case Instruction::BitCast:
|
TargetTransformInfo.cpp | 276 case Instruction::BitCast:
|
/external/llvm/lib/IR/ |
Instructions.cpp | 380 // bitcast (i8* malloc(typeSize)) to type* 382 // bitcast (i8 *malloc(typeSize*arraySize)) to type* 455 /// 3. Bitcast the result of the malloc call to the specified type. 470 /// 3. Bitcast the result of the malloc call to the specified type. 471 /// Note: This function does not add the bitcast to the basic block, that is the [all...] |
AutoUpgrade.cpp | 448 // So, the only thing required is a bitcast for both arguments. 526 if (Opc != Instruction::BitCast) 547 if (Opc != Instruction::BitCast)
|
Value.cpp | 405 } else if (Operator::getOpcode(V) == Instruction::BitCast || 457 } else if (Operator::getOpcode(V) == Instruction::BitCast) { 484 // It's not always safe to follow a bitcast, for example: 485 // bitcast i8* (alloca i8) to i32* 490 // we can look through the bitcast.
|
Instruction.cpp | 241 case BitCast: return "bitcast";
|
/external/llvm/unittests/IR/ |
InstructionsTest.cpp | 264 EXPECT_FALSE(CastInst::castIsValid(Instruction::BitCast, 267 EXPECT_FALSE(CastInst::castIsValid(Instruction::BitCast, 414 // Source and destination pointers have same size -> bitcast. 419 CastInst::BitCast); 422 // the intermediate int is the maximum pointer size -> bitcast 427 CastInst::BitCast); 437 // Middle pointer big enough -> bitcast. 442 CastInst::BitCast); 477 // Pass since the bitcast address spaces are the same 479 CastInst::BitCast, [all...] |
/external/llvm/lib/CodeGen/ |
BasicTargetTransformInfo.cpp | 371 // Bitcast between types that are legalized to the same type are free. 372 if (Opcode == Instruction::BitCast || Opcode == Instruction::Trunc) 393 if (Opcode == Instruction::BitCast) 438 // is where we handle bitcast between vectors and scalars. We need to assume 440 if (Opcode == Instruction::BitCast)
|
JumpInstrTables.cpp | 63 // cases where the indirect call is made through a bitcast. 68 // Check the value to see if it is merely a bitcast of a function. In 99 if (CE->getOpcode() == Instruction::BitCast) { 100 // This bitcast must have exactly one user.
|
MachineFunction.cpp | 872 // Try constant folding a bitcast of both instructions to an integer. If we 880 A = ConstantFoldInstOperands(Instruction::BitCast, IntTy, [all...] |
/external/llvm/lib/Target/XCore/ |
XCoreLowerThreadLocal.cpp | 118 case Instruction::BitCast:
|
/external/llvm/lib/Transforms/ObjCARC/ |
ObjCARCUtil.cpp | 169 // Any instruction other than bitcast and gep with a pointer operand have a 210 case Instruction::BitCast:
|
/external/llvm/include/llvm/Analysis/ |
TargetFolder.h | 190 return CreateCast(Instruction::BitCast, C, DestTy);
|
/external/llvm/include/llvm/IR/ |
ConstantFolder.h | 171 return CreateCast(Instruction::BitCast, C, DestTy);
|
NoFolder.h | 230 return CreateCast(Instruction::BitCast, C, DestTy);
|
/external/lldb/source/Expression/ |
IRInterpreter.cpp | 242 case Instruction::BitCast: 465 case Instruction::BitCast: 807 case Instruction::BitCast: [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineLoadStoreAlloca.cpp | 36 if (CE->getOpcode() == Instruction::BitCast || 73 // If uses of the bitcast are ok, we are ok. 487 /// store i32 xxx, (bitcast {foo*, float}* %P to i32*) 544 Instruction::CastOps opcode = Instruction::BitCast; [all...] |
/external/llvm/lib/Analysis/IPA/ |
GlobalsModRef.cpp | 269 } else if (Operator::getOpcode(I) == Instruction::BitCast) {
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
FunctionLoweringInfo.cpp | 448 assert(CE->getOpcode() == Instruction::BitCast &&
|